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 2078. Bowling game

No subject
Posted by nurbolat96 4 Jun 2016 19:38
Wrong answer in test №17
Re: No subject
Posted by Evgeny 5 Jul 2016 21:15
Me too. Who knows how to resolve this problem?
Re: No subject
Posted by Tolstobrov Anatoliy[Ivanovo SPU] 11 Jul 2016 13:05
0 0 0 0 0 0 0 0 10 30
Answer: 50 60

0 0 0 0 0 0 0 10 10 30
Answer: 60 90

0 0 0 0 0 0 0 10 10 21
Answer: 51 81

0 0 0 0 0 0 0 10 10 20
Answer: 40 80

Edited by author 11.07.2016 13:21
Re: No subject
Posted by xurshid_n 31 Oct 2016 21:48
>> 0 0 0 0 0 0 0 10 10 21 : min = 51 - how ??
last frame:  [ 10  , 10  , 1 ]-> gets min=51, but
last frame:  [ 1  , 10 , 10 ] - > gets min = 42 --> why this is not possible?
Re: No subject
Posted by [MAI] Belousov Stepan 15 Jul 2017 22:44
[ 1  , 10 , 10 ] is not possible because there are only 9 pins after the first roll here. So you cannot knock down 10 pins in the second roll.