Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:17:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
   17 |     for(int i=a;i<=b;i++)
      |     ^~~
/in/foo.cc:19:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
   19 |         cout<<ans;
      |         ^~~~
# 状态 耗时 内存占用
#1 Accepted 1ms 468.0 KiB
#2 Accepted 2ms 480.0 KiB
#3 Accepted 1ms 500.0 KiB
#4 Accepted 1ms 480.0 KiB
#5 Accepted 1ms 528.0 KiB
#6 Accepted 1ms 528.0 KiB
#7 Accepted 1ms 340.0 KiB
#8 Accepted 1ms 504.0 KiB
#9 Accepted 1ms 540.0 KiB
#10 Accepted 1ms 532.0 KiB

信息

递交者
类型
递交
题目
P3049 数数GESP202603二级T1
语言
C++
递交时间
2026-07-25 10:50:55
评测时间
2026-07-30 06:55:45
评测机
分数
100
总耗时
18ms
峰值内存
540.0 KiB