/ 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 5ms 384.0 KiB
#2 Wrong Answer Read 120382, expect 125751. 5ms 512.0 KiB
#3 Wrong Answer Read 45624, expect 51208. 2ms 384.0 KiB
#4 Wrong Answer Read 72181, expect 82061. 2ms 512.0 KiB
#5 Wrong Answer Read 122949, expect 137787. 7ms 512.0 KiB
#6 Wrong Answer Read 87961, expect 99302. 3ms 384.0 KiB
#7 Wrong Answer Read 89775, expect 99301. 8ms 512.0 KiB
#8 Wrong Answer Read 70504, expect 77902. 7ms 512.0 KiB
#9 Accepted 9ms 384.0 KiB
#10 Wrong Answer Read 166188, expect 181866. 5ms 512.0 KiB

信息

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