Problem | eight |
---|---|
User | jambusk |
Submission Time | 2025-06-16 16:43:56 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
eight.cpp: In function ‘int main()’:
eight.cpp:9:2: error: expected ‘,’ or ‘;’ before ‘for’
9 | for (int f = 0; f < 10^18; ++f)
| ^~~
eight.cpp:9:18: error: ‘f’ was not declared in this scope
9 | for (int f = 0; f < 10^18; ++f)
| ^
eight.cpp:11:10: error: ‘B’ was not declared in this scope
11 | cin >> B;
| ^
eight.cpp:12:15: error: expected primary-expression before ‘or’ token
12 | if (A == 8) or (B == 8){
| ^~
eight.cpp:16:15: error: expected ‘;’ before ‘}’ token
16 | output += 0
| ^
| ;
17 | }
| ~
eight.cpp:18:16: error: expected ‘;’ before ‘return’
18 | cout << output
| ^
| ;
19 | return 0;
| ~~~~~~