Fix 1998/schnitzi for macOS too
It no longer segfaults and works as expected in both linux and macOS!
This commit is contained in:
1 parent
f761387081
commit
39b1e26947
2 files changed
+5
-6
No files matched your search
@@ -28,9 +28,8 @@
|
||||
echo 324 >> data
|
||||
./sort < data
|
||||
|
||||
[Cody Boone Ferguson](/winners.html#Cody_Boone_Ferguson) fixed this to work (it
|
||||
segfaulted) under linux. He notes that currently it segfaults under macOS but
|
||||
he'll work on that in the near future.
|
||||
[Cody Boone Ferguson](/winners.html#Cody_Boone_Ferguson) fixed a segfault in
|
||||
this entry. Thank you Cody for your assistance!
|
||||
|
||||
## Judges' comments
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
typedef void e();
|
||||
|
||||
e *w,*l,*u,*_o,*j,*t,*O,b,c_,b_,a_,c,a,z_,x_,d,y_,_m;
|
||||
int q,m,z,k,h,f[99];
|
||||
e *w,*l,*u,*_o,*j,*t,*O,b,c_,b_,a_,c,a,z_,x_,d,y_,_m,n,*h;
|
||||
int q,m,z,k,f[99];
|
||||
char y[26],_p[40][26],_q,r[2],*_,**s,*i,*_d,
|
||||
|
||||
*x[]= { "\n", ")", "if (", "}\n", ");\n\n", " ", ",&", "\"",
|
||||
@@ -52,5 +52,5 @@ void x_(){ O=g; *r=y[k-2]; _=r; j=o_; }
|
||||
void d (){ O=g; *r=y[k]; _=r; k=k+1; m=k<z; w=_t; l=p_; j=p; }
|
||||
void y_(){ O=g; *r=x[17][1]+k; _=r; j=q_; }
|
||||
void r_(){ O=_b; _=x[17]; s=(char**)_d; s=s+1; i=*s; q=0; }
|
||||
main(int v,char **c){ O=r_; _d=c;
|
||||
main(int v,char **V){ O=r_; _d=V;
|
||||
x: (O)(); goto x; }
|
||||
Reference in new issue
Block a user