Compile Error
/in/foo.cc: In function 'int main()': /in/foo.cc:9:9: error: expected initializer before '==' token int cnt==0; ^~ /in/foo.cc:12:16: error: 'sum' was not declared in this scope if(sum(a,i,j)%k==0) ^ /in/foo.cc:13:5: error: 'cnt' was not declared in this scope cnt++; ^~~ /in/foo.cc:16:8: error: 'cnt' was not declared in this scope cout<<cnt; ^~~
信息
- 递交者
- 类型
- 自测
- 题目
- P1105 连续数之和
- 语言
- C++
- 递交时间
- 2024-10-25 20:11:26
- 评测时间
- 2024-10-25 20:11:26
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes