Problem | sumint |
---|---|
User | skibidininja98 |
Submission Time | 2024-06-18 11:31:36 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
sumint.cpp: In function ‘int main()’:
sumint.cpp:8:9: error: structured binding declaration cannot have type ‘int’
8 | for(int[i] in d + 1) && 1 <= d <= 10000)
| ^~~
sumint.cpp:8:9: note: type must be cv-qualified ‘auto’ or reference to cv-qualified ‘auto’
sumint.cpp:8:13: error: expected initializer before ‘in’
8 | for(int[i] in d + 1) && 1 <= d <= 10000)
| ^~
sumint.cpp:8:12: error: expected ‘;’ before ‘in’
8 | for(int[i] in d + 1) && 1 <= d <= 10000)
| ^~~
| ;
sumint.cpp:8:13: error: ‘in’ was not declared in this scope; did you mean ‘i’?
8 | for(int[i] in d + 1) && 1 <= d <= 10000)
| ^~
| i
sumint.cpp:8:15: error: expected ‘;’ before ‘d’
8 | for(int[i] in d + 1) && 1 <= d <= 10000)
| ^~
| ;
sumint.cpp:8:26: error: expected identif