/ Vijos /

记录详情

Wrong Answer

foo.cc: In function 'int main()':
foo.cc:9:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
  scanf("%d",&n);
  ~~~~~^~~~~~~~~
foo.cc:10:35: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
  for(int i = 1; i <= n; i++) scanf("%d", h+i);
                              ~~~~~^~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 1ms 384.0 KiB
#2 Wrong Answer Read 186405, expect 201803. 2ms 384.0 KiB
#3 Wrong Answer Read 192174, expect 209442. 1ms 384.0 KiB
#4 Wrong Answer Read 1923298662, expect 2078411462. 1ms 384.0 KiB
#5 Wrong Answer Read 192913728865, expect 209629030803. 13ms 764.0 KiB
#6 Wrong Answer Read 192862262146, expect 209094449909. 13ms 736.0 KiB
#7 Wrong Answer Read 192901503996, expect 209164373955. 14ms 772.0 KiB
#8 Wrong Answer Read 192671983945, expect 209268204847. 13ms 808.0 KiB
#9 Wrong Answer Read 192963609311, expect 209383229371. 13ms 784.0 KiB
#10 Wrong Answer Read 192304745374, expect 208624777711. 14ms 744.0 KiB

信息

递交者
类型
递交
题目
P1615 旅行
语言
C++
递交时间
2021-10-11 19:27:01
评测时间
2021-10-11 19:27:01
评测机
分数
10
总耗时
90ms
峰值内存
808.0 KiB