记录详情

Compile Error

/in/foo.cc:22:31: error: stray '\357' in program
 for (int i = 3; i <= n; i++) {:
                               ^
/in/foo.cc:22:32: error: stray '\274' in program
 for (int i = 3; i <= n; i++) {:
                                ^
/in/foo.cc:22:33: error: stray '\232' in program
 for (int i = 3; i <= n; i++) {:
                                 ^
/in/foo.cc:23:1: error: unterminated comment
 /*这个循环从第 3 级台阶开始,一直到输入的台阶数 n。因为前两级台阶(1 级和 2 级)的走法数已经在前面直接确定了(分别为 1 种和 2 种)。
 ^
/in/foo.cc:22:1: error: expected unqualified-id before 'for'
 for (int i = 3; i <= n; i++) {:
 ^~~
/in/foo.cc:22:17: error: 'i' does not name a type
 for (int i = 3; i <= n; i++) {:
                 ^
/in/foo.cc:22:25: error: 'i' does not name a type
 for (int i = 3; i <= n; i++) {:
                         ^

信息

递交者
类型
自测
题目
2-4 攀登华山
语言
C++
递交时间
2024-11-03 01:00:59
评测时间
2024-11-03 01:00:59
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes