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 1739. Faryuks

Test data
Posted by Tolstobrov Anatoliy[Ivanovo SPU] 10 Oct 2016 19:09
Some data which will help understand problem and test it!

Test:
2
40 223

Answer:
3
aromatize 1
dearomatize 1
take 2 1 2


Test:
3
50 55 158

Answer:
3
aromatize 2
dearomatize 1
take 3 1 2 3


Test:
4
100 512 128 146

Answer:
3
aromatize 1
dearomatize 2
take 4 1 2 3 4


Test:
2
100 135

Answer:
IMPOSSIBLE


Test:
2
400 31

Answer:
IMPOSSIBLE

Test:
2
100 171

Answer:
IMOSSIBLE
Re: Test data
Posted by BigBag 9 Jan 2018 21:17
Thank you very much!

I got AC from first submit after my code finally work on all your test cases.