hot.cpp: In function 'int main()':
hot.cpp:13:16: error: request for member 'begin' in 'requests', which is of non-class type 'std::pair<long long int, long long int> [m]'
13 | sort(requests.begin(), requests.end(), [] (pair<int, int> i, pair<int, int> j)
| ^~~~~
hot.cpp:13:34: error: request for member 'end' in 'requests', which is of non-class type 'std::pair<long long int, long long int> [m]'
13 | sort(requests.begin(), requests.end(), [] (pair<int, int> i, pair<int, int> j)
| ^~~
hot.cpp:25:23: error: 'struct std::_Rb_tree_const_iterator<std::pair<long long int, long long int> >' has no member named 'second'
25 | if(price > choice.second) choosed.push_back(price - choice.second);
| ^~~~~~
hot.cpp:25:64: error: 'struct std::_Rb_tree_const_iterator<std::pair<long long int, long long int> >' has no member named 'second'
25 | if(price > choice.second) choosed.push_back(price - choice.second);
| ^~~~~~