|
|
вернуться в форумwhy do i always got compilation error ?? Послано lol 13 дек 2007 07:29 #include <math.h> #include <stdio.h> void P(long x, long y) { int i, j; if (x>0 && y>0) { for (i = 1; i <= x+y; i++) { y += x*x; x = x*x+y; y = sqrt(x+(y/labs(y))*(-labs(y))); for (j = 1; j <= 2*y; j++) x = x-y; } } printf("%d %d",x,y); } int main() { long t1,t2; scanf("%ld%ld",&t1,&t2); P(t1,t2); return 0; } Re: why do i always got compilation error ?? Послано awpris 13 дек 2007 09:54 labs undeclared... |
|
|