/ Vijos /

记录详情

Wrong Answer

foo.cc: In function 'void solve()':
foo.cc:21:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   21 |     scanf("%d%d%d", &n, &m, &k);
      |     ~~~~~^~~~~~~~~~~~~~~~~~~~~~
foo.cc:23:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   23 |         scanf("%d%d", p + i, w + i);
      |         ~~~~~^~~~~~~~~~~~~~~~~~~~~~
foo.cc:27:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   27 |         scanf("%d%d", &x, &y);
      |         ~~~~~^~~~~~~~~~~~~~~~
foo.cc: In function 'int main()':
foo.cc:61:21: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   61 |     if (multi) scanf("%d", &_);
      |                ~~~~~^~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 2ms 384.0 KiB
#2 Wrong Answer Read 120382, expect 125751. 3ms 512.0 KiB
#3 Wrong Answer Read 45624, expect 51208. 4ms 384.0 KiB
#4 Wrong Answer Read 72181, expect 82061. 5ms 512.0 KiB
#5 Wrong Answer Read 122949, expect 137787. 6ms 512.0 KiB
#6 Wrong Answer Read 87961, expect 99302. 6ms 384.0 KiB
#7 Wrong Answer Read 89775, expect 99301. 8ms 512.0 KiB
#8 Wrong Answer Read 70504, expect 77902. 5ms 512.0 KiB
#9 Accepted 8ms 384.0 KiB
#10 Wrong Answer Read 166188, expect 181866. 6ms 512.0 KiB

信息

递交者
类型
递交
题目
P1250 最勇敢的机器人
语言
C++
递交时间
2021-12-10 15:12:11
评测时间
2021-12-10 15:12:11
评测机
分数
20
总耗时
59ms
峰值内存
512.0 KiB