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
@@ -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])