Problem simp
User gab
Submission Time 2025-04-29 17:26:53
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:9:42: error: expected identifier before ‘(’ token
9 | } else if ((c1 > a1) and (c1 > b1)) and ((c2 < a2) and (c2 < b2)) {
| ^
simp.cpp:11:42: error: expected identifier before ‘(’ token
11 | } else if ((c1 < a1) and (c1 < b1)) and ((c2 > a2) and (c2 > b2)) {
| ^
simp.cpp:13:42: error: expected identifier before ‘(’ token
13 | } else if ((c1 < a1) and (c1 < b1)) and ((c2 < a2) and (c2 < b2)) {
| ^