Search found 93 matches

by Almost Human
Mon Jun 09, 2003 4:50 am
Forum: Volume 102 (10200-10299)
Topic: 10286 - Trouble with a Pentagon
Replies: 7
Views: 4970

10286 - Trouble with a Pentagon

What are we looking for actually ??? can I use the height of the pentagon to define the side length ??? code : #include <math.h> #include <stdio.h> int main ( void ) { long double s , output , pi = 3.1415926535897932384626433832795 ; /* freopen ( "10286.in" , "r" , stdin ) ; freopen ( "10286.out" , ...
by Almost Human
Mon Jun 09, 2003 4:46 am
Forum: Volume 102 (10200-10299)
Topic: 10279 - Mine Sweeper
Replies: 102
Views: 27817

10279 - Minesweeper again - help

I don't get it... what is the meaning by this : "If a mine has been touched, all positions with a mine should contain an asterisk. All other positions should contain a period." Is that mean if a mine has been touched, we only have to output the map contains asteriks and periods ... ???? please help ...
by Almost Human
Sat May 24, 2003 10:57 am
Forum: Volume 103 (10300-10399)
Topic: 10339 - Watching Watches
Replies: 10
Views: 3010

10339 - Why WA ???

#include <stdio.h> int main ( void ) { long double result ; int late1 , late2 , input1 , input2 ; unsigned long day ; int hour , minute ; /* freopen ( "10339.in" , "r" , stdin ) ; freopen ( "10339.out" , "w" , stdout ) ;*/ while ( scanf ( "%i %i" , &late1 , &late2 ) != EOF ) { input1 = late1 ; inpu...
by Almost Human
Sat May 24, 2003 7:04 am
Forum: Volume 100 (10000-10099)
Topic: 10023 - Square root
Replies: 121
Views: 26902

#include <stdio.h> #include <string.h> int main ( void ) { unsigned long NumOfCase , length , i , j ; long double bedivide , divider ; char input[10000] ; freopen ( "10023.in" , "r" , stdin ) ; freopen ( "10023.out" , "w" , stdout ) ; scanf ( "%li\n\n" , &NumOfCase ) ; while ( NumOfCase -- ) { gets...
by Almost Human
Fri May 23, 2003 9:46 am
Forum: Volume 100 (10000-10099)
Topic: 10018 - Reverse and Add
Replies: 169
Views: 16955

I've tried but it is still WA until I change all unsigned long into float ...

now I got ACC ...

Thanks for the suggestion .
by Almost Human
Fri May 23, 2003 9:40 am
Forum: Volume 100 (10000-10099)
Topic: 10023 - Square root
Replies: 121
Views: 26902

10023 - Square root

is there any special input to be considered ... ?

the input will always be an ordinary numbers right ?
by Almost Human
Wed May 21, 2003 1:48 pm
Forum: Volume 100 (10000-10099)
Topic: 10018 - Reverse and Add
Replies: 169
Views: 16955

10018

I don't get it. Why did I get WA ???? Any sugesstion ??? #include <stdio.h> #include <string.h> unsigned long reverse ( unsigned long ) ; int main ( void ) { unsigned long input , addition ; int iteration , NumOfCase ; char temporary[100] ; /* freopen ( "10018.in" , "r" , stdin ) ; freopen ( "10018....
by Almost Human
Wed May 21, 2003 10:27 am
Forum: Volume 100 (10000-10099)
Topic: 10070 - Leap Year or Not Leap Year and ...
Replies: 233
Views: 52653

Thanks everyone..

I still don't know the precise limit for this...

but I used my verylonginteger class and used 2000 for MAXDIGIT and got AC for that ...
by Almost Human
Tue May 20, 2003 3:23 pm
Forum: Volume 100 (10000-10099)
Topic: 10070 - Leap Year or Not Leap Year and ...
Replies: 233
Views: 52653

10070 - Leap Year or Not Leap Year and ...

I need some suggestion here ...

Do I have to use very long number in this case ???
Can I just use int or long ???

please help!
by Almost Human
Wed May 07, 2003 10:57 am
Forum: Volume 101 (10100-10199)
Topic: 10193 - All You Need Is Love
Replies: 23
Views: 9276

I have changed my code a little and it still got WA... Any more suggestion or sample inputs ? #include <math.h> #include <stdio.h> int main ( ) { int i , j , len , NumOfCase ; unsigned long input1 , input2 , temp ; char preinput1[100] , preinput2[100] , flag ; double limit ; /* freopen ( "10193.in" ...
by Almost Human
Wed May 07, 2003 10:51 am
Forum: Volume 101 (10100-10199)
Topic: 10125 - Sumsets
Replies: 50
Views: 15132

Hi , experience posters. Can you help me with this coding ? why I got WA ???? please help !!! #include <stdio.h> int main ( void ) { long sequence[1010] , input ; int NumOfElement , i , j , k , l ; char flag ; /* freopen ( "10125.in" , "r" , stdin ) ; freopen ( "10125.out" , "w" , stdout ) ;*/ while...
by Almost Human
Wed Apr 30, 2003 9:33 am
Forum: Volume 3 (300-399)
Topic: 371 - Ackermann Functions
Replies: 196
Views: 27945

why ?

it said that we can use C long for the input ...
by Almost Human
Wed Apr 30, 2003 6:34 am
Forum: Volume 101 (10100-10199)
Topic: 10193 - All You Need Is Love
Replies: 23
Views: 9276

this is my code ... include <math.h> #include <stdio.h> int main ( ) { int i , j , len , NumOfCase ; unsigned long input1 , input2 , temp ; char preinput1[100] , preinput2[100] , flag ; double limit ; /* freopen ( "10193.in" , "r" , stdin ) ; freopen ( "10193.out" , "w" , stdout ) ;*/ scanf ( "%i\n"...
by Almost Human
Wed Apr 30, 2003 6:29 am
Forum: Volume 3 (300-399)
Topic: 382 - Perfection
Replies: 95
Views: 18494

382 - Perfection - Why WA ?

any suggestion ? please help ! code : #include <math.h> #include <stdio.h> int main ( ) { unsigned ToBeTest , i , j ; unsigned long counter ; double limit ; /* freopen ( "382.in" , "r" , stdin ) ; freopen ( "382.out" , "w" , stdout ) ;*/ printf ( "PERFECTION OUTPUT\n" ) ; while ( 1 ) { scanf ( "%u" ...
by Almost Human
Wed Apr 30, 2003 6:22 am
Forum: Volume 3 (300-399)
Topic: 371 - Ackermann Functions
Replies: 196
Views: 27945

371 - Ackermann Functions

This is my code , please help : #include <stdio.h> int main ( ) { unsigned long result , counter , x , temp , tempmax , i , j ; /* freopen ( "371.in" , "r" , stdin ) ; freopen ( "371.out" , "w" , stdout ) ;*/ while ( 1 ) { scanf ( "%lu %lu" , &i , &j ) ; if ( i == 0 && j == 0 ) break ; printf ( "Bet...

Go to advanced search