记录详情

Time Exceeded

foo.cc: In function 'int main()':
foo.cc:65:9: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
   65 |  freopen("walk.in", "r", stdin);
      |  ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
foo.cc:66:9: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
   66 |  freopen("walk.out", "w", stdout);
      |  ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
foo.cc:84:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   84 |   scanf("%d%d%d%d", &x1, &y1, &x2, &y2);
      |   ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Found 10 testcases.
# 状态 耗时 内存占用
#1 Accepted 2ms 388.0 KiB
#2 Accepted 2ms 504.0 KiB
#3 Accepted 11ms 7.914 MiB
#4 Accepted 11ms 7.898 MiB
#5 Accepted 74ms 9.105 MiB
#6 Accepted 73ms 9.125 MiB
#7 Accepted 59ms 9.121 MiB
#8 Time Exceeded ≥2110ms ≥765.508 MiB
#9 Time Exceeded ≥2132ms ≥765.586 MiB
#10 Time Exceeded ≥2069ms ≥766.336 MiB
您没有权限查看该代码,完成本题后再来查看

信息

递交者
类型
递交模式
题目
P6241 [2023 AHOI初中组] 行走(walk)
语言
C++14
递交时间
2023-04-16 20:45:47
评测时间
2023-04-16 20:45:47
评测机
分数
70
总耗时
≥6548ms
峰值内存
≥766.336 MiB