Search found 18 matches

by kurnia w
Tue Aug 02, 2005 7:05 am
Forum: Algorithms
Topic: Question about intro Sort / Introspective Sort...
Replies: 0
Views: 991

Question about intro Sort / Introspective Sort...

Hi... can anyone help me explain or give reference about this sort... i'm still confuse about it's depth limit switch to heap sort from quick sort when it became to quadratic behavior... i'm doing this for my paper work... plez... someone can explain about this sort algoritm... thank's best regard..
by kurnia w
Sat Nov 29, 2003 11:05 am
Forum: Volume 4 (400-499)
Topic: 400 - Unix ls
Replies: 93
Views: 26720

Hi...deddy, post your source code here...maybe i can check what wrong with your source code... :D
by kurnia w
Fri Nov 14, 2003 8:57 am
Forum: Volume 103 (10300-10399)
Topic: 10302 - Summation of Polynomials
Replies: 29
Views: 18282

Weird??

when i declare variable using double my compiler give the answer
1562562500624999940 which is WA

then when i changed it to long long the answer is
85550656 which is AC

actually what is the output for 50000 ??
am i missing something here??
can someone explain to me this simple question.. :(
thanks
by kurnia w
Mon Mar 17, 2003 1:20 pm
Forum: Volume 3 (300-399)
Topic: 333 - Recognizing Good ISBNs
Replies: 166
Views: 36625

Here more test case:

input:

Code: Select all

This   just    for test.
0-1000-99999
0-123-4567-89
0-123-4567-890
1-111-111-111
output:

Code: Select all

This   just    for test. is incorrect.
0-1000-99999 is incorrect.
0-123-4567-89 is correct.
0-123-4567-890 is incorrect.
1-111-111-111 is correct.
Good luck :wink:
by kurnia w
Fri Mar 14, 2003 5:36 am
Forum: Volume 1 (100-199)
Topic: 119 - Greedy Gift Givers
Replies: 145
Views: 42415

you can use struct to make your code less complicated :D
by kurnia w
Fri Mar 14, 2003 5:26 am
Forum: Volume 1 (100-199)
Topic: 130 - Roman Roulette
Replies: 25
Views: 4628

130 - Roman Roulette

can someone give me critical input for this problem ??
i'm can't figure out what's wrong with my code...
my code give I/O like this:
input:
100 5
50 1
70 4
50 9
7 3
1 0
0 0

output:
47
50
6
48
4
1
please correct me if wrong...thank's...
by kurnia w
Tue Mar 04, 2003 9:56 am
Forum: Volume 3 (300-399)
Topic: 333 - Recognizing Good ISBNs
Replies: 166
Views: 36625

Aaah... :lol: :lol: finally got PE (not bad),yahoo thank' a lot for the hint, especially the last one... :D
by kurnia w
Mon Mar 03, 2003 12:42 pm
Forum: Volume 3 (300-399)
Topic: 333 - Recognizing Good ISBNs
Replies: 166
Views: 36625

Try 3-4 times (with different tipe), still can't figure out what's the problem..last time WA 0.340
Aahh... :evil:, because of this problem i'm look's "more" stupid than before...he...he... :D
by kurnia w
Sun Mar 02, 2003 3:19 pm
Forum: Volume 1 (100-199)
Topic: 111 - History Grading
Replies: 135
Views: 34827

Got it AC, Terima kasih semuanya... :D
by kurnia w
Sun Mar 02, 2003 7:07 am
Forum: Volume 3 (300-399)
Topic: 333 - Recognizing Good ISBNs
Replies: 166
Views: 36625

I'm already fixed it, but still got WA?? why ??
by kurnia w
Sat Mar 01, 2003 3:20 pm
Forum: Volume 3 (300-399)
Topic: 333 - Recognizing Good ISBNs
Replies: 166
Views: 36625

333: WA, why?

Hi...can anybody help me what kind of input that make my code WA ?? 0-89237-010-6 is correct, how about 0_89237_010_6 ?? anyway here is my code [c]#include<stdio.h> #include<string.h> void main() { char isbn[81]; int sum1[10],sum2[10],i,length,angka[10],max,flag; while(scanf("%s",&isbn...
by kurnia w
Thu Feb 27, 2003 5:21 am
Forum: Volume 1 (100-199)
Topic: 111 - History Grading
Replies: 135
Views: 34827

Hi Hisoka...can you give me more test case for this problem...
i've modify my code & got WA for that...
by kurnia w
Sat Feb 22, 2003 5:26 am
Forum: Volume 1 (100-199)
Topic: 111 - History Grading
Replies: 135
Views: 34827

see this page :
http://acm.uva.es/board/viewtopic.php?t=2241

Hope can help u understand the problem :-?
by kurnia w
Thu Feb 20, 2003 6:48 pm
Forum: Volume 3 (300-399)
Topic: 382 - Perfection
Replies: 95
Views: 31814

:D
Ah...it's help a lot...i got it acc now...
thank's a lot to you bery...
by kurnia w
Thu Feb 20, 2003 4:09 pm
Forum: Volume 3 (300-399)
Topic: 382 - Perfection
Replies: 95
Views: 31814

problem 382 WA, Why ??

What's wrong with this code?. look's correct "to me"... [c]#include<stdio.h> void main() { long int i,sum,flag=1; long int n; int x,y; while(scanf("%ld",&n)!=EOF) { if(flag==1) { printf("PERFECTION OUTPUT\n"); flag=0; } if(n==0) { printf("END OF OUTPUT\n\n"...

Go to advanced search