Compile Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:9:13: error: 'inti' was not declared in this scope; did you mean 'int'?
    9 |         for(inti=1;i<=n;i++)
      |             ^~~~
      |             int
/in/foo.cc:9:20: error: 'i' was not declared in this scope
    9 |         for(inti=1;i<=n;i++)
      |                    ^
/in/foo.cc:16:21: error: 'intj' was not declared in this scope; did you mean 'int'?
   16 |                 for(intj=i;j>=1;j--)
      |                     ^~~~
      |                     int
/in/foo.cc:16:28: error: 'j' was not declared in this scope
   16 |                 for(intj=i;j>=1;j--)
      |                            ^

信息

递交者
类型
递交
题目
P2778 宝箱4级2 2024.6
语言
C++
递交时间
2025-06-28 19:24:44
评测时间
2025-06-28 19:24:44
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes