Problem buyingcandy
User asbx
Submission Time 2023-12-09 09:22:39
Score 0
Max Time N/A
Max Memory N/A

Compile Error

buyingcandy.cpp: In function ‘int main()’:
buyingcandy.cpp:27:22: error: too few arguments to function ‘bool sortcond(const std::pair<long long int, long long int>&, const std::pair<long long int, long long int>&)’
27 | sort(a,a+m,sortcond());
| ^
buyingcandy.cpp:9:6: note: declared here
9 | bool sortcond(const pll &a, const pll &b){
| ^~~~~~~~