记录详情

Runtime Error

foo.cc: In function 'int main()':
foo.cc:45:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
     scanf("%d%d%d", &n, &a, &b);
     ~~~~~^~~~~~~~~~~~~~~~~~~~~~
foo.cc:46:39: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
     for (int i = 1; i <= n; i++) scanf("%d", &k[i]);
                                  ~~~~~^~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 2ms 404.0 KiB
#2 Runtime Error Aborted 135ms 62.809 MiB
#3 Accepted 1ms 380.0 KiB
#4 Time Exceeded ≥1135ms ≥380.0 KiB
#5 Accepted 25ms 10.777 MiB
#6 Runtime Error Aborted 137ms 62.777 MiB
#7 Runtime Error Aborted 136ms 62.809 MiB
#8 Accepted 1ms 432.0 KiB
#9 Accepted 2ms 416.0 KiB
#10 Runtime Error Aborted 137ms 62.934 MiB

信息

递交者
类型
递交
题目
P1008 奇怪的电梯(lift,Is,64MB)
题目数据
下载
语言
C++
递交时间
2021-09-04 11:47:04
评测时间
2021-09-04 11:47:04
评测机
分数
50
总耗时
1715ms
峰值内存
62.934 MiB