Please check my code it is producing wrong output
Why is my code producing wrong output?
firstly sort the stalls array!
secondly take the type as long long int to avoid any kind of overflow.
firstly sort the stalls array!
secondly take the type as long long int to avoid any kind of overflow.