Problem | prefixsums |
---|---|
User | kashsinghal |
Submission Time | 2023-11-09 15:40:19 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
prefixsums.cpp: In function ‘int32_t main()’:
prefixsums.cpp:11:19: error: expected ‘;’ before ‘<=’ token
11 | for (int i=1,i<=n, i++){
| ^~
| ;
prefixsums.cpp:11:19: error: expected primary-expression before ‘<=’ token
11 | for (int i=1,i<=n, i++){
| ^~
prefixsums.cpp:11:27: error: expected ‘;’ before ‘)’ token
11 | for (int i=1,i<=n, i++){
| ^
| ;
prefixsums.cpp:12:21: error: ‘arr’ cannot be used as a function
12 | cin >> arr(i);
| ^
prefixsums.cpp:17:8: error: expected ‘;’ before ‘for’
17 | ss[0]=0
| ^
| ;
18 | for (int i=1; i<=n, i++){
| ~~~
prefixsums.cpp:18:24: error: expected ‘;’ before ‘)’ token
18 | for (int i=1; i<=n, i++){
|