ENG  RUSTimus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to thread

Discussion of Problem 2082. Poker

Reply to message

  • Messages should be written in English and correspond to the matter of the website.
  • Messages should not contain offences and obscene words.
  • Messages should not contain correct solutions.
Some tests
Posted by bsu.mmf.team 12 Jun 2016 14:03
Don't make 100+ submissions like I did.
Just check these tests to make sure you correctly understand the problem description.

Test #1:
10 20 0
5 3 4
turn
1 100
2 100
3 100
4 100
5 100
6
1 calls 20
2 calls 20
3 calls 20
4 calls 10
5 checks
dealing flop
80 80 80 80 80

answer:
6
4 checks
5 checks
1 checks
2 checks
3 checks
dealing turn

Test #2:
10 20 10
5 3 3
turn
1 11
2 12
3 100
4 100
5 100
7
1 calls 1
2 calls 2
3 raises 10 to 30
4 folds
5 calls 10
dealing flop
5 checks
0 0 50 80 45

answer:
4
3 bets 10
5 calls 10
dealing turn
5 bets 5

Test #3 (this is what 10th test about):
10 20 0
5 3 4
flop
1 200
2 100
3 100
4 200
5 100
3
1 calls 20
2 calls 20
3 raises 20 to 100
100 80 0 100 80

answer:
5
4 calls 90
5 folds
1 calls 80
2 folds
dealing flop

Test #4: (this is what 32th test about - pay attention to the order of players' turns)
10 20 0
2 2 1
river
1 1000
2 1000
10
2 calls 10
1 checks
dealing flop
1 bets 20
2 raises 30 to 50
1 calls 30
dealing turn
1 checks
2 checks
dealing river
900 830

answer:
2
1 bets 30
2 raises 70 to 100

Test #5: (This is what 33th test about, 0 - is the wrong answer!!!!)
10 20 0
3 3 3
flop
1 100
2 100
3 100
0
80 80 80

answer:
6
3 calls 20
1 calls 10
2 checks
dealing flop
1 checks
2 checks

Good luck!!!

Edited by author 12.06.2016 14:04

Edited by author 13.06.2016 20:51


JUDGE_ID
Subject