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 1571. Interpreters

When answer will be "Impossible"?
Posted by tanas 6 Oct 2007 14:00
Re: When answer will be "Impossible"?
Posted by Samsonov Ivan (Rybinsk SAAT) 7 Oct 2007 18:54
In this test:
3
russian
russian
french
Re: When answer will be "Impossible"?
Posted by Arkadiy 7 Oct 2007 21:14
In test:
3
russian
russian
french
we can use new language, for example, "qwerty". The result must be:
3
russian-qwerty
french-qwerty
french-russian

I am right?
Re: When answer will be "Impossible"?
Posted by Skiminok 7 Oct 2007 21:24
You aren't right. When crews "russian-2" and "french" want to communicate each other, another crew "russian-1" can understand their talk, because Russian is used in it!
Re: When answer will be "Impossible"?
Posted by thanhsang 7 Oct 2007 21:32
I Don't know why?
Re: When answer will be "Impossible"?
Posted by Arkadiy 7 Oct 2007 21:34
So, if there are two crews with the identical name, the answer will be "Impossible"?

If, it's true, the problem becomes trivial. We create new language and connected it with each crews. ?
Re: When answer will be "Impossible"?
Posted by Arkadiy 7 Oct 2007 21:56
input:
4
russian
german
russian
german

answer:
5
russian-eng
russian-fra
german-eng
german-fra
eng-fra

it's true?
or result will be "Impossible"?

Edited by author 07.10.2007 21:58

Edited by author 07.10.2007 21:59
Re: When answer will be "Impossible"?
Posted by Arkadiy 7 Oct 2007 22:07
Thanks for all. AC. The problem is really trivial!
Re: When answer will be "Impossible"?
Posted by alp 1 Feb 2012 22:02
Impossible
Re: When answer will be "Impossible"?
Posted by alp 1 Feb 2012 22:02


Impossible
Arkadiy wrote 7 October 2007 21:56
input:
4
russian
german
russian
german

answer:
5
russian-eng
russian-fra
german-eng
german-fra
eng-fra

it's true?
or result will be "Impossible"?

Edited by author 07.10.2007 21:58

Edited by author 07.10.2007 21:59