Wrong Answer

/in/foo.cc: In function 'int main()':
/in/foo.cc:8:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
  for(i=1;i<=n;i++)
  ^~~
/in/foo.cc:10:3: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
   sum+=a;
   ^~~
# 状态 耗时 内存占用
#1 Wrong Answer 1ms 360.0 KiB
#2 Wrong Answer 1ms 376.0 KiB
#3 Wrong Answer 1ms 340.0 KiB

信息

递交者
类型
递交
题目
P2351 1.5.1:求平均年龄
比赛
2024.8.10暑期初级2班练习
语言
C++
递交时间
2024-08-10 09:06:54
评测时间
2024-08-10 09:06:54
评测机
分数
0
总耗时
5ms
峰值内存
376.0 KiB