Under each yyyy/dir there is a file of the form '*.orig.c' containing the original source code, or as close as we can get to the original source code.
13 lines
781 B
C
13 lines
781 B
C
# include <math.h>
|
|
# include <stdio.h>
|
|
# define d double
|
|
d a,s;int n;p(d t ,d M,d x)
|
|
{ return x>0?x>1 &&!fork( )?p(t,s+=
|
|
a ,x-1):0 :scanf( "%lf",&x )-1?a=(M-
|
|
t )/22,s= pow(10, (int)( log10(a)) /*It is
|
|
a simple tool to quickly analyze data. */
|
|
- 2),s=t- (a =s*( int)(a/s ))/2,p(t, s,(int)(
|
|
( a+M-t)/ a)):p(t >M|x<t?x :t,t>M|x >M?x:M ,--n)+(x
|
|
> s&&x <= s+a); } main(j){ j==1?j=p (1,0,0) ,printf(
|
|
"%+12g %4d",s+a/2,j,wait(NULL)),main(j*400/n):putchar(35-25*!j)&' '&&main(j+1);}
|