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 board

Discussion of Problem 2082. Poker

to admins
Posted by Combatcook 5 Jun 2016 19:44
Несколько вопросов по условию задачи:
1) В условии сказано: "В третьей строке расположена текущая улица — preflop, flop, turn или river."
"Действиями могут быть ходы игроков или переход на следующую улицу (dealing)."
Но в примерах 2 и 3 текущая улица - flop, переход тоже осуществляется на flop...
Где ошибка - в примере или в условии (или я что-то не так понял..)?
2) Возможна ли такая ситуация, что у игрока не хватает денег поставить анте или блайнд (то
есть ему приходится для этого идти ва-банк)?
Если да, то может ли игрок принимать участие в дальнейших торгах?
Заранее спасибо за пояснения.
Re: to admins
Posted by bsu.mmf.team 6 Jun 2016 13:00
1) There're all history of players' turns in the test starting from preflop. So if, for example, the current street is river - it always should be 'dealing flop', 'dealing turn' and 'dealing river' strings, inside the input or inside the output, but never inside both of them.

2) "If player calls all-in, that action is presented in the input as raise, bet or call"
The situation you described is possible. The player who called all-in goes in a "freeze" state - he can't do anything. It's like he folded.
Re: to admins
Posted by Combatcook 6 Jun 2016 19:30
Thank you!
But that phrase is not clear to me: "inside the input or inside the output, but never inside both of them". So, if we have that current street is river, why can't 'dealing flop' and
'dealing turn' be inside the input, and 'dealing river' inside the output respectivly?
Re: to admins
Posted by bsu.mmf.team 8 Jun 2016 03:14
I mean, each of these strings appear exactly once. One of possible situations is what you described.
Re: to admins
Posted by Shen Yang 19 Sep 2017 14:28
1.on test 15,  if someone have not enough money to bet ante Does he go all_in and get folded?

2. when bot get folded , is output  over and doesn't include this line?

Edited by author 19.09.2017 14:29