Problem | prefixsums |
---|---|
User | abcde271828 |
Submission Time | 2025-06-17 16:33:46 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
prefixsums.cpp: In function ‘int main()’:
prefixsums.cpp:4:16: error: ‘::ios_sync_with_stdio’ has not been declared
4 | cin.tie(0); ::ios_sync_with_stdio(0); cin.tie(0)
| ^~~~~~~~~~~~~~~~~~~
prefixsums.cpp:4:50: error: expected ‘;’ before ‘long’
4 | cin.tie(0); ::ios_sync_with_stdio(0); cin.tie(0)
| ^
| ;
5 | long long n, q;
| ~~~~
prefixsums.cpp:6:12: error: ‘n’ was not declared in this scope; did you mean ‘yn’?
6 | cin >> n >> q;
| ^
| yn
prefixsums.cpp:6:17: error: ‘q’ was not declared in this scope
6 | cin >> n >> q;
| ^