From 9f4f0981e0a03033a21fa2cd7d2f11d56a636c4f Mon Sep 17 00:00:00 2001 From: Cody Boone Ferguson <53008573+xexyl@users.noreply.github.com> Date: Mon, 30 Oct 2023 01:52:42 -0700 Subject: [PATCH] Fix 1984/laman if no arg specified As the definition of INABIAF changed, again, and since it took no more than ten seconds to fix, I have fixed this entry. As the thanks file was updated for this some other things that had been left out were also fixed at the same time as these were already in the file but not committed. There was also a typo fix in there. --- 1984/laman/README.md | 11 ----------- 1984/laman/laman.c | 4 ++-- bugs.md | 31 +++++++++---------------------- thanks-for-fixes.md | 20 ++++++++++++++++---- 4 files changed, 27 insertions(+), 39 deletions(-) diff --git a/1984/laman/README.md b/1984/laman/README.md index 6c138c1d6..93382da10 100644 --- a/1984/laman/README.md +++ b/1984/laman/README.md @@ -10,17 +10,6 @@ make all ``` -### Bugs and (Mis)features - -The current status of this entry is: - -``` -STATUS: known bug - please help us fix -``` - -For more detailed information see [1984 laman in bugs.md](/bugs.md#1984-laman). - - ## To use: ```sh diff --git a/1984/laman/laman.c b/1984/laman/laman.c index 758e4480c..eba619be4 100644 --- a/1984/laman/laman.c +++ b/1984/laman/laman.c @@ -1,5 +1,5 @@ a[900]; b;c;d=1 ;e=1;f; g;h;O; main(k, -l)char* *l;{g= atoi(* ++l); for(k= +l)char* *l;{if(k>1) {g=atoi(* ++l); for(k= 0;k*k< g;b=k ++>>1) ;for(h= 0;h*h<= g;++h); --h;c=( (h+=g>h *(h+1)) -1)>>1; while(d <=g){ ++O;for (f=0;f< O&&d<=g @@ -9,4 +9,4 @@ while(d <=g){ ++O;for (f=0;f< O&&d<=g b){if(b