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 2071. Juice Cocktails

tests
Posted by Felix_Mate 13 Dec 2015 17:12
test:
 3
 A
 B
 ABP

 my ans: 3
         2 3 1

test
 5
 A
 B
 ABP
 AB
 AP

 my ans: 3
         2 4 3 5 1

test
 7
 A
 AP
 BP
 ABP
 P
 BP
 BP

 my ans: 3
         5 3 6 7 4 2 1


Edited by author 13.12.2015 17:36