/ Vijos /

记录详情

Wrong Answer

foo.cc: In function 'int main()':
foo.cc:47:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
  scanf("%d", &n);
  ~~~~~^~~~~~~~~~
foo.cc:48: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].h), a[i].id = i;
                                       ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 2ms 1.5 MiB
#2 Accepted 3ms 1.613 MiB
#3 Accepted 3ms 1.5 MiB
#4 Accepted 3ms 1.527 MiB
#5 Accepted 2ms 1.5 MiB
#6 Accepted 3ms 1.5 MiB
#7 Wrong Answer Read {0}, expect {1}. ["1","615"] 3ms 1.5 MiB
#8 Accepted 14ms 1.914 MiB
#9 Accepted 113ms 3.152 MiB
#10 Accepted 244ms 4.641 MiB

信息

递交者
类型
递交
题目
P1845 花匠
语言
C++
递交时间
2021-01-16 10:37:16
评测时间
2021-01-16 10:37:16
评测机
分数
90
总耗时
395ms
峰值内存
4.641 MiB