Files
Cody Boone Ferguson 08ce66e590 Add 2011/borsanyi/try.sh + format/typo checks
Format/typo check README.md.

The try.sh script is as usual to show the entry a bit.

Also updated bugs status with INABIAF section.
2023-11-25 12:08:29 -08:00

13 lines
795 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,k)char**k;{ j==1?j=p (1,0,0) ,printf(
"%+12g %4d",s+a/2,j,wait(NULL)),main(j*400/n,k):putchar(35-25*!j)&' '&&main(j+1,k);}