/ Vijos /

记录详情

Wrong Answer

foo.cc: In function 'int main()':
foo.cc:30:20: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
  printf("%I64d",ans);
                    ^
foo.cc:10:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
  scanf("%d",&n);
  ~~~~~^~~~~~~~~
foo.cc:12:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   scanf("%d",nums+i);
   ~~~~~^~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read 7, expect 7. 1ms 256.0 KiB
#2 Wrong Answer Read 201803, expect 201803. 1ms 256.0 KiB
#3 Wrong Answer Read 209442, expect 209442. 1ms 256.0 KiB
#4 Wrong Answer Read 2078411462, expect 2078411462. 1ms 256.0 KiB
#5 Wrong Answer Read -824366701, expect 209629030803. 19ms 668.0 KiB
#6 Wrong Answer Read -1358947595, expect 209094449909. 19ms 692.0 KiB
#7 Wrong Answer Read -1289023549, expect 209164373955. 18ms 660.0 KiB
#8 Wrong Answer Read -1185192657, expect 209268204847. 18ms 692.0 KiB
#9 Wrong Answer Read -1070168133, expect 209383229371. 19ms 660.0 KiB
#10 Wrong Answer Read -1828619793, expect 208624777711. 19ms 688.0 KiB

信息

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