Problem simp
User JhoCyber
Submission Time 2025-01-15 21:28:17
Score 0
Max Time N/A
Max Memory N/A

Compile Error

simp.cpp: In function ‘int32_t main()’:
simp.cpp:13:8: error: ‘coordinates’ was not declared in this scope
13 | if(coordinates[1].first>=coordinates[2].first){
| ^~~~~~~~~~~
simp.cpp:14:12: error: expected primary-expression before ‘if’
14 | if(if(c[1].first>c[0].first&&c[1].first<c[3].first){
| ^~
simp.cpp:14:12: error: expected ‘)’ before ‘if’
14 | if(if(c[1].first>c[0].first&&c[1].first<c[3].first){
| ~^~
| )
simp.cpp:17:5: error: expected primary-expression before ‘}’ token
17 | }
| ^
simp.cpp:18:8: error: ‘coordinates’ was not declared in this scope
18 | if(coordinates[2].first>=coordinates[1].first){
| ^~~~~~~~~~~
simp.cpp:19:12: error: expected primary-expression before ‘if’
19 | if(if(c[1].first<c[0].first&&c[1].first>c[3].first){
| ^~
simp.