/ 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 2ms 1.0 MiB
#2 Accepted 2ms 1.125 MiB
#3 Accepted 2ms 1.125 MiB
#4 Accepted 3ms 1.375 MiB
#5 Accepted 3ms 1.375 MiB
#6 Runtime Error Segmentation fault 22ms 4.5 MiB
#7 Runtime Error Segmentation fault 10ms 3.125 MiB
#8 Runtime Error Segmentation fault 71ms 12.242 MiB
#9 Runtime Error Segmentation fault 104ms 22.117 MiB
#10 Accepted 2ms 1.0 MiB

信息

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