Search found 32 matches

by Jewel of DIU
Sat Mar 13, 2004 5:30 pm
Forum: Volume 104 (10400-10499)
Topic: 10474 - Where is the Marble?
Replies: 50
Views: 19787

Thanks

Thank you Shohel bhai & Aftab Bhai for your help. I have now got AC.
Thank u very very very much.
by Jewel of DIU
Wed Mar 10, 2004 11:36 am
Forum: Volume 104 (10400-10499)
Topic: 10474 - Where is the Marble?
Replies: 50
Views: 19787

I have now got WA :( .
Please Give me some Input and Output. So that i can find my code's bug.
by Jewel of DIU
Wed Mar 10, 2004 8:08 am
Forum: Volume 104 (10400-10499)
Topic: 10474 - Where is the Marble?
Replies: 50
Views: 19787

10474: Marbels (TLE Help Plesae)

I tried to solve the problem but got TLE.
Here is my search algorithm
[c]
---- CUT AFTER AC -----
(I HAVE USE COUNTING SORT)
[/c]
Help me Please to improve my time. :
by Jewel of DIU
Tue Mar 09, 2004 10:08 pm
Forum: Algorithms
Topic: Huffman's code
Replies: 1
Views: 1200

Huffman's code

I want to implement huffman code. I have understand the theory but facing problem to implement it.
I also want to solve the prob 240:Variable Radix Huffman Encoding . So pls help me.
by Jewel of DIU
Thu Feb 12, 2004 10:20 am
Forum: Volume 106 (10600-10699)
Topic: 10611 - The Playboy Chimp
Replies: 44
Views: 17710

Thank U.

Guru Dominik Michniewski,
Thank u very much for help me. I am a novice programmer. My program is now AC ( :D ) with a runtime 0:01.904 . How can I improve the time . I am in 3rd position in this prob from back. Would u help me to improve my solution?
by Jewel of DIU
Thu Feb 12, 2004 7:59 am
Forum: Volume 106 (10600-10699)
Topic: 10611 - The Playboy Chimp
Replies: 44
Views: 17710

10611: WA

prince56k My program gives the following output for your input
1 5
5 7
7 X
7 X
7 X
X 1
5 7
4 7
Are my output correct? Pls give me some input. I have got WA.
by Jewel of DIU
Mon Jan 05, 2004 10:28 am
Forum: Volume 105 (10500-10599)
Topic: 10591 - Happy Number
Replies: 61
Views: 21161

:lol: I have got ac fixing a mistake in print. Thanks Guru. I always make mistake in writing anything .
by Jewel of DIU
Sun Jan 04, 2004 2:16 pm
Forum: Volume 105 (10500-10599)
Topic: 10591 - Happy Number
Replies: 61
Views: 21161

10591 - Happy Number

I have tried to solve 10591: Happy number but I got WA. Please help me. Here is my code.
[c]

CUT AFTER AC
[/c] :(
by Jewel of DIU
Mon Nov 03, 2003 4:34 pm
Forum: Volume 103 (10300-10399)
Topic: 10327 - Flip Sort
Replies: 81
Views: 23163

10327 WA?????

Here is my code. I got WA in this problem.Where is my problem plz ?
[c]
----------- CUT AFTER AC ---------------
[/c]
by Jewel of DIU
Mon Nov 03, 2003 10:04 am
Forum: Volume 103 (10300-10399)
Topic: 10341 - Solve It
Replies: 64
Views: 35476

10341 Help please how to solve

How can i solve this problem? I tried in this way:
[c]
----------- CUT AFTER AC ---------------
[/c]
by Jewel of DIU
Sun Nov 02, 2003 12:34 pm
Forum: Volume 101 (10100-10199)
Topic: 10107 - What is the Median?
Replies: 74
Views: 19230

I have got AC in 0.246 sec using this method.Thanks.
by Jewel of DIU
Sun Nov 02, 2003 7:13 am
Forum: Volume 101 (10100-10199)
Topic: 10107 - What is the Median?
Replies: 74
Views: 19230

10107: TLE after rejudge :(

My AC programm get TLE after rejudge :( .
I take the one input & then use qsort() and find median.
Is there any efficient way for solving this problem?
by Jewel of DIU
Tue Oct 28, 2003 10:34 am
Forum: Volume 5 (500-599)
Topic: 591 - Box of Bricks
Replies: 80
Views: 11669

591- AC but Why PE

I got AC in this problem in 0.002 sec but i got PE. I don't know why it got PE. See my code
[c]
printf("Set #%d\n",set+1);
printf("The minimum number of moves is %d.\n",change);
set++;
[/c]
by Jewel of DIU
Mon Oct 27, 2003 6:49 pm
Forum: Volume 100 (10000-10099)
Topic: 10071 - Back to High School Physics
Replies: 49
Views: 7856

[c] Just print s*v*t*2 after take input. Directly print this,no pre calculate need[/c]
by Jewel of DIU
Sun Aug 24, 2003 12:40 pm
Forum: Algorithms
Topic: Permutation of a string
Replies: 9
Views: 3073

:lol:

Hy I think you wanted like this

Code: Select all

Input:
ab
Output:
ab
ba

Code: Select all

Input:
ba
Output:
ba
ab
I also need this kind of permutation to solve "Titans in danger"-P.no: 10395
The algorithm must be very efficient.

Go to advanced search