Problem | simp |
---|---|
User | Orson |
Submission Time | 2025-04-23 20:52:04 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
simp.cpp: In function ‘int main()’:
simp.cpp:10:44: error: expected ‘;’ before ‘if’
10 | cin >> a1 >> a2 >> b1 >> b2 >> c1 >> c2
| ^
| ;
11 | if (((a1>b1)&&(a1>c1))||((a1<b1)&&(a1<c1)))&&(((a2>b2)&&(a2>c2))||((a2<b2)&&(a2<c2))){
| ~~
simp.cpp:13:6: error: ‘else’ without a previous ‘if’
13 | }else{
| ^~~~
simp.cpp:14:21: error: expected ‘;’ before ‘}’ token
14 | cout << "NO"
| ^
| ;
15 | }
| ~