Search found 84 matches

by FAQ
Thu Mar 23, 2006 4:52 pm
Forum: Volume 104 (10400-10499)
Topic: 10487 - Closest Sums
Replies: 89
Views: 30626

I still got WA :'(

I passed all tests posted on the board, but it's still WA :'( (also switched from bin-search to linear), please help me

Code: Select all

Aced
by FAQ
Sun Mar 05, 2006 12:06 pm
Forum: Volume 103 (10300-10399)
Topic: 10301 - Rings and Glue
Replies: 50
Views: 16523

I got AC, the mistake you mentioned + another mistake in compiler
Thanks a lot
by FAQ
Sun Mar 05, 2006 8:13 am
Forum: Volume 103 (10300-10399)
Topic: 10301 - Rings and Glue
Replies: 50
Views: 16523

I still got WA :'(

I searched forum for some tests and passed all of them, but still WA. Please help me

Code: Select all

Aced
by FAQ
Sat Mar 04, 2006 5:02 pm
Forum: Volume 109 (10900-10999)
Topic: 10990 - Another New Function
Replies: 32
Views: 15456

Thank sumankar a lot, I got AC now
It's such a stupid mistake. I'm still a beginner with C++ :-?
by FAQ
Sat Mar 04, 2006 1:54 pm
Forum: Volume 109 (10900-10999)
Topic: 10990 - Another New Function
Replies: 32
Views: 15456

Can someone help me why I got RE :'( It's ok with DevC++

Code: Select all

Aced
by FAQ
Wed Feb 08, 2006 2:58 am
Forum: Volume 109 (10900-10999)
Topic: 10983 - Buy one, get the rest free
Replies: 15
Views: 6248

Wow, your tools are really cool !!

I have checked my program with some special tests

1 1 0
100
output : 0

5 5 0
0 0 0 0 100
output : 0 (all passengers are already in the destination)
... But I still WA :'( ( the time running is ok )
by FAQ
Tue Feb 07, 2006 2:53 am
Forum: Volume 109 (10900-10999)
Topic: 10983 - Buy one, get the rest free
Replies: 15
Views: 6248

I really need some I/O too
Crazy with WAs...
by FAQ
Sat Feb 04, 2006 8:09 am
Forum: Volume 109 (10900-10999)
Topic: 10984 - Double NP-hard
Replies: 32
Views: 10472

I got ..P.E (the 50-th PE) at last
Thanks Hadi and kp for your explanations
Thanks Adbenego, nice problems :)
by FAQ
Sat Feb 04, 2006 8:07 am
Forum: Volume 109 (10900-10999)
Topic: 10989 - Bomb, Divide and Conquer
Replies: 25
Views: 13266

I got AC at last, thanks everyone :)
by FAQ
Wed Feb 01, 2006 6:33 am
Forum: Volume 109 (10900-10999)
Topic: 10984 - Double NP-hard
Replies: 32
Views: 10472

Could anyone explain to me, why we should use bi-color to solve it in bi-partie graph, please?
by FAQ
Wed Jan 25, 2006 8:10 am
Forum: Volume 109 (10900-10999)
Topic: 10989 - Bomb, Divide and Conquer
Replies: 25
Views: 13266

That's exactly what I tried but it's TLE, I wondered if we could do it better
by FAQ
Wed Jan 25, 2006 3:13 am
Forum: Volume 109 (10900-10999)
Topic: 10989 - Bomb, Divide and Conquer
Replies: 25
Views: 13266

TLE now :(

Now I tried all pairs (i, j) (i <> j) then TLE instead :'(
by FAQ
Wed Jan 25, 2006 2:19 am
Forum: Volume 109 (10900-10999)
Topic: 10989 - Bomb, Divide and Conquer
Replies: 25
Views: 13266

10989 - Bomb, Divide and Conquer

Could anyone explain this sentence to me please? What is the minimum total cost of bombing enough roads to ensure that there is some pair of cities that have no path between them? A path is a sequence of connected roads. I tried normal MaxFlow MinCut and WA :'(, so maybe I misunderstood the statement
by FAQ
Thu Dec 22, 2005 6:28 am
Forum: Volume 107 (10700-10799)
Topic: 10754 - Fantastic Sequence
Replies: 16
Views: 11165

I still got WA :'(

I tried tests of Cho. I have a question This test 1 9 9 -3 -1 4 a[0] = 4 a[1] = (-3) * 4 - 1 = -13 a[2] = (-3) * (-13) - 1 = 38 a[3] = (-3) * (38) - 1 = -115 a[4] = (-3) * (-115 ) - 1= 344 a[5] = (-3) * (344) - 1 = -1033 a[6] = (-3) * (-1033) - 1 = 3098 a[7] = (-3) * (3098) - 1 = -9295 a[8] = (-3) *...
by FAQ
Sun Dec 18, 2005 5:08 pm
Forum: Volume 108 (10800-10899)
Topic: 10870 - Recurrences
Replies: 14
Views: 7971

Great, I got AC now, thank you a lot, kp :)

Go to advanced search