Search found 4 matches

by ryx
Mon Nov 05, 2018 9:52 pm
Forum: Volume 1 (100-199)
Topic: 188 - Perfect Hash
Replies: 9
Views: 5203

Why the answer always exist?

Does anyone know, for every possible input, how to guarantee there is always an answer exist?
I have no ideas.
Thanks
by ryx
Sat Oct 22, 2016 4:25 pm
Forum: Volume 116 (11600-11699)
Topic: 11627 - Slalom
Replies: 1
Views: 1133

11627 - Slalom wrong answer

Why do I keep wrong answer for this problem?
I also searched accepted solutions online and submitted them, but all of them get wrong answer!
Is there something wrong in the judge system?
Or is there very difficult input data?

thanks
by ryx
Thu Oct 01, 2015 3:16 am
Forum: Volume 103 (10300-10399)
Topic: 10304 - Optimal Binary Search Tree
Replies: 24
Views: 12633

Re:

Larry wrote:You need to use Knuth's algorithm, it runs in O(n^2) instead of O(n^3)..
Could you explain what Knuth's algorithm is?
Thank you so much.
by ryx
Fri Jul 10, 2015 3:01 am
Forum: Volume 100 (10000-10099)
Topic: 10061 - How many zero's and how many digits ?
Replies: 43
Views: 21674

A hard test case

You can try this case
41 26

Go to advanced search