/ Vijos /

记录详情

Runtime Error

foo.cc: In function 'int main()':
foo.cc:41:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
  scanf("%d%d", &n, &m);
  ~~~~~^~~~~~~~~~~~~~~~
foo.cc:44:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   scanf("%d%d%d", &u, &v, &w);
   ~~~~~^~~~~~~~~~~~~~~~~~~~~~
foo.cc:47:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
  scanf("%d", &m);
  ~~~~~^~~~~~~~~~
foo.cc:49:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   scanf("%d%d", &u, &v);
   ~~~~~^~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 2ms 416.0 KiB
#2 Accepted 2ms 412.0 KiB
#3 Runtime Error Segmentation fault 2ms 520.0 KiB
#4 Runtime Error Segmentation fault 2ms 524.0 KiB
#5 Runtime Error Segmentation fault 2ms 536.0 KiB
#6 Runtime Error Segmentation fault 2ms 460.0 KiB
#7 Runtime Error Segmentation fault 1ms 460.0 KiB
#8 Runtime Error Segmentation fault 2ms 548.0 KiB
#9 Runtime Error Segmentation fault 2ms 548.0 KiB
#10 Runtime Error Segmentation fault 2ms 544.0 KiB
#11 Runtime Error Segmentation fault 2ms 512.0 KiB
#12 Runtime Error Segmentation fault 2ms 544.0 KiB
#13 Runtime Error Segmentation fault 1ms 428.0 KiB
#14 Runtime Error Segmentation fault 1ms 384.0 KiB
#15 Runtime Error Segmentation fault 2ms 436.0 KiB
#16 Runtime Error Segmentation fault 2ms 384.0 KiB
#17 Runtime Error Segmentation fault 1ms 384.0 KiB
#18 Runtime Error Segmentation fault 1ms 420.0 KiB
#19 Runtime Error Segmentation fault 2ms 432.0 KiB
#20 Runtime Error Segmentation fault 1ms 420.0 KiB

信息

递交者
类型
递交
题目
P1843 货车运输
语言
C++
递交时间
2021-10-08 16:55:29
评测时间
2021-10-08 16:55:29
评测机
分数
10
总耗时
41ms
峰值内存
548.0 KiB