Problem | sumint |
---|---|
User | SioHuang |
Submission Time | 2023-11-08 13:37:36 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
sumint.cpp: In function ‘int main()’:
sumint.cpp:6:2: error: expected initializer before ‘cin’
6 | cin >> a
| ^~~
sumint.cpp:8:24: error: ‘x’ was not declared in this scope
8 | for (int x = 0; 1 <= x <=10000; x + a) {
| ^
sumint.cpp:8:39: error: ‘a’ was not declared in this scope
8 | for (int x = 0; 1 <= x <=10000; x + a) {
| ^
sumint.cpp:12:3: error: expected ‘,’ or ‘;’ before ‘for’
12 | for (int y = 0; 0 <= y <=100000; y + a) {
| ^~~