|
|
back to boardDiscussion of Problem 1020. RopePI Use PI with at least 3 precision numbers, i.e. 3.141... That was my mistake Re: PI Thanks for good advice. Now I got AC. Re: PI Posted by pikavel 13 Mar 2012 12:35 Is there any defined costant for pi in c/с++? M_PI from math.h works correctly on my computer, but judge's compiler doesn't know it. Edited by author 13.03.2012 13:18 Re: PI I use this: const double PI = acos(-1.); |
|
|