Programming Challenges. The Programming Contest Training Manual (2006)
by Book Educational
Submitted by
D
*dash.png (@dasha) 518c 10.58
Ranked
Programming Challenges. The Programming Contest Training Manual
by Steven S Skiena, Miguel A. Revilla
Input⏎ The input file contains several lines, each containing the designation of ten cards: the first five cards are the hand for the player named "Black" and the next five cards are the hand for the player named "White".⏎ ⏎ Output⏎ For each line of input, print a line containing one of the following:⏎ ⏎ Black wins.⏎ White wins.⏎ Tie.⏎ ⏎ Sample Input⏎ 2H 3D 5S 9C KD 2C 3H 4S 8C AH⏎ 2H 4S 4C 2D 4H 2S 8S AS QS 3S⏎ 2H 3D 5S 9C KD 2C 3H 4S 8C KH⏎ 2H 3D 5S 9C KD 2D 3H 5C 9S KH⏎ ⏎ Sample Output⏎ White wins.⏎ Black wins.⏎ Black wins.⏎ Tie.🏁
Submitted by *dash.png (@dasha) - 11/16/2025
Book Educational 10.58 Ranked
Global Leaderboard
| # | Player | Time | Duration | Accuracy | WPM | pp | ||
|---|---|---|---|---|---|---|---|---|
| 1 | ||||||||
| 2 | ||||||||
| 3 | ||||||||
| 4 | ||||||||
| 5 | ||||||||
| 6 | ||||||||
| 7 | ||||||||
| 8 | ||||||||
| 9 | ||||||||
| 10 |
Programming Challenges. The Programming Contest Training Manual
by Steven S Skiena, Miguel A. Revilla
Input⏎ The input file contains several lines, each containing the designation of ten cards: the first five cards are the hand for the player named "Black" and the next five cards are the hand for the player named "White".⏎ ⏎ Output⏎ For each line of input, print a line containing one of the following:⏎ ⏎ Black wins.⏎ White wins.⏎ Tie.⏎ ⏎ Sample Input⏎ 2H 3D 5S 9C KD 2C 3H 4S 8C AH⏎ 2H 4S 4C 2D 4H 2S 8S AS QS 3S⏎ 2H 3D 5S 9C KD 2C 3H 4S 8C KH⏎ 2H 3D 5S 9C KD 2D 3H 5C 9S KH⏎ ⏎ Sample Output⏎ White wins.⏎ Black wins.⏎ Black wins.⏎ Tie.🏁
Submitted by *dash.png (@dasha) - 11/16/2025
Book Educational 10.58 Ranked
