I got the first problem. Not bad.
I failed the second problem (auction problem). With a max of 10^18 iterations for one test case, it seems almost impossible. I don't have enough knowledge on any algorithms or data structures that can help (nothing beyond AP Computer Science).
Third problem: haven't attempted, but shouldn't be too hard.
Meh.
I failed the second problem (auction problem). With a max of 10^18 iterations for one test case, it seems almost impossible. I don't have enough knowledge on any algorithms or data structures that can help (nothing beyond AP Computer Science).
Third problem: haven't attempted, but shouldn't be too hard.
Meh.