Accepted

foo.cc: In function 'int main()':
foo.cc:8:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
    8 |         for(int i=n;i<=m;i++)
      |         ^~~
foo.cc:10:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
   10 |                 cout<<sum;
      |                 ^~~~
正在同步测试数据,请稍后
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 3ms 412.0 KiB
#2 Accepted 4ms 412.0 KiB
#3 Accepted 3ms 328.0 KiB
#4 Accepted 3ms 412.0 KiB
#5 Accepted 3ms 412.0 KiB

信息

递交者
类型
递交
题目
P1628 A2-1 循环结构入门:数列求和
语言
C++
递交时间
2023-07-16 10:00:40
评测时间
2023-07-16 10:00:54
评测机
分数
100
总耗时
20ms
峰值内存
412.0 KiB