/ 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 1ms 384.0 KiB
#2 Accepted 2ms 872.0 KiB
#3 Accepted 4ms 1.234 MiB
#4 Accepted 9ms 2.449 MiB
#5 Accepted 19ms 4.598 MiB
#6 Runtime Error Segmentation fault 16ms 4.711 MiB
#7 Runtime Error Segmentation fault 19ms 4.734 MiB
#8 Runtime Error Segmentation fault 20ms 4.781 MiB
#9 Runtime Error Segmentation fault 27ms 4.758 MiB
#10 Runtime Error Segmentation fault 27ms 4.691 MiB

信息

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