/ Vijos /

记录详情

Runtime Error

foo.cc: In function 'int main()':
foo.cc:181:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
  181 |     scanf("%lld",&n);
      |     ~~~~~^~~~~~~~~~~
foo.cc:185:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
  185 |         scanf("%lld %lld %lld",&x,&y,&c);
      |         ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
foo.cc:189:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
  189 |     scanf("%lld",&m);
      |     ~~~~~^~~~~~~~~~~
foo.cc:192:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
  192 |         scanf("%lld",&jd[i]);
      |         ~~~~~^~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 3ms 1.125 MiB
#2 Accepted 4ms 1.125 MiB
#3 Accepted 4ms 1.125 MiB
#4 Accepted 6ms 1.367 MiB
#5 Accepted 8ms 1.5 MiB
#6 Runtime Error Segmentation fault 23ms 4.699 MiB
#7 Runtime Error Segmentation fault 16ms 3.25 MiB
#8 Runtime Error Segmentation fault 40ms 12.742 MiB
#9 Runtime Error Segmentation fault 92ms 23.242 MiB
#10 Accepted 3ms 1.125 MiB

信息

递交者
类型
递交
题目
P1783 疫情控制
语言
C++
递交时间
2022-01-22 21:40:40
评测时间
2022-01-22 21:40:40
评测机
分数
60
总耗时
204ms
峰值内存
23.242 MiB