Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:12:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
   12 |         for(int i=0;i<=1000;i++)
      |         ^~~
/in/foo.cc:15:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
   15 |                 if(cnt==n)
      |                 ^~
# 状态 耗时 内存占用
#1 Accepted 1ms 492.0 KiB
#2 Accepted 1ms 320.0 KiB
#3 Accepted 1ms 328.0 KiB
#4 Accepted 1ms 508.0 KiB

信息

递交者
类型
递交
比赛
2025.2.5中级班练习
语言
C++
递交时间
2025-02-05 10:51:01
评测时间
2025-02-05 10:51:01
评测机
分数
100
总耗时
7ms
峰值内存
508.0 KiB