neilliu @ 2024-12-06 17:20:10
请观察以下代码片段(读入部分):
for(int i = 1; i <= m; i++){
int c,d; scanf("%d%d",&c,&d);
if(mp.count(c) && mp[c] != d){
answer0 = 1;
break;
}
mp[c] = d;
}
很显然,在多测情况下,会存在读不完的问题,可是:
神奇的结果
请问这是怎么回事。
by _Andy_Lin_ @ 2024-12-06 17:39:42
55->100,赢麻了
by Night_sea_64 @ 2024-12-06 17:40:16
真气人,怎么都占了这个便宜
by zenght @ 2024-12-06 17:46:18
我谢谢 CCF!55 -> 100!(不过我还没查分,希望别高兴早了)
by Citnaris @ 2024-12-06 17:54:58
感谢西西弗
by XiaoLe_MC @ 2024-12-06 19:21:13
ccf,我爱你
by _LiWenX_ @ 2024-12-06 20:19:14
55->100,赢麻了
by g1ove @ 2024-12-06 21:42:05
CCF 我爱你!
by SCAR_L @ 2024-12-06 22:42:08
@neilliu 其实这个可以理解(吧),这种冲突很容易判断,所以CCF防止数据过水会尽量不放这种。但又防止有些选手没考虑这种情况就在最后手动加了一组(可以理解为/hack)
by tornado01 @ 2024-12-06 22:45:11
爽~!
by tyukp233 @ 2024-12-07 10:15:40
CCF,我爱你!