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 2052. Physical Education

What is output for 10?
Posted by Nodir NAZAROV [TUIT-Karshi] 10 Dec 2015 23:44
There are two ways of re-forming:
1. While replacing, original line must not shift to right or left. In this case the answer is 1 (10 goes after 1, hence only 1 stays in it's place).
2. If original line can shift, then the answer is 8 (numbers from 2 to 9 doesn't move).

Both algorithm failed, maybe something is missing in problem statement?
Re: What is output for 10?
Posted by Nodir NAZAROV [TUIT-Karshi] 10 Dec 2015 23:58
What is the answer for 20? 1 or 2 or 3?
Re: What is output for 10?
Posted by Nodir NAZAROV [TUIT-Karshi] 17 Dec 2015 02:24
I've found the test..