Record Case Detail

Notes

This function is in beta test. Please help improve it in the issues here.

Stderr

terminate called after throwing an instance of 'DeckEmpty'

Hints

Your answer may be identical to the JOJ answer in the first several lines.

However, the main problem you meet now is Runtime Error. And the exit code of your program is -6, 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 7940
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 7930 after 1 hands 
Hand 2 bankroll 7930
Player: Suzumiya Haruhi bets 10
Player: Suzumiya Haruhi dealt King of Hearts
Dealer: Joseph Joestar dealt Ace of Clubs
Player: Suzumiya Haruhi dealt Seven of Hearts
Player: Suzumiya Haruhi's total is 17
Dealer: Joseph Joestar's hole card is Three of Clubs
Dealer: Joseph Joestar dealt Jack of Spades
Dealer: Joseph Joestar dealt Eight of Diamonds
Dealer: Joseph Joestar's total is 22
Dealer: Joseph Joestar busts
Player: Suzumiya Haruhi has 7940 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 7940
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
Hand 2 bankroll 7930
Player: Suzumiya Haruhi bets 10
Player: Suzumiya Haruhi dealt King of Hearts
Dealer: Joseph Joestar dealt Ace of Clubs
Player: Suzumiya Haruhi dealt Seven of Hearts
Player: Suzumiya Haruhi's total is 17
Dealer: Joseph Joestar's hole card is Three of Clubs
Dealer: Joseph Joestar dealt Jack of Spades
Dealer: Joseph Joestar dealt Eight of Diamonds
Dealer: Joseph Joestar's total is 22
Dealer: Joseph Joestar busts
Hand 3 bankroll 7940
Player: Suzumiya Haruhi bets 10
Player: Suzumiya Haruhi dealt Eight of Clubs
Dea