Problem sumint
User TJX1111
Submission Time 2023-06-27 17:18:53
Score 0
Max Time N/A
Max Memory N/A

Compile Error

sumint.cpp: In function ‘int main()’:
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]){
| ^