Problem | prefixsums |
---|---|
User | silvspider |
Submission Time | 2024-07-20 09:56:37 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
prefixsums.cpp:1:30: error: stray ‘#’ in program
1 | [9:52 am, 20/07/2024] ruoxi: #include <bits/stdc++.h>
| ^
prefixsums.cpp:1:1: error: expected unqualified-id before ‘[’ token
1 | [9:52 am, 20/07/2024] ruoxi: #include <bits/stdc++.h>
| ^
prefixsums.cpp: In function ‘int main()’:
prefixsums.cpp:5:5: error: ‘ios_base’ has not been declared
5 | ios_base::sync_with_stdio(false);cin.tie(0);
| ^~~~~~~~
prefixsums.cpp:5:38: error: ‘cin’ was not declared in this scope
5 | ios_base::sync_with_stdio(false);cin.tie(0);
| ^~~
prefixsums.cpp:10:5: error: ‘vector’ was not declared in this scope
10 | vector<int>a(n+1);
| ^~~~~~
prefixsums.cpp:10:12: error: expected primary-expression before ‘int’
10 | vector<int>a(n+1);
| ^~~
prefixsums.cpp:12:14: error: ‘a’ was