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
Discussion of Problem
1556
. Multishot in the Secret Cow Level
Show all threads
Hide all threads
Show all messages
Hide all messages
To admin:
yuhch
1556
. Multishot in the Secret Cow Level
18 Oct 2007 13:02
3
To admin:
yuhch
18 Oct 2007 07:06
My brute-force algo got ac... But it runs more than 1 minute on tests like this:
50000 1 50 0.4
-25000 -25000
-24999 -24999
-24998 -24998
-24997 -24997
-24996 -24996
.......
.......
24999 24999
25000 25000
Edited by author 18.10.2007 07:07
Re: To admin:
Sandro (USU)
18 Oct 2007 12:27
Thank you for test. By the way, this test is incorrect, K should be 2 or more for correctness of formula for A_i. So I have modified your test a little and added it.
Re: To admin:
yuhch
18 Oct 2007 13:02
oh...sorry it's my mistake
New topic
Style:
flat
|
tree
|
nested
Thread Order:
bubble
|
fixed
© 2000–2024
Timus Online Judge Team
. All rights reserved.