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 1414. Astronomical Database

how about this test? IMHO TLE anyway...
Posted by Alexander Prudaev 2 Sep 2006 00:03
+a1
+a2
...
+a5000
?a
?a
?a

and 5000 queries ?a
or this operations in random order
IMHO O(N^2) - is best. I am right?

I try to solve this with red&blak tries but WA#5
what's in this test?
Re: how about this test? IMHO TLE anyway...
Posted by AlexF 2 Sep 2006 21:42
I had WA#5 when my program gives more then 20 names of stars.