Problem simp
User gab
Submission Time 2025-04-29 17:26:27
Score 0
Max Time N/A
Max Memory N/A

Compile Error

simp.cpp: In function ‘int main()’:
simp.cpp:7:35: error: expected identifier before ‘(’ token
7 | if ((c1 > a1) and (c1 > b1)) and ((c2 > a2) and (c2 > b2)) {
| ^
simp.cpp:10:40: error: expected identifier before ‘(’ token
10 | else if ((c1 > a1) and (c1 > b1)) and ((c2 < a2) and (c2 < b2)) {
| ^
simp.cpp:13:40: error: expected identifier before ‘(’ token
13 | else if ((c1 < a1) and (c1 < b1)) and ((c2 > a2) and (c2 > b2)) {
| ^
simp.cpp:16:40: error: expected identifier before ‘(’ token
16 | else if ((c1 < a1) and (c1 < b1)) and ((c2 < a2) and (c2 < b2)) {
| ^