Problem | sumint |
---|---|
User | TJX1111 |
Submission Time | 2023-06-27 17:14:46 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
sumint.cpp: In function ‘int main()’:
sumint.cpp:7:5: error: expected ‘;’ before ‘d’
7 | cin d;
| ^~
| ;
sumint.cpp:8:6: error: expected ‘(’ before ‘i’
8 | for i in array[d]{
| ^
| (
sumint.cpp:8:6: error: ‘i’ was not declared in this scope
sumint.cpp:13:9: error: expected ‘;’ before ‘return’
13 | cout<<s
| ^
| ;
......
23 | return 0;
| ~~~~~~
sumint.cpp:23:5: error: expected primary-expression before ‘return’
23 | return 0;
| ^~~~~~
sumint.cpp:13:9: error: expected ‘)’ before ‘return’
13 | cout<<s
| ^
| )
......
23 | return 0;
| ~~~~~~
sumint.cpp:8:6: note: to match this ‘(’
8 | for i in array[d]{
| ^