Name: Anonymous 2013-04-21 18:50
I realize I suck at algorithms. I have this assignment that I can't get the picture in my head. I want to comprehend the chopsticks algorithm from UVA.
http://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=1212
I have the solution already in spanish and it works, already made the test cases and all. The problem is that I don't quite understand what to do in case of more persons and reducing the badness at minimum.
http://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=1212
I have the solution already in spanish and it works, already made the test cases and all. The problem is that I don't quite understand what to do in case of more persons and reducing the badness at minimum.