Notes
This function is in beta test. Please help improve it in the issues
here.
Hints
Your answer may be identical to the JOJ answer in the first several lines.
However, the main problem you meet now is Time Exceeded. And the exit code of your program is -9, which should be 0.
Please double check your code to solve this problem and try again.
Your Answer
Shuffling the deck cut at 39 cut at 22 cut at 33 cut at 37 cut at 38 cut at 37 cut at 38 Hand 1 bankroll 23658 Player: Joseph Joestar bets 5 Player: Joseph Joestar dealt King of Spades Dealer: Suzumiya Haruhi dealt Three of Diamonds Player: Joseph Joestar dealt Six of Diamonds Player: Joseph Joestar's total is 16 Dealer: Suzumiya Haruhi's hole card is Four of Spades Dealer: Suzumiya Haruhi dealt Ten of Hearts Dealer: Suzumiya Haruhi's total is 17 Dealer: Suzumiya Haruhi wins this hand Player: Joseph Joestar has 23653 after 1 hands Hand 2 bankroll 23653 Player: Joseph Joestar bets 5 Player: Joseph Joestar dealt King of Hearts Dealer: Suzumiya Haruhi dealt Ace of Clubs Player: Joseph Joestar dealt Seven of Hearts Player: Joseph Joestar's total is 17 Dealer: Suzumiya Haruhi's hole card is Three of Clubs Dealer: Suzumiya Haruhi dealt Jack of Spades Dealer: Suzumiya Haruhi dealt Eight of Diamonds Dealer: Suzumiya Haruhi's total is 22 Dealer: Suzumiya Haruhi busts Player: Joseph Joestar has 23658 after 2 hands Hand
JOJ Answer
Shuffling the deck cut at 39 cut at 22 cut at 33 cut at 37 cut at 38 cut at 37 cut at 38 Hand 1 bankroll 23658 Player: Joseph Joestar bets 5 Player: Joseph Joestar dealt King of Spades Dealer: Suzumiya Haruhi dealt Three of Diamonds Player: Joseph Joestar dealt Six of Diamonds Player: Joseph Joestar's total is 16 Dealer: Suzumiya Haruhi's hole card is Four of Spades Dealer: Suzumiya Haruhi dealt Ten of Hearts Dealer: Suzumiya Haruhi's total is 17 Dealer: Suzumiya Haruhi wins this hand Hand 2 bankroll 23653 Player: Joseph Joestar bets 5 Player: Joseph Joestar dealt King of Hearts Dealer: Suzumiya Haruhi dealt Ace of Clubs Player: Joseph Joestar dealt Seven of Hearts Player: Joseph Joestar's total is 17 Dealer: Suzumiya Haruhi's hole card is Three of Clubs Dealer: Suzumiya Haruhi dealt Jack of Spades Dealer: Suzumiya Haruhi dealt Eight of Diamonds Dealer: Suzumiya Haruhi's total is 22 Dealer: Suzumiya Haruhi busts Hand 3 bankroll 23658 Player: Joseph Joestar bets 5 Player: Joseph Joestar dealt Eight of Clubs De