Posts by Victorln1 • 11 points
1 post
-
1
votes0
answers44
viewsQ: Optimization in competitive programming - C++ - TLE problem
I’m solving a question that asks us to print on the screen the winner id of each test round. The game works as follows: N cards are dealt to P players of a total of G cards. The letter [G - N*P+1]…