Problem | sumint |
---|---|
User | ryelin |
Submission Time | 2023-11-08 15:26:17 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
sumint.cpp: In function ‘int main()’:
sumint.cpp:7:17: error: ‘int’ is not a template
7 | for (int i =0; int<d ;i++){
| ^~~
sumint.cpp:7:17: error: expected primary-expression before ‘int’
sumint.cpp:7:16: error: expected ‘;’ before ‘int’
7 | for (int i =0; int<d ;i++){
| ^~~~
| ;
sumint.cpp:7:17: error: expected primary-expression before ‘int’
7 | for (int i =0; int<d ;i++){
| ^~~
sumint.cpp:7:16: error: expected ‘)’ before ‘int’
7 | for (int i =0; int<d ;i++){
| ~ ^~~~
| )
sumint.cpp:7:17: error: declaration does not declare anything [-fpermissive]
7 | for (int i =0; int<d ;i++){
| ^~~
sumint.cpp:7:24: error: ‘i’ was not declared in this scope
7 | for (int i =0; int<d ;i++){
| ^
sumint.cpp:11:10: e