This is about the CF round 260 Problem A (Laptops)
I saw this code as an accepted solution. How could this approach solve this problem.? It seems extremely simple. Not even used a sort function.
while searching for interesting puzzles i found this site which is very much interesting. It contains funny and tricky riddles worth solving. And can use programming skills to solve those riddles as well. And it will need a great searching ability on internet. :D
Thought it might be interesting to someone else here also. Enjoy !!!