Search found 4 matches

by Overlord
Mon Jun 23, 2003 5:07 pm
Forum: Volume 105 (10500-10599)
Topic: 10515 - Powers Et Al.
Replies: 124
Views: 45278

What's the error?

I've been trying to solve this problem and i always get WA. I even tried to treat cases such spaces in the beginning and in the end of the lines, or numbers "0000000" or "000055543543", but still WA. Here is my code:

[pascal]
type bignr=
record
len:byte;
v:array[0..200] of byte;
end;
var n,m ...
by Overlord
Mon Jun 23, 2003 4:40 pm
Forum: Volume 105 (10500-10599)
Topic: 10515 - Powers Et Al.
Replies: 124
Views: 45278

Eric try this:

100 100
0 100
0 0
by Overlord
Sun Jun 15, 2003 8:20 pm
Forum: Volume 105 (10500-10599)
Topic: 10509 - R U Kidding Mr. Feynman?
Replies: 41
Views: 20427

This problem askes you to calculate the cubic root USING THE EXPLAINED approxximation method. It is valid to ignore (dx)^2, because the dr. did it, when calculating. On the other hand i don't understand what happened to the judge program not accepting solutions with long double. Anyone using Pascal ...
by Overlord
Sun Jun 15, 2003 11:23 am
Forum: Volume 105 (10500-10599)
Topic: 10509 - R U Kidding Mr. Feynman?
Replies: 41
Views: 20427

What about pascal?

I tried to solve the problem using double in Pascal with the same formula. I got WA. Any hints? For cubic root i used trunc(exp((1/3)*ln(n))). A tried with int instead of trunc, too. Help please.

Go to advanced search