## Search found 12 matches

Sun Jul 06, 2003 10:40 pm
Forum: Volume 104 (10400-10499)
Topic: 10493 - Cats, with or without Hats
Replies: 13
Views: 7060

### What's the problem with this code??

Can anyone tell me whats the problem with the following code? Why it gets WA?? [cpp][c] /* 10493 : Cats, with or without Hats */ /* Discrete Math :Rosen - page 536 */ #include<stdio.h> #include<math.h> void main() { long ary,leaf; double total,fraction,integer; while(scanf("%ld%ld",&ary,&leaf)==2 &&...
Wed Jun 25, 2003 10:10 pm
Forum: Volume 104 (10400-10499)
Topic: 10493 - Cats, with or without Hats
Replies: 13
Views: 7060

### WA again and again : 10493 Cat ...

I am getting WA in this problem.
I found a formula in a discrete math book for this
and i used that one. I handled the case 1 1 specially as "multiple" and
"Impossible" if total number of node is fraction.
Can anyone help me with some special input/output?
Wed Jun 25, 2003 10:02 pm
Forum: Volume 104 (10400-10499)
Topic: 10433 - Automorphic Numbers
Replies: 41
Views: 23900

### 10433 Automorphic Numbers : Ambiguous Prob description?

Can anyone help me with some critical input output?
I donno why i am getting WA.

What does "leading zeros must be considered as significant. " mean?

Bye
Tue Dec 17, 2002 9:51 pm
Forum: Volume 101 (10100-10199)
Topic: 10110 - Light, more light
Replies: 76
Views: 27482

### Helping Hand

Here goes a hint - Square root the number , it has some special property, think of it.
bye
Thu Dec 05, 2002 12:31 am
Forum: Volume 101 (10100-10199)
Topic: 10181 - 15-Puzzle Problem
Replies: 38
Views: 20685

### 10181 : 15 PUZZLE - HELP PLZ! PLZ!! PLZ!!!

Somebody told me that 15 puzzle is a very good program to learn IDA* Search.I read about IDA* Search in a book but found no way to code it. Can somebody plz send me a solution of 15 puzzle using IDA* Search in C or C++? My email address is <laboni_inobal@yahoo.com> I would be very very grateful if a...
Tue Dec 03, 2002 8:33 pm
Forum: Algorithms
Topic: Bellman ford algorithm in C
Replies: 3
Views: 8096

### Thanks a lot

Suman,

Thank u very much for the code.
I hope this would work for me.
Thanks again.

Bye

Laboni
Sat Nov 30, 2002 10:16 pm
Forum: Algorithms
Topic: Bellman ford algorithm in C
Replies: 3
Views: 8096

### Is there any one - Hello?

If anyone have problem sending bellman ford in this board but wants to send me personally - requested to mail me <laboni_inobal@yahoo.com>

bye
Laboni
Wed Nov 27, 2002 4:45 pm
Forum: Algorithms
Topic: Bellman ford algorithm in C
Replies: 3
Views: 8096

### Bellman ford algorithm in C

hi! I read the Bellman-ford algorithm but just can't code it. I need the code very very much. I know it is not good to ask for source codes here, and in fact i should not ask for it , but i have little time in hand i need a source code for BELLMAN-FORD algorithm to find the shortest path in a graph ...
Sat Sep 28, 2002 6:12 pm
Forum: Volume 2 (200-299)
Topic: 202 - Repeating Decimals
Replies: 82
Views: 12350

### 202 - Repeating Decimals || Sample input/Output plz ...

Hi!

Can anyone provide me some critical input/output for this problem.
I tested with different types of inputs and found my program working.
But OJ says WA. May be your iput will help me to fix the error.

Bye
Sun Sep 15, 2002 5:50 pm
Forum: Volume 1 (100-199)
Topic: 113 - Power of Cryptography
Replies: 163
Views: 18500

### 113- power of cryptography - What is the algorithm?

this problem is a nightmare! P is Such a big number!!
There must be some easy algorithm in number theory to solve such problem.Can anyone help me plz?
Sun Sep 15, 2002 5:44 pm
Forum: Volume 1 (100-199)
Topic: 119 - Greedy Gift Givers
Replies: 145
Views: 27914
I read everything with gets & got AC now.