Problem | simp |
---|---|
User | blob |
Submission Time | 2023-11-20 16:02:44 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
simp.cpp: In function ‘int main()’:
simp.cpp:10:19: error: ‘i’ was not declared in this scope
10 | if ((b1 + i == c1 && b2 + i == c2) || (b1 + i == c1 && b2 - i == c2) ||
| ^
simp.cpp:15:13: error: break statement not within loop or switch
15 | break;
| ^~~~~
simp.cpp: At global scope:
simp.cpp:18:1: error: expected unqualified-id before ‘if’
18 | if (canMakeHappy() = true){
| ^~
simp.cpp:21:1: error: expected unqualified-id before ‘else’
21 | else {
| ^~~~