Compile Error

foo.cc: In function 'int main()':
foo.cc:5:9: error: 'intn' was not declared in this scope; did you mean 'int'?
    5 |         intn,s=0;
      |         ^~~~
      |         int
foo.cc:5:14: error: 's' was not declared in this scope
    5 |         intn,s=0;
      |              ^
foo.cc:6:14: error: 'n' was not declared in this scope
    6 |         cin>>n;
      |              ^
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
递交
题目
P1033 任意整数的数字之和。
语言
C++
递交时间
2024-01-05 15:55:22
评测时间
2024-01-05 15:55:22
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes