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 468.0 KiB
#2 Accepted 2ms 532.0 KiB
#3 Accepted 1ms 536.0 KiB
#4 Accepted 1ms 528.0 KiB
#5 Accepted 1ms 532.0 KiB

信息

递交者
类型
递交
题目
P1096 6-3 上楼梯的走法
语言
C++
递交时间
2025-10-07 10:48:20
评测时间
2025-10-07 10:48:20
评测机
分数
100
总耗时
9ms
峰值内存
536.0 KiB