记录详情

Time Exceeded

foo.cc: In function 'int main()':
foo.cc:67:9: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
   67 |  freopen("walk.in", "r", stdin);
      |  ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
foo.cc:68:9: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
   68 |  freopen("walk.out", "w", stdout);
      |  ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
foo.cc:69:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   69 |  scanf("%d%d", &n, &q);
      |  ~~~~~^~~~~~~~~~~~~~~~
foo.cc:70:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   70 |  scanf("%llu%d", &seed, &B);
      |  ~~~~~^~~~~~~~~~~~~~~~~~~~~
foo.cc:86:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   86 |   scanf("%d%d%d%d", &x1, &y1, &x2, &y2);
      |   ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Found 10 testcases.
# 状态 耗时 内存占用
#1 Accepted 2ms 376.0 KiB
#2 Accepted 2ms 376.0 KiB
#3 Accepted 11ms 7.93 MiB
#4 Accepted 11ms 7.961 MiB
#5 Accepted 73ms 9.102 MiB
#6 Accepted 70ms 9.098 MiB
#7 Accepted 72ms 9.176 MiB
#8 Time Exceeded ≥2114ms ≥765.617 MiB
#9 Time Exceeded ≥2087ms ≥765.602 MiB
#10 Time Exceeded ≥2058ms ≥766.441 MiB
您没有权限查看该代码,完成本题后再来查看

信息

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