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;
   ^~~~
自豪的采用HydroJudge(https://github.com/hydro-dev/Hydro)进行评测。
# 状态 耗时 内存占用
#1 Accepted 2ms 384.0 KiB
#2 Accepted 2ms 384.0 KiB
#3 Wrong Answer Read 14, expect 15. 2ms 384.0 KiB
#4 Wrong Answer Read 7, expect 8. 1ms 384.0 KiB
#5 Accepted 2ms 384.0 KiB
#6 Accepted 2ms 384.0 KiB
#7 Accepted 2ms 384.0 KiB
#8 Accepted 2ms 384.0 KiB
#9 Accepted 2ms 384.0 KiB
#10 Accepted 2ms 384.0 KiB

信息

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