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
1144
. The Emperor's Riddle
Antonina Baskova
Does this problem has a deterministic polynomial solution? If such solution exists, can anybody send it to me (ioi@list.ru)
[2] // Problem
1144. The Emperor's Riddle
29 Nov 2002 19:11
Miguel Angel
No, combination of deterministics and NP is one solution, but the algorithm is elementary greedy (-)
[1] // Problem
1144. The Emperor's Riddle
1 Dec 2002 05:26
>
Mephistos
Re: No, combination of deterministics and NP is one solution, but the algorithm is elementary greedy (-)
// Problem
1144. The Emperor's Riddle
2 Dec 2002 15:49
I can't understand how the solution can be greedy :). If we take M =
2, we'll get problem about stones and two piles, which is NP-hard.
Maybe I misunderstood the problem? And I can realize WHAT IS K :)
© 2000–2025
Timus Online Judge Team
. All rights reserved.