Search found 47 matches

by pipo
Thu Sep 11, 2008 10:33 am
Forum: Volume 102 (10200-10299)
Topic: 10219 - Find the ways !
Replies: 33
Views: 10285

Re: 10219 - Find the Ways !

hi..

I got WA several times.. but I don't really know... why WA ?? help me please..

Code: Select all

cutted after AC.. 
I just replaced data type from double to long double...  :-? 
thanks in advance...
by pipo
Fri Jul 06, 2007 3:53 am
Forum: Volume 112 (11200-11299)
Topic: 11221 - Magic square palindromes.
Replies: 58
Views: 20720

hm... mmonish...

Is the 2 case right ??

The sentence of the second way in problem statement is not equal to original sentence.
by pipo
Fri Jul 06, 2007 2:31 am
Forum: Volume 112 (11200-11299)
Topic: 11221 - Magic square palindromes.
Replies: 58
Views: 20720

11221 - Magic square palindromes.

hi all...

I got WA :(

In my thought, this problem is easy... but I got WA :(

I don't know where is wrong...

Could you give me some sample inputs and outputs ??

thanks in advance...
by pipo
Sun May 27, 2007 5:04 pm
Forum: Volume 112 (11200-11299)
Topic: 11207 - The easiest way
Replies: 27
Views: 13358

helloneo...

Thanks....I missed it... Thanks...
by pipo
Sun May 27, 2007 3:53 pm
Forum: Volume 112 (11200-11299)
Topic: 11207 - The easiest way
Replies: 27
Views: 13358

little joey wrote: There is a third way. Think about it...
well... You mean the case of this ??

case 3.





If it is right, it is equal to the case 1 when h is setted with smaller value...

Is there another way ??? Could you give the sample case ???

thanks in advance...
by pipo
Sun May 27, 2007 2:35 pm
Forum: Volume 112 (11200-11299)
Topic: 11207 - The easiest way
Replies: 27
Views: 13358

hi all... why WA ??? It seems a very easy problem. But, I got WA :( In my thought, the case of arrangement is only 2 as below.. case 1. □□□□ case 2. □□ □□ The first case is that one side's length is bigger than 4 times of the other's length. If not, the condition is the second case. My code is follo...
by pipo
Thu Mar 15, 2007 2:24 am
Forum: Other words
Topic: How to swap two variables... ??
Replies: 4
Views: 3092

First of all, Thanks for your reply...

I suggested you have to use just 2 statements..

it means you must use 2 equal signs...

I know using bitwise operators suggested by Leonid..

I'm sorry but it's not the wanted answer

PS.. Sorry for poor english :(
by pipo
Tue Mar 13, 2007 10:05 am
Forum: Other words
Topic: How to swap two variables... ??
Replies: 4
Views: 3092

How to swap two variables... ??

hi all... I got a quiz... How to swap two variables ??? only use two variables and two statements... In general, the code is following... temp = a; a = b; b = temp; how to swap two variables using only two variables and two statements ?? do not use a temporary variable.. and 3 statements...
by pipo
Tue Nov 21, 2006 5:24 pm
Forum: Volume 102 (10200-10299)
Topic: 10200 - Prime Time
Replies: 202
Views: 61091

this is my code... #include <stdio.h> int isPrime(int n); char prime[10001]; void main(void) { int i; int a, b, cnt; double ret; for ( i = 0 ; i < 40 ; i++ ) prime[i] = 1; for ( i = 40 ; i <= 10000 ; i++ ) prime[i] = isPrime( i * i + i + 41 ); while ( scanf("%d %d", &a, &b) != EOF ) { cnt = 0; for (...
by pipo
Mon Nov 20, 2006 4:15 pm
Forum: Volume 102 (10200-10299)
Topic: 10200 - Prime Time
Replies: 202
Views: 61091

hi.. all a few month ago, i had got AC.. but after rejudging, i am WA T.T why WA ?? I have a few test cases... what is the output for the input ?? 0 43 0 44 1 1101 my answer is .. 95.46 93.33 56.59 is this correct ??? T.T or.. i want to get a few sample input and output for solving this problem.. he...
by pipo
Thu Apr 13, 2006 7:32 pm
Forum: Bugs and suggestions
Topic: How do I do ?
Replies: 2
Views: 2200

How do I do ?

I trided to log in through other ID... The ID is "NeoSTorm" and the e-mail is "kki2406@nate.com".. But, I couldn't log in... The error message is follwing... Sorry, but your password cannot be retrieved because your account is currently inactive. Please contact the forum administrator for more infor...
by pipo
Tue Feb 14, 2006 6:43 pm
Forum: Volume 100 (10000-10099)
Topic: 10000 - Longest Paths
Replies: 160
Views: 36150

10000 Longest Paths - TLE

hi all... I solved this problem(10000-longest paths) using back-tracking algorithm technic... it gave me correct answers for the sample input.. but.. judger replied the code was TLE... it is so fool of me... :cry: how do I speed up using back-tracking algorithm technic ?? and would you give me a sam...
by pipo
Wed Jan 11, 2006 3:35 pm
Forum: Volume 4 (400-499)
Topic: 489 - Hangman Judge
Replies: 52
Views: 14387

I'm sorry ..

I had a silly mistake... :(

once, I was incorrect in printing the output string...

anyway, thanks for reading...

good luck!!
by pipo
Fri Jan 06, 2006 2:26 pm
Forum: Volume 4 (400-499)
Topic: 489 - Hangman Judge
Replies: 52
Views: 14387

[489] need more inputs & outputs

hi...

I tested some inputs and outputs in this forum...

the all answers are correct exactly...

but!! I got WA :(

the code is below....


Code: Select all

deleted after Accepted
by pipo
Mon Dec 12, 2005 2:11 pm
Forum: Volume 109 (10900-10999)
Topic: 10963 - The Swallowing Ground
Replies: 47
Views: 11996

wow!! thanks you very much, little joey...

you're right...

I had a mistake about it...

it's very stupid of me to do that... :cry:

I changed my code to rewriting a part of the input in one loop..

in the end, i got AC.. thanks again :D

Go to advanced search