Problem | sum |
---|---|
User | mofumofu |
Submission Time | 2025-07-29 23:41:22 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
sum.cpp:5:1: error: expected initializer before ‘inline’
5 | inline int readInt() {
| ^~~~~~
sum.cpp: In function ‘int main()’:
sum.cpp:19:10: error: ‘readInt’ was not declared in this scope
19 | int N = readInt();
| ^~~~~~~
sum.cpp:25:2: error: ‘ll’ was not declared in this scope; did you mean ‘all’?
25 | ll x = accumulate(all(X), 0LL);
| ^~
| all
sum.cpp:26:4: error: expected ‘;’ before ‘y’
26 | ll y = accumulate(all(Y), 0LL);
| ^~
| ;
sum.cpp:28:10: error: ‘x’ was not declared in this scope
28 | cout << x << " " << y;
| ^
sum.cpp:28:22: error: ‘y’ was not declared in this scope
28 | cout << x << " " << y;
| ^