Merge pull request #135 from xexyl/2006-sloane

Fix 2006/sloane for clang
This commit is contained in:
Landon Curt Noll authored and GitHub committed 2023-03-24 15:50:31 -07:00
commit a8908e211a
2 files changed
+15 -3

No files matched your search

+14 -2
View File
@@ -11,13 +11,25 @@
make
```
### To run:
[Cody Boone Ferguson](/winners.html#Cody_Boone_Ferguson) fixed this entry to
work with clang which is stricter on the type of args to main(). Curiously
although clang requires the types of args to be strictly correct it allows for
only one arg which he made it as the second arg was not used and this allows for
a closer match to the original format of the entry. Thank you Cody for your
assistance!
## To run:
```sh
./slone
```
### Try:
WARNING: if you are easily overstimulated with fast movement or have
photosensitivity please be careful running this entry!
## Try:
```sh
echo "Do or do not. There is no try."
+1 -1
View File
@@ -13,7 +13,7 @@ KXw{Y" "RsFwsFwsFw{zaqyaz|FmMpyaoyI\\]cuUw{J"
"~|_."[c(6,"b" "cd\\a[g","^`" "_e"
"]fh")+8], p( "#$%" "&'()*+,-.1"[ c(11
,"_ac[]\\YZi" "jkm", "`bd^efghXWlV" )+13
]-34,a);}main (k,Z){ float z[1920] ,A=0
]-34,a);}main (k ){ float z[1920] ,A=0
,B=0 ,i,j; puts("" "\x1b" "[2J");for(;;
) { float e=sin(A ), n= sin(B),g=cos(
A),m =cos(B);for(k =0;k< 1840;k++)y=-k