|
|
вернуться в форумPI 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 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.); |
|
|