Wrong Answer

foo.cc: In function ‘int main()’:
foo.cc:12:9: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
   12 |         for(int i=0;i<=1000;i++)
      |         ^~~
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 Wrong Answer User output longer than standard answer. 2ms 320.0 KiB
#2 Wrong Answer User output longer than standard answer. 3ms 324.0 KiB
#3 Accepted 2ms 536.0 KiB
#4 Wrong Answer User output longer than standard answer. 1ms 552.0 KiB

信息

递交者
类型
递交
题目
P2595 春游3级1 202306
语言
C++
递交时间
2024-07-19 09:44:09
评测时间
2024-07-19 09:44:09
评测机
分数
25
总耗时
10ms
峰值内存
552.0 KiB