版本比较
题解 P4284 【[SHOI2014]概率充电器】
正文
增加 2 行删除 2 行
128 行未改动全部展开12913013113213313313413513613720 行未改动158159160161162162163164128 行未改动全部展开 ans+=h[x]; for(re int i=head[x];i;i=e[i].nxt) if(deep[e[i].v]>deep[x]) { if(check(h[e[i].v]*double(e[i].w)/100,1)) if(check(h[e[i].v]*double(e[i].w)/100,1)) { redfs(e[i].v); continue; }20 行未改动 dfs(1); redfs(1); printf("%.6lf",ans); return 0;} }
```