Search found 124 matches

by Rocky
Tue Oct 07, 2008 10:42 am
Forum: Volume 100 (10000-10099)
Topic: 10034 - Freckles
Replies: 101
Views: 32407

Re: 10034 - Freckles

i used primes too...
can you send me your code via pm?
It will easy for me to help you.

Best Of Luck
Rocky
by Rocky
Mon Oct 06, 2008 8:34 pm
Forum: Volume 100 (10000-10099)
Topic: 10034 - Freckles
Replies: 101
Views: 32407

Re: 10034 - Freckles

yeah...
you are right.
you should calculate all the distance from one node to another node & build the the connection.
after that you need to optimize it as the problem say.

Best Of Luck
Rocky
by Rocky
Mon Oct 06, 2008 7:34 pm
Forum: Volume 115 (11500-11599)
Topic: 11515 - Cranes
Replies: 1
Views: 825

Re: 11515 - Cranes

hi..check the following input

Code: Select all

1
2
0 0 4
0 8 4
and my Ac code gives the following output

Code: Select all

16
I think your code generate wrong output.

Best Of Luck
Rocky
by Rocky
Sun Jun 22, 2008 7:07 pm
Forum: Volume 9 (900-999)
Topic: 944 - Happy Numbers
Replies: 20
Views: 12856

Re: 944 - Happy number--Got acc

Thnx
Got Ac Now.

Rocky
by Rocky
Fri Jun 20, 2008 7:29 am
Forum: Volume 9 (900-999)
Topic: 944 - Happy Numbers
Replies: 20
Views: 12856

Make me cruel...

Hi,
I cant find any bug in my code...can any one give any hints wht is tricks behind it.
i check all the cases in the board but still wA..

thanks in advance
Rocky
by Rocky
Mon Oct 01, 2007 8:50 am
Forum: Volume 113 (11300-11399)
Topic: 11301 - Great Wall of China
Replies: 6
Views: 4277

11301 - Great Wall of China

Sorry for post here..there is no thread for vol-113.....so i post here.
can anybody give me some hints for this problem...??

Thank's in advance
Rocky
by Rocky
Sun Aug 05, 2007 7:37 pm
Forum: Volume 112 (11200-11299)
Topic: 11256 - Repetitive Multiple
Replies: 15
Views: 6891

can any accepted person give me some input/output for this problem....
it really helpful for me

thank's in adcance
Rocky
by Rocky
Tue Jul 17, 2007 9:57 pm
Forum: Volume 112 (11200-11299)
Topic: 11241 - Humidex
Replies: 17
Views: 8252

i use that darko mean.....

Code: Select all

e = 6.11 * exp (5417.7530 * ((1/273.16) - (1/(dew+273.16))))
and it work.

GOOD LUCK
Rocky
by Rocky
Mon Jul 16, 2007 7:43 pm
Forum: Volume 112 (11200-11299)
Topic: 11241 - Humidex
Replies: 17
Views: 8252

i use direct the equation that said in the problem statement and calculate the value directly....no special check for precission.

so use the equation....even u use it check it or post ur code.

GOOD LUCK
Rocky
by Rocky
Sun Jul 15, 2007 11:12 am
Forum: Volume 112 (11200-11299)
Topic: 11223 - O: dah dah dah!
Replies: 43
Views: 18885

i think u have some problem with taking input...
try with the following Input:

Code: Select all

4
.---b
.---bb
.--- --- -...  -.. --- -. .  ..--..  ..-. .. -. . -.-.--
.---
here b = blank space

have u got the correct output???

GOOD LUCK
Rocky
by Rocky
Sun Jul 15, 2007 7:47 am
Forum: Volume 112 (11200-11299)
Topic: 11239 - Open Source
Replies: 21
Views: 7904

to darkos32:
Do u try mmonish test case..????

try with some more:

input

Code: Select all

A 
x 
c 
B 
x 
C 
1 
A 
B 
C 
1 
output

Code: Select all

A 1 
B 0 
C 0 
A 0 
B 0 
C 0 

oh..yes there is no information about the length of the project name and student name....check it.

GOOD LUCK
Rocky
by Rocky
Tue Jul 10, 2007 9:18 am
Forum: Volume 112 (11200-11299)
Topic: 11232 - Cylinder
Replies: 34
Views: 15397

yahh...some difference.check it..

my output for ur input

Code: Select all

22.506
64.587
3.715
12022.696
6511.038
8914.445
68.407
96.418
167.925
24725.716
338.349
6078.695
4.988
1.964
2038.864
GOOD LUCK
Rocky
by Rocky
Mon Jul 09, 2007 11:48 pm
Forum: Volume 109 (10900-10999)
Topic: 10924 - Prime Words
Replies: 44
Views: 22424

u need to check ur code again.it need too many modification....
u do p[2]=false but 2 is prime....
again u loop from 3 up to 35....but what happen for 4,8,....it is not prime too.
and ur sum is also incorrect for UPPERCASE.check it.

GOOD LUCK
Rocky
by Rocky
Mon Jul 09, 2007 11:20 pm
Forum: Off topic (General chit-chat)
Topic: little joey what is your problem?????
Replies: 6
Views: 29113

about topic

i think there should some change of the system of topic for problem. it will better if the topic will only the problem number and name. cause say one previous post have a following topic "xxxxx-why runtime error" then if i get wrong answer then where i will post.if i post in the previous thread then...
by Rocky
Mon Jul 09, 2007 11:09 pm
Forum: Volume 112 (11200-11299)
Topic: 11232 - Cylinder
Replies: 34
Views: 15397

here some random sample...may it helpfull...

input

Code: Select all

5 5
50 50
80 80
50 80
20 50
40 80
45 50
5 6
4 5
2 3
0 0
output

Code: Select all

6.781
6780.897
27774.554
14652.276
2289.418
11721.821
5748.996
8.770
4.745
0.824
GOOD LUCK
Rocky

Go to advanced search