Compile Error

foo.cc:4:1: error: ‘itn’ does not name a type; did you mean ‘int’?
    4 | itn cnt;
      | ^~~
      | int
foo.cc: In function ‘int main()’:
foo.cc:12:17: error: ‘cnt’ was not declared in this scope; did you mean ‘int’?
   12 |                 cnt++;
      |                 ^~~
      |                 int
foo.cc:14:15: error: ‘cnt’ was not declared in this scope; did you mean ‘int’?
   14 |         cout<<cnt<<endl;
      |               ^~~
      |               int

信息

递交者
类型
递交
题目
P1087 3-6 查找资料
语言
C++
递交时间
2024-07-16 08:16:50
评测时间
2024-07-16 08:16:50
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes