/ Vijos /

记录详情

Runtime Error

foo.cc: In function 'int main()':
foo.cc:43:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   43 |  scanf("%d%d", &n, &m);
      |  ~~~~~^~~~~~~~~~~~~~~~
foo.cc:47:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   47 |   scanf("%d%d%d%d", &x, &y, &c, &d), add(x, y, c, d);
      |   ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
foo.cc:49:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   49 |  scanf("%d%d%d", &a, &b, &k);
      |  ~~~~~^~~~~~~~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 2ms 384.0 KiB
#2 Wrong Answer Read 93, expect 42. 3ms 384.0 KiB
#3 Wrong Answer Read -1, expect 85. 3ms 384.0 KiB
#4 Wrong Answer Read -1, expect 939. 2ms 512.0 KiB
#5 Runtime Error Segmentation fault 3ms 512.0 KiB
#6 Runtime Error Segmentation fault 4ms 512.0 KiB
#7 Runtime Error Segmentation fault 8ms 640.0 KiB
#8 Runtime Error Segmentation fault 4ms 512.0 KiB
#9 Runtime Error Segmentation fault 6ms 512.0 KiB
#10 Runtime Error Segmentation fault 6ms 512.0 KiB

信息

递交者
类型
递交
题目
P1082 丛林探险
语言
C++
递交时间
2022-02-15 12:39:57
评测时间
2022-02-15 12:39:57
评测机
分数
10
总耗时
45ms
峰值内存
640.0 KiB