Search found 26 matches

by TimeString
Sun Aug 05, 2007 3:50 pm
Forum: Volume 112 (11200-11299)
Topic: 11256 - Repetitive Multiple
Replies: 15
Views: 6814

My previous program get wrong answer by the following case:

Code: Select all

1
787569631
The correct answer is 100100100100100. Hope it helps.
by TimeString
Fri Jul 27, 2007 8:15 am
Forum: Volume 101 (10100-10199)
Topic: 10187 - From Dusk Till Dawn
Replies: 50
Views: 17373

My code gets WA several times. Can someone tell me why??

Code: Select all

cut after AC...
Thanks.
by TimeString
Tue Jul 24, 2007 3:38 pm
Forum: Volume 100 (10000-10099)
Topic: 10044 - Erdos Numbers
Replies: 102
Views: 38857

Thanks Maniac. I simply followed what you said and got AC. The limit you gave is helpful. Let me try to say the input format again(for each case): P N paper database 1 paper database 2 ... paper database P author 1 author 2 ... author N For each line of paper database, like Maniac said, there are tw...
by TimeString
Thu Jul 19, 2007 2:59 pm
Forum: Volume 112 (11200-11299)
Topic: 11224 - Let's swim!
Replies: 17
Views: 7812

trick input

Hey, i got AC now ^^ My previous program gives wrong output for this case: 1 8 1 8 0:01:01 7 0:01:02 6 0:01:03 5 0:01:04 4 0:01:05 3 0:01:06 2 0:01:07 The correct output is: Case #1: Gustavo should be #8 during the qualification to achieve position #1 in the final. Hope it helps. P.S. What Darko sai...
by TimeString
Mon Jul 16, 2007 4:18 pm
Forum: Volume 104 (10400-10499)
Topic: 10438 - Meta Editor
Replies: 17
Views: 11361

My AC program gives output as below: a b a c b c a c b a b c b a c a b c b a b c a c b a b c b a c a b c a c b c b c a c b a b c a c b c a b a c a c a b c b a c a b c a c b a b b a b c b a c a b c a c b a a c a b c a c b c a b c b a b c a b c b a b c a b a c b a b c b b c a c b a b c a b a c b c b a...
by TimeString
Wed Jul 11, 2007 7:42 am
Forum: Volume 112 (11200-11299)
Topic: 11224 - Let's swim!
Replies: 17
Views: 7812

still WA

Hi, I get wrong answer, but I don't know why. Can someone help me?? Here is my solution: - Scan all possible times, i.e., from 00:01:00 to 09:59:99. - Exam in this time, how many competitors will defeat Gustavo in the qualification phase and how many competitors will defeat Gustavo in the final phas...
by TimeString
Sun Jun 03, 2007 4:27 am
Forum: Volume 112 (11200-11299)
Topic: 11201 - The problem of the crazy linguist
Replies: 21
Views: 9623

note that the summantion of all letters' possibilitiy is not exactly 100 ( over than it).
by TimeString
Tue Mar 27, 2007 6:00 am
Forum: Volume 107 (10700-10799)
Topic: 10729 - Treequivalence
Replies: 3
Views: 3740

same label, be careful!!

Hey, a tree could consist of same labels.
I used OLE to test and found that. Be carful.
by TimeString
Fri Mar 23, 2007 6:25 pm
Forum: Volume 4 (400-499)
Topic: 447 - Population Explosion
Replies: 23
Views: 2202

P.E.??

Thanks !!! Minilek this i/o was very useful , with this i see where is wrong, and I got AC, but P.E. :( my I/O is almost the same as yours only for one '\n' and i dont figure out how can avoid the P.E. please someone that helps Thanks in advance Keep posting!!! :) Hey, be careful the day it gives m...
by TimeString
Sun Jan 07, 2007 4:03 pm
Forum: Volume 102 (10200-10299)
Topic: 10236 - The Fibonacci Primes
Replies: 28
Views: 11168

Re: a hint

minskcity wrote:Does anybody know how to compute first nine digits of 250000th fibonachi number? :-?
You can use double.
by TimeString
Mon Nov 13, 2006 4:13 am
Forum: Volume 111 (11100-11199)
Topic: 11147 - KuPellaKeS BST
Replies: 12
Views: 4473

Re: Some TestCases

Try it: 4 -1 1 -1 1 My AC Code's Answer: Case #4: 1(-1(-1,1)) sort input -1 1 -1 1 -> -1 -1 1 1 does it means root=1, and left subtree={-1,-1,1}, and right subtree={<empty>}, and then left sum=-1 , right sum=0, difference=1? but my solution is: parent=-1 , left subtree={<empty>} , right subtree={-1...

Go to advanced search