Hi, I'm trying to solve gym 100016 G Orange

Revision en1, by Los_Angelos_Laycurse, 2015-08-06 14:11:23
I have no idea how to compute integral of f(z)=0.5*(r*r-z*z)*acos(c*z/(r*r-z*z)) (c is a constant and r is the radius of sphere) I can't find its original funtion so I have tried something like simpson, but it is tooooo huge (worst case 2000 times compute) and got tle on test 4...

any one have idea how to compute the original funtion thanks....

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en2 English Los_Angelos_Laycurse 2015-08-06 14:13:51 38 Tiny change: ' I have ' -> 'http://mirror.codeforces.com/gym/100016\n\n I have '
en1 English Los_Angelos_Laycurse 2015-08-06 14:11:23 395 Initial revision (published)