Problem | sumint |
---|---|
User | TJX1111 |
Submission Time | 2023-06-27 17:16:31 |
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:8: error: expected ‘;’ before ‘in’
8 | for (d in array[d]){
| ^~~
| ;
sumint.cpp:23:5: error: expected primary-expression before ‘return’
23 | return 0;
| ^~~~~~
sumint.cpp:13:10: error: expected ‘)’ before ‘return’
13 | cout<<s;
| ^
| )
......
23 | return 0;
| ~~~~~~
sumint.cpp:8:6: note: to match this ‘(’
8 | for (d in array[d]){
| ^