File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 9
9
L < https://projecteuler.net/problem=54 >
10
10
11
11
The file, poker.txt, contains one-thousand random hands dealt to two
12
- players. Each line of the file contains ten cards (separated by a single
13
- space): the first five are Player 1's cards and the last five are Player 2's
14
- cards. You can assume that all hands are valid (no invalid characters or
15
- repeated cards), each player's hand is in no specific order, and in each
16
- hand there is a clear winner.
12
+ players. Each line of the file contains ten cards (separated by a single
13
+ space): the first five are Player 1's cards and the last five are Player 2's
14
+ cards. You can assume that all hands are valid (no invalid characters or
15
+ repeated cards), each player's hand is in no specific order, and in each
16
+ hand there is a clear winner.
17
17
18
- How many hands does Player 1 win?
18
+ How many hands does Player 1 win?
19
19
20
20
= end pod
21
21
You can’t perform that action at this time.
0 commit comments