ENG  RUSTimus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board

Discussion of Problem 1192. Ball in a Dream

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.
Re: my Successful Solution
Posted by Rabbit Girl ♥ 1 Dec 2017 23:33
That's pretty elegant in my opinion.
analogous solution on python, but wa2, why?
Posted by Artur484 21 Jul 2021 14:16
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))