|
|
вернуться в форумUse PI with at least 3 precision numbers, i.e. 3.141... That was my mistake Thanks for good advice. Now I got AC. 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 I use this: const double PI = acos(-1.); |
|
|