建议给java放宽一下时间限制,java确实比较慢

java 的结果

编译成功

测试数据 #0: Accepted, time = 234 ms, mem = 43460 KiB, score = 10

测试数据 #1: Accepted, time = 234 ms, mem = 43456 KiB, score = 10

测试数据 #2: Accepted, time = 265 ms, mem = 43568 KiB, score = 10

测试数据 #3: Accepted, time = 265 ms, mem = 43552 KiB, score = 10

测试数据 #4: Accepted, time = 328 ms, mem = 43532 KiB, score = 10

测试数据 #5: Accepted, time = 328 ms, mem = 43548 KiB, score = 10

测试数据 #6: Accepted, time = 609 ms, mem = 43568 KiB, score = 10

测试数据 #7: Accepted, time = 906 ms, mem = 43548 KiB, score = 10

测试数据 #8: TimeLimitExceeded, time = 1015 ms, mem = 43616 KiB, score = 0

测试数据 #9: Accepted, time = 812 ms, mem = 43564 KiB, score = 10

C的结果,只在java的基础上修改了输入输出
测试数据 #0: Accepted, time = 0 ms, mem = 924 KiB, score = 10

测试数据 #1: Accepted, time = 15 ms, mem = 928 KiB, score = 10

测试数据 #2: Accepted, time = 0 ms, mem = 924 KiB, score = 10

测试数据 #3: Accepted, time = 0 ms, mem = 928 KiB, score = 10

测试数据 #4: Accepted, time = 0 ms, mem = 924 KiB, score = 10

测试数据 #5: Accepted, time = 0 ms, mem = 928 KiB, score = 10

测试数据 #6: Accepted, time = 31 ms, mem = 924 KiB, score = 10

测试数据 #7: Accepted, time = 46 ms, mem = 928 KiB, score = 10

测试数据 #8: Accepted, time = 62 ms, mem = 924 KiB, score = 10

测试数据 #9: Accepted, time = 46 ms, mem = 920 KiB, score = 10

1 条评论

  • @ 2013-11-07 12:21:36

    感谢反馈意见!
    我们将在下个大版本中考虑增加该功能

  • 1

信息

ID
1531
难度
6
分类
数据结构 | 并查集 点击显示
标签
递交数
3457
已通过
1038
通过率
30%
被复制
6
上传者