4,11,18组的数据行末有空格官方数据没有

测试数据 #0: Accepted, time = 0 ms, mem = 9308 KiB, score = 5
测试数据 #1: Accepted, time = 0 ms, mem = 9308 KiB, score = 5
测试数据 #2: Accepted, time = 0 ms, mem = 9308 KiB, score = 5
测试数据 #3: Accepted, time = 15 ms, mem = 9308 KiB, score = 5
测试数据 #4: WrongAnswer, time = 0 ms, mem = 9308 KiB, score = 0
测试数据 #5: Accepted, time = 0 ms, mem = 9312 KiB, score = 5
测试数据 #6: Accepted, time = 78 ms, mem = 9308 KiB, score = 5
测试数据 #7: Accepted, time = 78 ms, mem = 9312 KiB, score = 5
测试数据 #8: Accepted, time = 124 ms, mem = 9312 KiB, score = 5
测试数据 #9: Accepted, time = 140 ms, mem = 9308 KiB, score = 5
测试数据 #10: Accepted, time = 124 ms, mem = 9308 KiB, score = 5
测试数据 #11: WrongAnswer, time = 31 ms, mem = 9312 KiB, score = 0
测试数据 #12: Accepted, time = 202 ms, mem = 9312 KiB, score = 5
测试数据 #13: Accepted, time = 140 ms, mem = 9312 KiB, score = 5
测试数据 #14: Accepted, time = 670 ms, mem = 9312 KiB, score = 5
测试数据 #15: Accepted, time = 1076 ms, mem = 9308 KiB, score = 5
测试数据 #16: Accepted, time = 1544 ms, mem = 9308 KiB, score = 5
测试数据 #17: Accepted, time = 1903 ms, mem = 9312 KiB, score = 5
测试数据 #18: WrongAnswer, time = 795 ms, mem = 9312 KiB, score = 0
测试数据 #19: Accepted, time = 1716 ms, mem = 9308 KiB, score = 5
用官方数据自己测可以过,用这边的4组会WA,如果加判断就超时。。。
可怜的P党写个读入优化都得纠结半天,CPP读入优化后可以过。。

2 条评论

  • @ 2015-02-24 15:44:49

    测试数据 #0: Accepted, time = 0 ms, mem = 9312 KiB, score = 5
    测试数据 #1: Accepted, time = 0 ms, mem = 9312 KiB, score = 5
    测试数据 #2: Accepted, time = 15 ms, mem = 9308 KiB, score = 5
    测试数据 #3: Accepted, time = 0 ms, mem = 9312 KiB, score = 5
    测试数据 #4: Accepted, time = 0 ms, mem = 9308 KiB, score = 5
    测试数据 #5: Accepted, time = 15 ms, mem = 9312 KiB, score = 5
    测试数据 #6: Accepted, time = 62 ms, mem = 9308 KiB, score = 5
    测试数据 #7: Accepted, time = 78 ms, mem = 9308 KiB, score = 5
    测试数据 #8: Accepted, time = 93 ms, mem = 9312 KiB, score = 5
    测试数据 #9: Accepted, time = 140 ms, mem = 9308 KiB, score = 5
    测试数据 #10: Accepted, time = 140 ms, mem = 9308 KiB, score = 5
    测试数据 #11: Accepted, time = 187 ms, mem = 9312 KiB, score = 5
    测试数据 #12: Accepted, time = 218 ms, mem = 9308 KiB, score = 5
    测试数据 #13: Accepted, time = 187 ms, mem = 9308 KiB, score = 5
    测试数据 #14: Accepted, time = 873 ms, mem = 9308 KiB, score = 5
    测试数据 #15: Accepted, time = 1185 ms, mem = 9312 KiB, score = 5
    测试数据 #16: Accepted, time = 1185 ms, mem = 9308 KiB, score = 5
    测试数据 #17: Accepted, time = 1544 ms, mem = 9308 KiB, score = 5
    测试数据 #18: TimeLimitExceeded, time = 2012 ms, mem = 9308 KiB, score = 0
    测试数据 #19: TimeLimitExceeded, time = 2012 ms, mem = 9308 KiB, score = 0
    好揪心

  • @ 2015-02-24 15:44:05

    读入的时候如果while not seekeoln do就可以对不过会超时,如果while not eoln do不会超时但是不能对,用官方下载的数据直接在cena测或者在批处理下不加seek都可以过

  • 1

信息

ID
1782
难度
8
分类
模拟 | 其他 | 二分查找数据结构 | 线段树 点击显示
标签
递交数
8241
已通过
1234
通过率
15%
被复制
12
上传者