/ Vijos /

记录详情

Wrong Answer

foo.cc: In function 'void init()':
foo.cc:14:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   14 |     scanf("%d", &n);
      |     ~~~~~^~~~~~~~~~
foo.cc:17:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   17 |         scanf("%d", &x);
      |         ~~~~~^~~~~~~~~~
foo.cc:18:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   18 |         scanf("%d%d", &w[x], &num[x]);
      |         ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
foo.cc:21:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   21 |             scanf("%d", &y);
      |             ~~~~~^~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read 1, expect 4. 1ms 256.0 KiB
#2 Wrong Answer Read 16, expect 1019. 1ms 256.0 KiB
#3 Accepted 1ms 256.0 KiB
#4 Wrong Answer Read 1, expect 1499. 11ms 6.25 MiB
#5 Wrong Answer Read 2, expect 860. 5ms 3.25 MiB
#6 Wrong Answer Read 6885, expect 748584. 2ms 1.25 MiB
#7 Wrong Answer Read 2, expect 9. 0ms 256.0 KiB

信息

递交者
类型
递交
题目
P1144 小胖守皇宫
语言
C++
递交时间
2021-12-22 16:09:59
评测时间
2021-12-22 16:09:59
评测机
分数
14
总耗时
25ms
峰值内存
6.25 MiB