Fix 2001/schweikh - check args

This was not documented. The limitations have not been addressed as they
were documented. The bugs.md and README.md have been updated for this.
This commit is contained in:
Cody Boone Ferguson committed 2023-10-30 05:02:51 -07:00
1 parent 544f154694
commit 8946cff4fa
4 files changed
+11 -24

No files matched your search

+1 -1
View File
@@ -16,7 +16,7 @@ make
The current status of this entry is:
```
STATUS: known bug - please help us fix
STATUS: INABIAF - please **DO NOT** fix
```
For more detailed information see [2001 schweikh in bugs.md](/bugs.md#2001-schweikh).
+1 -1
View File
@@ -1 +1 @@
main(int c,char**v){return!m(v[1],v[2]);}m(char*s,char*t){return*t-42?*s?63==*t|*s==*t&&m(s+1,t+1):!*t:m(s,t+1)||*s&&m(s+1,t);}
main(int c,char**v){return c<3?1:!m(v[1],v[2]);}m(char*s,char*t){return*t-42?*s?63==*t|*s==*t&&m(s+1,t+1):!*t:m(s,t+1)||*s&&m(s+1,t);}