Wrong Answer

foo.cc: In function 'int main()':
foo.cc:16:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
  scanf("%d",&n);
  ~~~~~^~~~~~~~~
foo.cc:25:8: warning: 'ans' may be used uninitialized in this function [-Wmaybe-uninitialized]
  cout<<ans<<endl; 
        ^~~
自豪的采用HydroJudge(https://github.com/hydro-dev/Hydro)进行评测。
# 状态 耗时 内存占用
#1 Wrong Answer Read -479687940, expect 12. 2ms 396.0 KiB
#2 Wrong Answer Read 1572993792, expect 16. 1ms 384.0 KiB
#3 Wrong Answer Read 1343929086, expect 15. 1ms 384.0 KiB
#4 Wrong Answer Read 41970423, expect 8. 2ms 384.0 KiB
#5 Wrong Answer Read 913652478, expect 14. 2ms 384.0 KiB
#6 Wrong Answer Read 148179718, expect 22. 2ms 384.0 KiB
#7 Wrong Answer Read 1955408637, expect 13. 2ms 384.0 KiB
#8 Wrong Answer Read 510524162, expect 18. 2ms 384.0 KiB
#9 Wrong Answer Read -1887126777, expect 23. 2ms 384.0 KiB
#10 Wrong Answer Read -1366471929, expect 23. 2ms 384.0 KiB

信息

递交者
类型
递交
题目
「一本通 1.1 例 1」活动安排
语言
C++
递交时间
2021-06-29 23:53:08
评测时间
2021-06-29 23:53:08
评测机
分数
0
总耗时
23ms
峰值内存
396.0 KiB