Make 1990/baruch look slightly more like original

That is to say I removed the 'int' from the variables and added to the
Makefile -Wno-implicit-int instead. The newline added by the judges is
still there, however.
This commit is contained in:
Cody Boone Ferguson committed 2023-10-24 12:00:11 -07:00
1 parent 5448ed10de
commit 15524262a2
3 files changed
+8 -5

No files matched your search

+1 -1
View File
@@ -39,7 +39,7 @@ include ../../var.mk
# Common C compiler warnings to silence
#
CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-logical-op-parentheses \
-Wno-string-plus-int -Wno-strict-prototypes
-Wno-string-plus-int -Wno-strict-prototypes -Wno-implicit-int
# Common C compiler warning flags
#
+1 -1
View File
@@ -1,4 +1,4 @@
int v,i,j,k,l,s,a[99];
v,i,j,k,l,s,a[99];
main()
{
for(scanf("%d",&s);*a-s;v=a[j*=v]-a[i],k=i<s,j+=(v=j<s&&(!k&&!!printf(2+"\n\n%c"-(!l<<!j)," #Q"[l^v?(l^j)&1:2])&&++l||a[i]<s&&v&&v-i+j&&v+i-j))&&!(l%=s),v||(i==j?a[i+=k]=0:++a[i])>=s*k&&++a[--i])
+6 -3
View File
@@ -11,8 +11,9 @@ contributed thousands, that we wish to thank.
We call out the extensive contributions of [Cody Boone
Ferguson](https://www.ioccc.org/winners.html#Cody_Boone_Ferguson) who is
responsible for most of the improvements including many **very complicated bug
fixes** like [1988/phillipps](/thanks-for-fixes.md#1988phillipps-readmemd),
responsible for most of the improvements and fixes including many **very
complicated bug fixes** like
[1988/phillipps](/thanks-for-fixes.md#1988phillipps-readmemd),
[2001/anonymous](/thanks-for-fixes.md#2001anonymous-readmemd) and
[2004/burley](/thanks-for-fixes.md#2004burley-readmemd), making entries like
[1986/wall](/thanks-for-fixes.md#1986wall-readmemd) not need `-traditional-cpp`
@@ -666,7 +667,9 @@ Although this is appreciated we agree with him that <strike>no one</strike>
[users](https://en.wikipedia.org/wiki/Microsoft_Windows)
[here](https://www.ioccc.org) will need it! :-)
Cody also made the code look more like the original, removing the `int` from
the variables, adding instead `-Wno-implicit-int`. The newline added by the
judges was retained.
## [1990/cmills](1990/cmills/cmills.c) ([README.md](1990/cmills/README.md]))