Compile Error
/in/foo.cc: In function 'int main()':
/in/foo.cc:16:25: error: expected ',' or ';' before 'if'
16 | if (x%7==0)
| ^~
/in/foo.cc:15:35: warning: unused variable 'x' [-Wunused-variable]
15 | long long x=s[r]-s[l-1]
| ^
信息
- 递交者
- 类型
- 递交
- 题目
- P3034 子区间和为7
- 语言
- C++
- 递交时间
- 2026-11-28 22:13:51
- 评测时间
- 2026-11-28 22:13:51
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes