/ Vijos /

记录详情

Wrong Answer

foo.cc: In function 'int main()':
foo.cc:30:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
  scanf("%d", &n);
  ~~~~~^~~~~~~~~~
foo.cc:31:59: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
  for(register int i = 1; i <= n; i++) scanf("%d", &a[i].v), a[i].id = i;
                                       ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
foo.cc:32:59: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
  for(register int i = 1; i <= n; i++) scanf("%d", &b[i].v), b[i].id = i;
                                       ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
正在同步测试数据,请稍后
# 状态 耗时 内存占用
#1 Wrong Answer Read {0}, expect {1}. ["1862","1611090"] 1ms 256.0 KiB
#2 Wrong Answer Read {0}, expect {1}. ["29","613"] 0ms 256.0 KiB
#3 Wrong Answer Read {0}, expect {1}. ["41","178"] 0ms 256.0 KiB
#4 Wrong Answer Read {0}, expect {1}. ["46","439"] 0ms 256.0 KiB
#5 Wrong Answer Read {0}, expect {1}. ["265","98557"] 0ms 256.0 KiB
#6 Wrong Answer Read {0}, expect {1}. ["476","373818"] 0ms 256.0 KiB
#7 Wrong Answer Read {0}, expect {1}. ["626","278517"] 0ms 256.0 KiB
#8 Wrong Answer Read {0}, expect {1}. ["1350","980818"] 0ms 256.0 KiB
#9 Wrong Answer Read {0}, expect {1}. ["1569","509924"] 1ms 256.0 KiB
#10 Wrong Answer Read {0}, expect {1}. ["1865","774887"] 1ms 256.0 KiB

信息

递交者
类型
递交
题目
P1854 火柴游戏
语言
C++
递交时间
2021-01-16 10:13:08
评测时间
2021-01-16 10:13:08
评测机
分数
0
总耗时
9ms
峰值内存
256.0 KiB