/ Vijos /

记录详情

Runtime Error

foo.cc: In function 'int main()':
foo.cc:138:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
     scanf("%d%d", &n, &m);
     ~~~~~^~~~~~~~~~~~~~~~
foo.cc:140:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
         scanf("%d", &a[i]);
         ~~~~~^~~~~~~~~~~~~
foo.cc:144:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
             scanf("%d", &g[i][i + j]);
             ~~~~~^~~~~~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Runtime Error Segmentation fault 2ms 512.0 KiB
#2 Runtime Error Segmentation fault 2ms 512.0 KiB
#3 Accepted 2ms 512.0 KiB
#4 Runtime Error Segmentation fault 2ms 512.0 KiB
#5 Accepted 2ms 544.0 KiB
#6 Runtime Error Segmentation fault 2ms 512.0 KiB
#7 Runtime Error Segmentation fault 2ms 512.0 KiB
#8 Runtime Error Segmentation fault 2ms 504.0 KiB
#9 Runtime Error Segmentation fault 2ms 512.0 KiB
#10 Runtime Error Segmentation fault 2ms 512.0 KiB

信息

递交者
类型
递交
题目
P1213 80人环游世界
语言
C++
递交时间
2021-11-17 20:02:33
评测时间
2021-11-17 20:02:33
评测机
分数
20
总耗时
24ms
峰值内存
544.0 KiB