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
1541
. Chase
Cat36
Where are answer is "No solution"?
[3] // Problem
1541. Chase
31 Oct 2008 03:49
I want to use greedy algorithm with particular cases
Number of particular cases is no more when 141 :)
Vedernikoff Sergey (HSE: EconomicsForever!)
Re: Where are answer is "No solution"?
[2] // Problem
1541. Chase
31 Oct 2008 12:55
The answer always exists. Greedy will not work - use brute-force
Cat36
Re: Where are answer is "No solution"?
// Problem
1541. Chase
31 Oct 2008 21:26
Thanks!
Cat36
Re: Where are answer is "No solution"?
// Problem
1541. Chase
17 Dec 2008 03:35
AC 0.015 without brute-force
one random value + greedy
© 2000–2024
Timus Online Judge Team
. All rights reserved.