Problem | flamethrower |
---|---|
User | yay |
Submission Time | 2025-02-15 10:46:07 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
flamethrower.cpp: In function ‘int32_t main()’:
flamethrower.cpp:3:13: error: expected ‘(’ before ‘long’
3 | #define int long long
| ^~~~
flamethrower.cpp:14:6: note: in expansion of macro ‘int’
14 | for int startpoint = 0; startpoint <= n-k; startpoint++) {
| ^~~
flamethrower.cpp:19:14: error: ‘ans’ was not declared in this scope; did you mean ‘abs’?
19 | if (sum >= ans) {
| ^~~
| abs
flamethrower.cpp:23:10: error: ‘ans’ was not declared in this scope; did you mean ‘abs’?
23 | cout << ans;
| ^~~
| abs