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 1510. Order

Yuri.Pechatnov Bad tests( [4] // Problem 1510. Order 29 Jun 2011 17:18
Add this test, please
45
1 1 1 1 1 2 2 2 2 2 3 3 3 3 3 0 0 0 0 4 0 0 0 0 5 0 0 0 0 6 0 0 0 0 7 0 0 0 0 8 0 0 0 0 9
Good answer
0
But some greedy algorythms answer
1
P.S. Sorry for my english(
amirani Re: Bad tests( [1] // Problem 1510. Order 17 Jan 2012 15:01
my algo wrote 9 :D :D :D
amirani Re: Bad tests( // Problem 1510. Order 17 Jan 2012 15:01
thanks heped me i think test 7 is like that
Besvrebrov Re: Bad tests( [1] // Problem 1510. Order 24 Apr 2012 22:25
а где вы видели купюры достоинством 0 (рублей, долларов, евро, фунтов, франков...) ??? ;)
Andrew Sboev Re: Bad tests( // Problem 1510. Order 28 Apr 2012 18:32
"В следующих N строках даны достоинства K этих банкнот (0 <= K <= 10^9)."