Search found 83 matches

by Eric
Fri Nov 07, 2003 5:30 pm
Forum: Volume 4 (400-499)
Topic: 485 - Pascal's Triangle of Death
Replies: 50
Views: 12051

Just forget it. I just make a silly mistake in initialization.
Thanks
by Eric
Mon Nov 03, 2003 6:15 pm
Forum: Volume 4 (400-499)
Topic: 485 - Pascal's Triangle of Death
Replies: 50
Views: 12051

Thanks. I have modified my code.
However, I still get a WA.
Can anyone help me again?

[pascal]--Cut--[/pascal]
by Eric
Thu Jul 03, 2003 12:46 pm
Forum: Volume 105 (10500-10599)
Topic: 10519 - !! Really Strange !!
Replies: 35
Views: 17138

Since I get WA in 485, which is also a BigInt problem.
I wonder if my BigInt code is correct.
Can anyone please check my code?
[pascal --Cut--[/pascal]
by Eric
Thu Jul 03, 2003 10:20 am
Forum: Volume 105 (10500-10599)
Topic: 10519 - !! Really Strange !!
Replies: 35
Views: 17138

No, I hardcode the answer to be 1.
by Eric
Thu Jul 03, 2003 9:04 am
Forum: Volume 105 (10500-10599)
Topic: 10519 - !! Really Strange !!
Replies: 35
Views: 17138

I use the formula " --removed-- " but get WA.
Can anyone help me?

The formula is removed to save the interest of the problem.
by Eric
Wed Jul 02, 2003 5:42 pm
Forum: Volume 4 (400-499)
Topic: 485 - Pascal's Triangle of Death
Replies: 50
Views: 12051

p485 WA

I get wrong answer for many times, but I still can't find my bug.
Can anyone tell me what is wrong?

[pascal]--Cut--[/pascal]
The number that is greater than 10^60 should have 61 diigts, I think.
by Eric
Mon Jun 23, 2003 5:31 pm
Forum: Volume 105 (10500-10599)
Topic: 10515 - Powers Et Al.
Replies: 124
Views: 41544

Thanks, Overlord. I've got accepted.
by Eric
Sun Jun 15, 2003 5:15 pm
Forum: Volume 105 (10500-10599)
Topic: 10515 - Powers Et Al.
Replies: 124
Views: 41544

But somebody can get AC with Pascal.
What's the problem of my program?
by Eric
Sun Jun 15, 2003 7:15 am
Forum: Volume 105 (10500-10599)
Topic: 10515 - Powers Et Al.
Replies: 124
Views: 41544

10515 - Powers Et Al.

Isn't it just calculate the last digit of M and last two digit of N and find the last sigit of the answer?
But I get Wrong Answer. Can anyone help me?
[pascal]Code is deleted[/pascal]
by Eric
Sat Jun 14, 2003 3:14 am
Forum: Pascal
Topic: Difference between Double and Extended
Replies: 2
Views: 6541

Difference between Double and Extended

Can anyone tell me what is the difference between Double and Extended?
I get WA with Extended in p10509 but Accepted with Double.
by Eric
Mon May 12, 2003 6:53 am
Forum: Volume 104 (10400-10499)
Topic: 10465 - Homer Simpson
Replies: 75
Views: 32438

Do you mean that if we must have beer, we only need to minimize the time for beer but don't need to maximize the number of burger?
by Eric
Sat May 10, 2003 4:56 am
Forum: Volume 104 (10400-10499)
Topic: 10487 - Closest Sums
Replies: 89
Views: 40023

For p10490, your perfect number for 31 is wrong. :wink:
by Eric
Sat May 10, 2003 4:49 am
Forum: Volume 104 (10400-10499)
Topic: 10487 - Closest Sums
Replies: 89
Views: 40023

Turuthok, you are right. But I don't think this kind of input is present in the judge input.
Because my accepted program gives 2 as the answer.

Pier, try this input:
2
1
2
1
2147483647 (MaxInt)
0
The output should be trivial.
by Eric
Sat May 10, 2003 4:39 am
Forum: Volume 104 (10400-10499)
Topic: 10465 - Homer Simpson
Replies: 75
Views: 32438

Oh...I misunderstand the input as 9 7 6 2 (four numbers).
My program passes these cases, however it still gets WA :(
by Eric
Fri May 09, 2003 8:40 am
Forum: Volume 104 (10400-10499)
Topic: 10465 - Homer Simpson
Replies: 75
Views: 32438

I don't understand your input.
Why the input
9 7 6 2
gives
8
Why there are four integers in the input? And what do they represent?

Go to advanced search