Problem simp
User taqtru
Submission Time 2024-11-08 18:08:39
Score 0
Max Time N/A
Max Memory N/A

Compile Error

simp.cpp: In function ‘int main()’:
simp.cpp:12:109: error: ‘__gnu_cxx::__alloc_traits<std::allocator<std::pair<int, int> >, std::pair<int, int> >::value_type’ {aka ‘struct std::pair<int, int>’} has no member named ‘fi16st’; did you mean ‘first’?
12 | if ((v[0].first < v[1].first && v[0].first > v[2].first)||(v[0].first > v[1].first && v[0].first < v[2].fi16st) || ((v[0].second < v[1].second && v[0].second > v[2].second)||(v[0].second > v[1].second && v[0].second < v[2].second)){
| ^~~~~~
| first
simp.cpp:12:236: error: expected ‘)’ before ‘{’ token
12 | if ((v[0].first < v[1].first && v[0].first > v[2].first)||(v[0].first > v[1].first && v[0].first < v[2].fi16st) |