Problem | prefixsums |
---|---|
User | fueh |
Submission Time | 2024-04-18 12:17:02 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
prefixsums.cpp: In function ‘int main()’:
prefixsums.cpp:10:5: error: ‘cin’ was not declared in this scope; did you mean ‘std::cin’?
10 | cin >> arraysize > queries;
| ^~~
| std::cin
In file included from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:75,
from prefixsums.cpp:1:
/usr/include/c++/9/iostream:60:18: note: ‘std::cin’ declared here
60 | extern istream cin; /// Linked to standard input
| ^~~
prefixsums.cpp:16:37: error: expected ‘;’ before ‘)’ token
16 | for (int x = 0; x < queries< x++) {
| ^
| ;
prefixsums.cpp:18:14: error: expected primary-expression before ‘int’
18 | cin >> int bobo >> int kwan;
| ^~~
prefixsums.cpp:19:27: error: ‘kwan’ was not declared in this scope
19 | for(int a = 0; a <