Problem sumint
User JJAAMM
Submission Time 2023-09-13 00:39:23
Score 0
Max Time N/A
Max Memory N/A

Compile Error

sumint.cpp: In function ‘int main()’:
sumint.cpp:10:18: error: expected ‘;’ before ‘for’
10 | idk.resize(num)
| ^
| ;
11 | for (int i = 0; i < num; i++) {
| ~~~
sumint.cpp:11:19: error: ‘i’ was not declared in this scope
11 | for (int i = 0; i < num; i++) {
| ^