Problem simp
User ToiletBrIcker
Submission Time 2024-06-19 11:03:46
Score 0
Max Time N/A
Max Memory N/A

Compile Error

simp.cpp: In function ‘int main()’:
simp.cpp:4:2: error: expected initializer before ‘std’
4 | std::cin >> N >> ai >> aj >> bi >> bj >> ci >> cj;
| ^~~
simp.cpp:6:18: error: ‘cj’ was not declared in this scope; did you mean ‘ci’?
6 | if (bj < aj && cj < aj){
| ^~
| ci
simp.cpp:8:3: error: expected ‘}’ before ‘else’
8 | else if (bj > aj && cj > aj){
| ^~~~
simp.cpp:6:26: note: to match this ‘{’
6 | if (bj < aj && cj < aj){
| ^
simp.cpp:10:2: error: expected ‘}’ before ‘else’
10 | else if (bi < ai && ci < ai){
| ^~~~
simp.cpp:8:31: note: to match this ‘{’
8 | else if (bj > aj && cj > aj){
| ^
simp.cpp:13:3: error: expected ‘}’ before ‘else’
13 | else if (bj > aj && cj > aj){