hack

P2385 [USACO07FEB] Bronze Lilypad Pond B

evening_maple @ 2024-08-14 00:44:17

测试点太水了

题解的 暴力出奇迹NB 被hack了,还有其他的hack...

这里给个样例可以hack题解里的代码

30 30 3 7
1 0 1 1 1 0 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 1
1 1 1 1 1 2 2 2 2 0 1 1 1 1 1 1 1 1 1 2 1 1 1 1 0 1 1 1 1 1
2 1 1 1 1 1 1 1 1 1 1 1 1 0 2 1 1 1 1 1 1 2 0 1 1 1 1 1 1 1
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 1 2 1 1 1 1 1 0 1
1 1 1 1 1 1 2 1 2 0 1 1 1 1 1 0 1 1 2 1 1 1 1 1 1 1 1 1 1 1
2 3 1 1 1 1 1 1 1 1 2 1 1 1 0 1 1 0 1 1 1 1 0 1 1 1 1 1 1 1
1 1 1 1 1 0 2 1 1 1 1 1 1 1 1 1 1 1 1 1 2 1 1 1 1 1 1 1 1 1
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 1 1 1 1 1 1 0 0 1 1
1 1 1 1 1 1 1 2 1 1 1 1 0 1 1 2 1 1 1 1 1 0 0 1 1 1 1 2 1 1
1 1 1 0 1 1 1 0 1 1 1 1 2 1 1 0 1 1 2 1 0 1 1 1 1 1 1 1 1 1
1 2 0 1 1 1 1 1 1 1 1 1 0 1 1 1 1 1 0 1 1 1 1 0 1 1 1 1 1 1
1 1 1 1 0 1 1 1 1 1 1 1 1 0 1 1 1 1 2 1 0 1 1 2 1 1 2 1 2 1
1 1 0 1 2 1 1 1 1 1 0 1 2 1 1 1 2 1 1 1 1 2 0 1 1 2 1 1 1 0
1 0 1 1 1 1 1 1 1 1 1 0 1 1 0 1 1 1 1 0 1 1 0 1 1 1 0 1 1 1
1 1 1 1 1 1 1 1 0 1 1 1 2 1 0 2 1 1 1 1 1 0 1 1 1 1 1 1 1 1
2 1 1 1 1 1 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