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 6 Player: Suzumiya Haruhi bets 10 Player: Suzumiya Haruhi dealt King of Spades Dealer: Joseph Joestar dealt Three of Diamonds Player: Suzumiya Haruhi dealt Six of Diamonds Player: Suzumiya Haruhi's total is 16 Dealer: Joseph Joestar's hole card is Four of Spades Dealer: Joseph Joestar dealt Ten of Hearts Dealer: Joseph Joestar's total is 17 Dealer: Joseph Joestar wins this hand Player: Suzumiya Haruhi has -4 after 1 hands Player: Suzumiya Haruhi has been kicked out. The winner of this round is Joseph Joestar. Dealer: Joseph Joestar: "Nice!" Shuffling the deck cut at 23 cut at 23 cut at 22 cut at 39 cut at 33 cut at 19 cut at 25 Hand 1 bankroll 6 Player: Nagato Yuki bets 5 Player: Nagato Yuki dealt Three of Clubs Dealer: Joseph Joestar dealt Ace of Spades Player: Nagato Yuki dealt Ace of Hearts Player: Nagato Yuki dealt Eight of Diamonds Player: Nagato Yuki dealt Two of Hearts Player: Nagato Yuki dealt Quee
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 6 Player: Suzumiya Haruhi bets 10 Player: Suzumiya Haruhi dealt King of Spades Dealer: Joseph Joestar dealt Three of Diamonds Player: Suzumiya Haruhi dealt Six of Diamonds Player: Suzumiya Haruhi's total is 16 Dealer: Joseph Joestar's hole card is Four of Spades Dealer: Joseph Joestar dealt Ten of Hearts Dealer: Joseph Joestar's total is 17 Dealer: Joseph Joestar wins this hand Player: Suzumiya Haruhi has -4 after 1 hands Player: Suzumiya Haruhi has been kicked out. The winner of this round is Joseph Joestar. Dealer: Joseph Joestar: "Nice!" Shuffling the deck cut at 23 cut at 23 cut at 22 cut at 39 cut at 33 cut at 19 cut at 25 Hand 1 bankroll 6 Player: Nagato Yuki bets 5 Player: Nagato Yuki dealt Three of Clubs Dealer: Joseph Joestar dealt Ace of Spades Player: Nagato Yuki dealt Ace of Hearts Player: Nagato Yuki dealt Eight of Diamonds Player: Nagato Yuki dealt Two of Hearts Player: Nagato Yuki dealt Quee