pauleigon - bradendubois/competitive-programming GitHub Wiki

Paul Eigon

ID: pauleigon

Difficulty: 1.8

CPU Time: 1 second

Memory: 1024 MB

Solution

For this, add up P and Q, the total points earned, and divide it by N. If this number is even, then there's been an even number of switches, so it is paul, otherwise, opponent.