Help with SPOJ ORDERS

Revision en1, by Jim_Moriarty_, 2020-03-31 06:29:53

I am not getting the logic to solve this. Please explain . Problem link- https://www.spoj.com/problems/ORDERS/

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English Jim_Moriarty_ 2020-03-31 06:29:53 135 Initial revision (published)