记录详情

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:67:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   67 |  scanf("%d%d", &n, &q);
      |  ~~~~~^~~~~~~~~~~~~~~~
foo.cc:68:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   68 |  scanf("%llu%d", &seed, &B);
      |  ~~~~~^~~~~~~~~~~~~~~~~~~~~
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 416.0 KiB
#2 Accepted 2ms 488.0 KiB
#3 Accepted 11ms 7.922 MiB
#4 Accepted 11ms 7.902 MiB
#5 Accepted 66ms 9.16 MiB
#6 Accepted 67ms 9.184 MiB
#7 Accepted 70ms 9.168 MiB
#8 Time Exceeded ≥2110ms ≥765.434 MiB
#9 Time Exceeded ≥2130ms ≥765.516 MiB
#10 Time Exceeded ≥2093ms ≥765.594 MiB
您没有权限查看该代码,完成本题后再来查看

信息

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