Search found 17 matches

by Melon Melon
Fri Jul 26, 2002 1:16 pm
Forum: Volume 102 (10200-10299)
Topic: 10226 - Hardwood Species
Replies: 121
Views: 38099

i wonder what is the use of the variable "count"???? :roll:
by Melon Melon
Mon Jul 15, 2002 6:50 pm
Forum: Volume 4 (400-499)
Topic: 401 - Palindromes
Replies: 196
Views: 31365

mm...
yes..i ve tried subeen's one...but still cant get where get wrong...
and for udcp's one..
i ve sent to the judge...it got accepted..
....
so...strange..for both..-__-"
by Melon Melon
Wed Jul 10, 2002 7:29 am
Forum: Volume 6 (600-699)
Topic: 694 - The Collatz Sequence
Replies: 46
Views: 15913

694 ~ The Collatz Sequence

I got time limited exceed...
..
would anyone give me some test cases..pls?!..
or...the possible reasons..cause the time limited exceed...pls?!..
by Melon Melon
Sat Jul 06, 2002 2:17 pm
Forum: Volume 7 (700-799)
Topic: 706 - LCD Display
Replies: 221
Views: 35029

oic...
ths a lot!!!
^___^
by Melon Melon
Sat Jul 06, 2002 1:23 pm
Forum: Volume 7 (700-799)
Topic: 706 - LCD Display
Replies: 221
Views: 35029

ths both.. :D ... i ve dealt with last digit.. but i dont know why still got WA.... :( ... here is my code...where get bugs??? [c] #include <stdio.h> #include <string.h> /* global variables */ int no[10][7] = {{1, 1, 1, 0, 1, 1, 1}, {0, 0, 1, 0, 0, 1, 0}, {1, 0, 1, 1, 1 ,0, 1}, {1, 0, 1, 1, 0, 1, 1}...
by Melon Melon
Sat Jul 06, 2002 12:02 pm
Forum: Volume 7 (700-799)
Topic: 706 - LCD Display
Replies: 221
Views: 35029

help....

i get WA for this Qs..
i wonder what is the meaning of
Be sure to fill all the white space occupied by the digits with blanks, also for the last digit.
where the "last digit"... is it needed special manipulation on it??
i just treate it as usual digits..can i?????
by Melon Melon
Tue Jun 25, 2002 11:59 am
Forum: C
Topic: floating exception??!!
Replies: 2
Views: 2330

floating exception??!!

:roll: what "floating exception" is....
and how to deal with it............
by Melon Melon
Mon Jun 24, 2002 2:12 pm
Forum: Volume 102 (10200-10299)
Topic: 10200 - Prime Time
Replies: 202
Views: 61241

my problem solved.....
ths ths....... :D
by Melon Melon
Mon Jun 24, 2002 1:21 pm
Forum: Volume 102 (10200-10299)
Topic: 10200 - Prime Time
Replies: 202
Views: 61241

O... :oops:
sorry that i ask wrongly..
the question no should be 10220...........
by Melon Melon
Mon Jun 24, 2002 12:03 pm
Forum: Volume 102 (10200-10299)
Topic: 10200 - Prime Time
Replies: 202
Views: 61241

The following is the way i solve it.... [c] #include <stdio.h> #include <stdlib.h> #include <string.h> #define BASE 1000000 int main(int argv, char *argc[]) { unsigned *factorial; int n, size, i, j; int sum, length; char str[7]; while(scanf("%d", &n) != EOF) { size = 1; factorial = (unsigned *)mallo...
by Melon Melon
Mon Jun 24, 2002 5:32 am
Forum: Volume 102 (10200-10299)
Topic: 10200 - Prime Time
Replies: 202
Views: 61241

10200

i get time limit exceeded for this question..
what are the possible reason causing it??
and how to solve it???
by Melon Melon
Fri Jun 21, 2002 5:22 am
Forum: Volume 4 (400-499)
Topic: 401 - Palindromes
Replies: 196
Views: 31365

i got accepted..
Ths a lot!!^^
by Melon Melon
Fri Jun 21, 2002 3:28 am
Forum: Volume 4 (400-499)
Topic: 401 - Palindromes
Replies: 196
Views: 31365

Sorry...
i dont understand what u mean....
by Melon Melon
Thu Jun 20, 2002 7:32 pm
Forum: Volume 4 (400-499)
Topic: 401 - Palindromes
Replies: 196
Views: 31365

Help for 401

I get wrong answer for this question(401). Please help me to see where get wrong! Ths a lot!! [c] #include <stdio.h> #include <string.h> #include <ctype.h> int palindrome(char str[]) { int length, i; length = strlen(str); for(i = 0; i < length/2; i++) { if(str != str[length - 1 - i]) return 0; } ret...
by Melon Melon
Sun Jun 02, 2002 4:02 pm
Forum: C
Topic: What is Dynamic Programming??
Replies: 4
Views: 2941

What is Dynamic Programming??

:roll: As topic.

Go to advanced search