Problem | prefixsums |
---|---|
User | mathemactics |
Submission Time | 2023-11-10 09:30:34 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
prefixsums.cpp: In function ‘int32_t main()’:
prefixsums.cpp:6:15: error: ‘sync_with_studio’ is not a member of ‘std::ios_base’
6 | ios_base::sync_with_studio(0); cin.tie(0);
| ^~~~~~~~~~~~~~~~
prefixsums.cpp:23:15: error: expected ‘;’ before ‘-’ token
23 | for (int i - 0; i < n; i++){
| ^~
| ;
prefixsums.cpp:23:26: error: expected ‘)’ before ‘;’ token
23 | for (int i - 0; i < n; i++){
| ~ ^
| )
prefixsums.cpp:23:28: error: ‘i’ was not declared in this scope
23 | for (int i - 0; i < n; i++){
| ^