supermarine's blog

By supermarine, history, 7 weeks ago, In English

I did this question . Instead of using set to sort dishes. I tried sorting the dishes based on their value and binary search the first compatible value but it seems to be giving an error i am not able to figure out. pls help.

My submission Link

 
 
 
 
  • Vote: I like it
  • 0
  • Vote: I do not like it