Compile Error
/in/foo.cc: In function 'int main()':
/in/foo.cc:6:9: error: expected initializer before 'long'
6 | long long sum=0;
| ^~~~
/in/foo.cc:7:17: error: 'n' was not declared in this scope
7 | cin>>m>>n;
| ^
/in/foo.cc:11:17: error: 'sum' was not declared in this scope
11 | sum+=i;
| ^~~
/in/foo.cc:13:15: error: 'sum' was not declared in this scope
13 | cout<<sum;
| ^~~
信息
- 递交者
- 类型
- 递交
- 题目
- P2353 1.5.3:均值
- 语言
- C++
- 递交时间
- 2025-03-05 20:56:28
- 评测时间
- 2025-03-05 20:56:28
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes