Record Case Detail

Notes

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

Stderr


        

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 -11, which should be 0.

Please double check your code to solve this problem and try again.

Your Answer

Hand 1 bankroll 500
Player bets 5
Player dealt Two of Spades
Dealer dealt Three of Spades
Player dealt Six of Spades
Player dealt Seven of Spades
Player dealt Eight of Spades
Player dealt Nine of Spades
Player busts
Hand 2 bankroll 495
Player bets 5
Player dealt Ten of Spades
Dealer dealt Jack of Spades
Player dealt Ace of Spades
Player busts
Hand 3 bankroll 490
Player bets 5
Player dealt Two of Hearts
Dealer dealt Three of Hearts
Player dealt Six of Hearts
Player dealt Seven of Hearts
Player dealt Eight of Hearts
Player dealt Nine of Hearts
Player busts
Hand 4 bankroll 485
Player bets 5
Player dealt Ten of Hearts
Dealer dealt Jack of Hearts
Player dealt Ace of Hearts
Player busts
Hand 5 bankroll 480
Player bets 5
Player dealt Two of Clubs
Dealer dealt Three of Clubs
Player dealt Six of Clubs
Player dealt Seven of Clubs
Player dealt Eight of Clubs
Player dealt Nine of Clubs
Player busts
Hand 6 bankroll 475
Player bets 5
Player dealt Ten of Clubs
Dealer dealt Jack of Clubs
Player dealt Ace of Clubs
Player bust

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 500
Player bets 5
Player dealt King of Spades
Dealer dealt Three of Diamonds
Player dealt Six of Diamonds
Player's total is 16
Dealer's hole card is Four of Spades
Dealer dealt Ten of Hearts
Dealer's total is 17
Dealer wins
Hand 2 bankroll 495
Player bets 5
Player dealt King of Hearts
Dealer dealt Ace of Clubs
Player dealt Seven of Hearts
Player's total is 17
Dealer's hole card is Three of Clubs
Dealer dealt Jack of Spades
Dealer dealt Eight of Diamonds
Dealer's total is 22
Dealer busts
Hand 3 bankroll 500
Player bets 5
Player dealt Eight of Clubs
Dealer dealt Two of Spades
Player dealt Nine of Spades
Player's total is 17
Dealer's hole card is Jack of Hearts
Dealer dealt Ten of Diamonds
Dealer's total is 22
Dealer busts
Hand 4 bankroll 505
Player bets 5
Player dealt Jack of Diamonds
Dealer dealt Ace of Spades
Player dealt Eight of Spades
Player's total is 18
Dealer's hole card is Four of Hearts
Dealer deal