版本比较
题解 P4926 【[1007]倍杀测量者】
正文
增加 3 行删除 3 行
26 行未改动2728293031313233343556 行未改动9293949596969798989910010110238 行未改动26 行未改动// Contest: Luogu// URL: https://www.luogu.com.cn/problem/P4926// Memory Limit: 125 MB// Time Limit: 1000 ms// //// Powered by CP Editor (https://cpeditor.org)
#include <iostream>#include <cstdio>56 行未改动 while (ch < '0' || ch > '9') ch = getchar(); while (ch >= '0' && ch <= '9') ret = ret * 10 + ch - '0', ch = getchar();}
inline void addedge(int x, int y, double z) { inline void addedge(int x, int y, double z) { ver[++tot] = y, edge[tot] = z; nxt[tot] = head[x], head[x] = tot; nxt[tot] = head[x], head[x] = tot;}
inline char check(double mid) { memset(head, 0, sizeof(head)), tot = 0;38 行未改动