Search found 7 matches

by owokko
Tue May 08, 2007 11:26 am
Forum: Volume 1 (100-199)
Topic: 122 - Trees on the level
Replies: 103
Views: 12910

I get WA for this problem. :-? Can anyone get me some test case? The step I solve problem is: 1. buliding Tree (node with node_pointer L, R and int D) 2. when I add a value to Tree, I will chaeck out the target node has been assign a value or not. (if the node has been assign a value. isComplete =0)...
by owokko
Sun May 06, 2007 1:52 pm
Forum: Volume 1 (100-199)
Topic: 120 - Stacks of Flapjacks
Replies: 118
Views: 16364

120 (Stacks of Flapjacks)

I get a problem with 120. Can anyone help me. :) I send my code to Online Judge and get "Runtime Error (Signal 11) " Is any function I did not include?? here are my code : //Question http://acm.uva.es/p/v1/120.html //CPU: 0.002, Memory: Minimum //state: Runtime Error (Signal 11) #include <...
by owokko
Sat May 05, 2007 9:51 am
Forum: Volume 1 (100-199)
Topic: 119 - Greedy Gift Givers
Replies: 145
Views: 30298

Thanks for kindness reply. :D

I change the part in my code and solve the problem. :)
by owokko
Fri May 04, 2007 4:21 pm
Forum: Volume 1 (100-199)
Topic: 119 - Greedy Gift Givers
Replies: 145
Views: 30298

I get a problem with 119. Can anyone help me, please I have test the groups of size 0 and 1. and test the case i found in this board but still get wrong :cry: . If the group with 0 person, my code will output "\n", if the group with equal or more than 1 person, it can work. please test my ...
by owokko
Sat Apr 28, 2007 4:03 pm
Forum: Volume 1 (100-199)
Topic: 111 - History Grading
Replies: 135
Views: 25382

Thx for reply.

But I still get WA.
What wrong with my code??

If the bug of my code is input or output, will you get me some hints or example, I am a new one to ACM, and usually get problem with input and output.

Regards
by owokko
Sat Apr 28, 2007 2:44 pm
Forum: Volume 1 (100-199)
Topic: 111 - History Grading
Replies: 135
Views: 25382

add the following line: #include<algorithm> the function max is defined there, although your compiler might have it declared as default. Thx a lot. online-judge will not get "Compiler ERROR" but I get "Wrong answer"?! woulu you get me some example of Input , the input from http:...
by owokko
Sat Apr 28, 2007 7:21 am
Forum: Volume 1 (100-199)
Topic: 111 - History Grading
Replies: 135
Views: 25382

111 (History Grading)

I get a problem with 111. http://acm.uva.es/p/v1/111.html It an application with LCS, I have 2 method for LCS (LCS1 and LCS2 in code) My code can run in my computer but get "compiler ERROR" in online-judge,and I do not know WHY!! Please get me some hints, thanks. here are my code (c++): //...

Go to advanced search