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 1730. ManBearPig

Question to Authors about several answers
Posted by Alex Danilyuk [SESC USU Dandelion] 9 Aug 2013 14:08
input:
man-bear-pig
1/2 1/4 1/4
output:
7
man
man
pig
bear
1 2
3 4
5 6

input:
man-bear-pig
1/2 1/4 1/4
output:
5
man
bear
pig
2 3
1 4

Are both of answers correct?

input:
man
1/1
output:
7
man
man
man
man
1 2
3 4
5 6

Is this answer correct?