/ Vijos /

记录详情

Runtime Error

foo.cc: In function 'int main()':
foo.cc:5:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
  scanf("%d", &n);
  ~~~~~^~~~~~~~~~
foo.cc:7:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   scanf("%d", &s[i]);
   ~~~~~^~~~~~~~~~~~~
foo.cc:19:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
  scanf("%d", &q);
  ~~~~~^~~~~~~~~~
foo.cc:21:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   scanf("%d%d", &x, &y);
   ~~~~~^~~~~~~~~~~~~~~~
正在同步测试数据,请稍后
自豪的采用HydroJudge(https://github.com/hydro-dev/Hydro)进行评测。
# 状态 耗时 内存占用
#1 Accepted 2ms 384.0 KiB
#2 Accepted 3ms 832.0 KiB
#3 Accepted 3ms 1.25 MiB
#4 Runtime Error Segmentation fault 5ms 1.195 MiB
#5 Runtime Error Segmentation fault 10ms 1.145 MiB
#6 Runtime Error Segmentation fault 15ms 1.258 MiB
#7 Runtime Error Segmentation fault 20ms 1.211 MiB
#8 Runtime Error Segmentation fault 23ms 1.293 MiB
#9 Runtime Error Segmentation fault 29ms 1.223 MiB
#10 Runtime Error Segmentation fault 30ms 1.27 MiB

信息

递交者
类型
递交
题目
P1514 天才的记忆
语言
C++
递交时间
2021-03-13 22:12:23
评测时间
2021-03-13 22:12:23
评测机
分数
30
总耗时
145ms
峰值内存
1.293 MiB