Compile Error
/in/foo.cc: In function 'int main()': /in/foo.cc:5:15: error: 'INT_MXA' was not declared in this scope int n,a,maxa=INT_MXA,sum=1; ^~~~~~~ /in/foo.cc:10:3: error: 'sum' was not declared in this scope sum++; ^~~ /in/foo.cc:14:4: error: 'sum' was not declared in this scope sum=1; ^~~ /in/foo.cc:17:9: error: 'sum' was not declared in this scope cout<<sum<<<endl; ^~~ /in/foo.cc:17:14: error: expected primary-expression before '<' token cout<<sum<<<endl; ^
信息
- 递交者
- 类型
- 递交
- 题目
- P1026 C8 最大值的出现次数
- 语言
- C++
- 递交时间
- 2024-11-01 07:00:42
- 评测时间
- 2024-11-01 07:00:42
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes