dicegame - bradendubois/competitive-programming GitHub Wiki
Dice Game
ID: dicegame
Difficulty: 1.6
CPU Time: 1 second
Memory: 1024 MB
Solution
Simply keep a tally of the wins for each, Gunnar and Emma, and simply generating all the possible rolls of Gunnar and Emma, and comparing them all (incrementing the tally of who would win) lets one simply compare the number of wins of each to see who won more (assuming it's not a tie).