记录详情

Time Exceeded

foo.cc: In function 'int main()':
foo.cc:27:21: warning: format '%s' expects argument of type 'char*', but argument 2 has type 'char (*)[120]' [-Wformat=]
   27 |             scanf("%s",&matrix[i]);
      |                    ~^  ~~~~~~~~~~
      |                     |  |
      |                     |  char (*)[120]
      |                     char*
foo.cc:25:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   25 |         scanf("%d%d",&n, &d);
      |         ~~~~~^~~~~~~~~~~~~~~
foo.cc:27:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   27 |             scanf("%s",&matrix[i]);
      |             ~~~~~^~~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Time Exceeded ≥1101ms ≥8.75 MiB
#2 Accepted 9ms 6.875 MiB
#3 Accepted 10ms 6.875 MiB
#4 Wrong Answer Read impossible, expect Impossible. 8ms 7.0 MiB
#5 Accepted 20ms 7.0 MiB
#6 Accepted 47ms 7.125 MiB
#7 Accepted 145ms 7.5 MiB
#8 Accepted 166ms 7.375 MiB
#9 Accepted 44ms 6.875 MiB
#10 Time Exceeded ≥1020ms ≥8.992 MiB

信息

递交者
类型
递交
题目
P1005 飞越原野。(escape.1s,64MB)
题目数据
下载
语言
C++
递交时间
2022-02-27 11:24:46
评测时间
2022-02-27 11:24:46
评测机
分数
70
总耗时
≥2576ms
峰值内存
≥8.992 MiB