Wrong Answer

foo.cc: In function 'int main()':
foo.cc:21:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
  for(int i=1;i<=n;i++)
  ^~~
foo.cc:26:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
   cout<<ans<<endl;
   ^~~~
foo.cc:26:9: 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 -337065300, expect 12. 2ms 384.0 KiB
#2 Wrong Answer Read 56265392, expect 16. 2ms 384.0 KiB
#3 Wrong Answer Read -2023396690, expect 15. 2ms 384.0 KiB
#4 Wrong Answer Read 1335433895, expect 8. 2ms 384.0 KiB
#5 Wrong Answer Read -1844725074, expect 14. 2ms 384.0 KiB
#6 Wrong Answer Read 1288829622, expect 22. 2ms 384.0 KiB
#7 Wrong Answer Read -1051370835, expect 13. 2ms 384.0 KiB
#8 Wrong Answer Read 471923378, expect 18. 2ms 384.0 KiB
#9 Wrong Answer Read -259085641, expect 23. 3ms 384.0 KiB
#10 Wrong Answer Read 1558207159, expect 23. 2ms 384.0 KiB

信息

递交者
类型
递交
题目
「一本通 1.1 例 1」活动安排
语言
C++
递交时间
2021-06-30 00:05:40
评测时间
2021-06-30 00:05:40
评测机
分数
0
总耗时
28ms
峰值内存
384.0 KiB