/ WHOJ /

记录详情

Wrong Answer

foo.cc: In function 'int main()':
foo.cc:25:7: warning: unused variable 'x' [-Wunused-variable]
   25 |   int x,y,h; scanf("%d%d%d",&a[i].x,&a[i].y,&a[i].v);
      |       ^
foo.cc:25:9: warning: unused variable 'y' [-Wunused-variable]
   25 |   int x,y,h; scanf("%d%d%d",&a[i].x,&a[i].y,&a[i].v);
      |         ^
foo.cc:25:11: warning: unused variable 'h' [-Wunused-variable]
   25 |   int x,y,h; scanf("%d%d%d",&a[i].x,&a[i].y,&a[i].v);
      |           ^
foo.cc:22:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   22 |  scanf("%d",&n);
      |  ~~~~~^~~~~~~~~
foo.cc:25:19: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   25 |   int x,y,h; scanf("%d%d%d",&a[i].x,&a[i].y,&a[i].v);
      |              ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Found 10 testcases.
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 2ms 384.0 KiB
#2 Accepted 30ms 1.992 MiB
#3 Accepted 3ms 384.0 KiB
#4 Wrong Answer Read 1070933723, expect 1070852347. 16ms 1.441 MiB
#5 Wrong Answer Read 1059817287, expect 1059624579. 3ms 512.0 KiB
#6 Wrong Answer Read 1071761672, expect 1071761380. 14ms 1.441 MiB
#7 Wrong Answer Read 1061676253, expect 1061381615. 4ms 640.0 KiB
#8 Wrong Answer Read 1072465027, expect 1072444566. 14ms 1.441 MiB
#9 Wrong Answer Read 1071973657, expect 1071973266. 15ms 1.441 MiB
#10 Wrong Answer Read 1071609748, expect 1071567864. 12ms 1.316 MiB

信息

递交者
类型
递交
题目
P1122 [USACO07OPEN]City Horizon S
题目数据
下载
语言
C++
递交时间
2022-04-04 18:09:30
评测时间
2022-04-04 18:09:30
评测机
分数
30
总耗时
119ms
峰值内存
1.992 MiB