## Search found 8 matches

Sat Aug 10, 2002 8:48 am
Forum: Volume 3 (300-399)
Topic: 333 - Recognizing Good ISBNs
Replies: 166
Views: 22236

### GIVE ME SOME INPUT

Heloo,
I ahve solved the problem which is valid for all given inputs. But when I submit it I got wrong answer. Can anyone give me some crutial inputs to judge the problem???
Mon Jul 29, 2002 8:56 am
Forum: Volume 4 (400-499)
Topic: 406 - Prime Cuts
Replies: 187
Views: 23168

### INPUT NEEDED FOR 406

Hi,
I have solve the problem and it is valid for the given inputs. Can anyone give me some inputs with outputs.

Bye
Mon Jul 29, 2002 8:44 am
Forum: Volume 4 (400-499)
Topic: 402 - M*A*S*H
Replies: 56
Views: 13674

### YOU ARE TOO SHORT

Hi,
what y write on ur header r too short. So..try to make the header bigger as anyone can understand. Moreover..Thanks for ur wrong answer..So resubbmit ur problem with 20 minutes penalty...
Wed Jul 24, 2002 4:07 pm
Forum: Volume 3 (300-399)
Topic: 356 - Square Pegs And Round Holes
Replies: 41
Views: 6489

### SAME PROBLEM

Hi, I have solved the problem in the following way.. It satisfies the example input and output but generate a wrong answer when I submit it. Can u say what's the wrong here #include<stdio.h> void main(){ long n,com_in,out; while(scanf("%ld",&n)==1){ com_in =2*n*(n-1); out = 4*(2*n-1); printf("In th...
Wed Jul 24, 2002 3:50 pm
Forum: Volume 4 (400-499)
Topic: 402 - M*A*S*H
Replies: 56
Views: 13674

### GIVE SOME TEST INPUT FOR 402

Hi,
I have a problem with 402. I have tried with example input and output an got the exact result. Can anyone give me some input and output..
Wed Jul 24, 2002 3:28 pm
Forum: Volume 1 (100-199)
Topic: 113 - Power of Cryptography
Replies: 162
Views: 16555

### THIS IS NOT MASSIVE

Hi,
No..The problem is in ur declare. Declare the variable as double and then use "%lf" to read the inputs. Like this way...

double d;
scanf("%lf",&d);

You may also truncate the zeroes after decimal.
Tue Jul 23, 2002 9:35 am
Forum: Volume 1 (100-199)
Topic: 113 - Power of Cryptography
Replies: 162
Views: 16555

### HERE IS THE SOLUTION IN ALGORITHM WAY....(CODE IT)

HELLO, The problem has a very simple solution. After viewing the problem you may say How easy!!! You know that c++ has a library named <<math.h>> . We will use this library to solve the problem. Here it is: long double s = pow (p,1/n); printf("%lf",s); And thats it.........
Tue Jul 23, 2002 9:24 am
Forum: Volume 1 (100-199)
Topic: 100 - The 3n + 1 problem
Replies: 1394
Views: 187514

### WHY U MADE A SMALLER PROBLEM A SERIOUS ONE

Hello, This is a tiny problem but u have coded hundreds of lines. I think u have a problem with the string processing. Moreobver try to add these lines always before and after ur source code.. /* @BEGIN_OF_SOURCE_CODE */ /* @AUTHOR_ID: 1212AW 100 C++ */ #include<stdio.h> void main(){ .................