ENG
RUS
Timus 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
1268
. Little Chu
Some clarification
Posted by
Borozdin Kirill [Psych Up club]
4 Oct 2012 18:57
There are some unobvious things in the statement:
1) k < n, not k <= n
2) if there are many answers exist, you should output the greatest one
Maybe it'll help somebody
© 2000–2024
Timus Online Judge Team
. All rights reserved.