Search found 149 matches

by nymo
Fri Mar 16, 2007 5:52 pm
Forum: Volume 8 (800-899)
Topic: 880 - Cantor Fractions
Replies: 24
Views: 16911

I got ACC:)

Hi, I got ACC :D, ... a silly mistake :oops:
by nymo
Mon Mar 12, 2007 6:11 am
Forum: Bugs and suggestions
Topic: Judge Status Halted
Replies: 5
Views: 2180

Author Statistics...

I am not sure if it is only my problem, but it seems that my author statistics is also not updating ...
by nymo
Wed Feb 28, 2007 6:29 pm
Forum: Volume 102 (10200-10299)
Topic: 10293 - Word Length and Frequency
Replies: 18
Views: 7614

Newlines after the last case!!!

Hi, I also got P.E. and after reading this post, I changed my code to handle newlines after the last case... it is ACC now. If you got P.E., this change is worth trying. Thanks to Sohel for pointing out this.
by nymo
Mon Feb 12, 2007 9:43 am
Forum: Volume 105 (10500-10599)
Topic: 10527 - Persistent Numbers
Replies: 26
Views: 11219

SOME IO PLEASE...

Somebody please post some IO. I 've tried some and my code gives correct ans. on them; still WA. Is it possible to have leading 0s?

[EDIT] I 've found my error, :oops: , I wasn't assigning null to the string representing the number correctly after division.
by nymo
Mon Feb 12, 2007 9:35 am
Forum: Off topic (General chit-chat)
Topic: I win !!
Replies: 361
Views: 121023

:) nope, still a long way ... I guess :lol:
by nymo
Mon Jan 08, 2007 8:14 am
Forum: Volume 103 (10300-10399)
Topic: 10397 - Connect the Campus
Replies: 75
Views: 24849

to sakhassan:

Hi sakhassan, use of malloc() should be done judiciously... it may cause you RTEorMLE... I haven't gone through your code... rather, posting mine in stead... [no dynamic memory needed]. long p[SIZE + 1]; long rank[SIZE + 1]; void MakeSet(long x) { p[x] = x; rank[x] = 0; } void Union(long x, long y) ...
by nymo
Mon Jan 08, 2007 8:02 am
Forum: Off topic (General chit-chat)
Topic: I win !!
Replies: 361
Views: 121023

loghiyan, Please, don't lie... :oops: :P :wink:
by nymo
Sun Jan 07, 2007 4:13 pm
Forum: Off topic (General chit-chat)
Topic: I win !!
Replies: 361
Views: 121023

you were telling the truth, loghiyan was not also lying and ... we were not all too counfused to reply ..... may be, now we are :D
by nymo
Wed Dec 27, 2006 3:29 pm
Forum: Volume 108 (10800-10899)
Topic: 10842 - Traffic Flow
Replies: 17
Views: 9593

Explanation please :)

Problem statement says:

Code: Select all

They want to do it in such a way that the minimum capacity among all of the remaining roads is as large as possible.
I am afraid that I don't understand the meaning... Can someone explain it with the second test case?
... Thanks in advance...
by nymo
Mon Dec 18, 2006 8:46 pm
Forum: Volume 5 (500-599)
Topic: 531 - Compromise
Replies: 73
Views: 24713

to SAKHASSAN:

You are printing extra blank after the last word and extra newline between test cases. However, that should be P.E. if all other things are okay ...
by nymo
Fri Dec 15, 2006 12:26 pm
Forum: Volume 106 (10600-10699)
Topic: 10611 - The Playboy Chimp
Replies: 44
Views: 16807

Thanks :)

Thanks helloneo, I get ACC. As far as I recall, I pretty much did the same thing and got P.E. and then I changed to different formats... Don't know what is changed... anyway, ACC now and thanks.
by nymo
Thu Dec 14, 2006 7:11 pm
Forum: Volume 106 (10600-10699)
Topic: 10611 - The Playboy Chimp
Replies: 44
Views: 16807

WHY P.E. ?

I think, arsalan_mousavian wished to say: 5 5 5 5 5 5 1 5 ... anyway, I am getting P.E. on this problem, What is the expected format? I tried: if(!lower) printf("%c ", 'X'); else printf("%ld ", lower); if(!higher) printf("%c", 'X'); else printf("%ld", higher); ... and I 've tried both with printing ...
by nymo
Tue Dec 12, 2006 6:38 pm
Forum: Volume 100 (10000-10099)
Topic: 10070 - Leap Year or Not Leap Year and ...
Replies: 233
Views: 51636

problem statement says: A blank line should separate the output for each line of input. This means that you are supposed to print blanks only between test cases and NOT after the last case. and two more things ... USE code tag, otherwise, it is difficult to get the things right(at least indentation ...
by nymo
Mon Dec 11, 2006 6:26 pm
Forum: Volume 5 (500-599)
Topic: 524 - Prime Ring Problem
Replies: 74
Views: 18395

Thanks

Thanks, I was only looking for blanks between test cases..., now P.E. matters ;)
by nymo
Sun Dec 03, 2006 9:14 pm
Forum: Volume 4 (400-499)
Topic: 481 - What Goes Up
Replies: 82
Views: 12998

Acc now :)

Acc now, fixed a small bug, i wasn't updating parent array in a proper way :oops: Thanks.

Go to advanced search