my Successful Solution

Posted by

david 7 Jun 2013 00:26

var v,a,k:real;

begin

readln(v,a,k);

write(((v*v*k*sin(a*3.1415926535/90))/(10*(k-1))):0:2);

end.

analogous solution on python, but wa2, why?

from math import sin

v, a, k = map(float, input().split())

print(round((v*v*k*sin(a*3.1415926535/90))/(10*(k-1)), 2))