diff --git a/1998/schnitzi/README.md b/1998/schnitzi/README.md index bc519c570..5f25f72f2 100644 --- a/1998/schnitzi/README.md +++ b/1998/schnitzi/README.md @@ -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 diff --git a/1998/schnitzi/schnitzi.c b/1998/schnitzi/schnitzi.c index b8d12a452..1104eeb63 100644 --- a/1998/schnitzi/schnitzi.c +++ b/1998/schnitzi/schnitzi.c @@ -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