Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:10:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
   10 |         if(n<=1) cout<<ans1; if(n==2) cout<<ans2;
      |         ^~
/in/foo.cc:10:30: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
   10 |         if(n<=1) cout<<ans1; if(n==2) cout<<ans2;
      |                              ^~
# 状态 耗时 内存占用
#1 Accepted 2ms 484.0 KiB
#2 Accepted 2ms 560.0 KiB
#3 Accepted 2ms 476.0 KiB
#4 Accepted 2ms 468.0 KiB
#5 Accepted 2ms 532.0 KiB

信息

递交者
类型
递交
题目
P1497 爬楼梯 1到3级(floor)
语言
C++
递交时间
2025-10-11 11:57:41
评测时间
2025-10-11 11:57:41
评测机
分数
100
总耗时
10ms
峰值内存
560.0 KiB