Accepted

/in/foo.cc: In function 'int g(int, int, int)':
/in/foo.cc:28:17: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
   28 |                 for(int i=1;i<b;i++)
      |                 ^~~
/in/foo.cc:30:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
   30 |                         ans+=c;
      |                         ^~~
# 状态 耗时 内存占用
#1 Accepted 2ms 472.0 KiB
#2 Accepted 1ms 472.0 KiB
#3 Accepted 1ms 532.0 KiB
#4 Accepted 3ms 476.0 KiB
#5 Accepted 3ms 528.0 KiB

信息

递交者
类型
递交
题目
P1029 A1-4 循环结构练习:今年过去了多少天
比赛
2025.10.25中级班练习
语言
C++
递交时间
2025-11-07 21:38:25
评测时间
2025-11-07 21:38:25
评测机
分数
100
总耗时
13ms
峰值内存
532.0 KiB