Article View: comp.lang.c
Article #1211Re: BizFuss (was Re: Taming The Switch-Statement)
From: Rosario19
Date: Sat, 31 Oct 2026 17:14
Date: Sat, 31 Oct 2026 17:14
46 lines
3332 bytes
3332 bytes
On Sat, 31 Oct 2026 13:38:05 +0000, bartc wrote:
>> 1 is not divisible by 2 3 5 7
>> 2 is divisible by 2
>
>I suggested you can save characters (2 or 4?) by trimming those strings,
>as there is extra white space here.
Yes it seems is possible eliminate the extra spaces, and instead of
print in stdout strings, return one table and reduce to 73 the lenght
of the [anonymous] function without input and the name (i call that
function below f)
in codegolf I think there are people tha use specializated language
for codegolf can reduce all this to 10-35 characters max zipping the
strings too.
f{leftarrow}{leftbrace}a{leftarrow}{alpha}{diamond}{commabar}{leftbrace}0={notequalunderbar}k{leftarrow}a/{dieresistilde}0=a{stile}{omega}:{omega},{apostrophe}is
not divisible by{apostrophe},a{diamond}{omega},{apostrophe}is
divisible
by{apostrophe},k{rightbrace}{dieresis}{iota}{omega}{rightbrace}
f„{a„¸ª®{0=?k„a/þ0=a|¾:¾,'is not divisible by',aª¾,'is divisible
by',k}¨¼¾}
2 3 5 f 20
1 is not divisible by 2 3 5
2 is divisible by 2
3 is divisible by 3
4 is divisible by 2
5 is divisible by 5
6 is divisible by 2 3
7 is not divisible by 2 3 5
8 is divisible by 2
9 is divisible by 3
10 is divisible by 2 5
11 is not divisible by 2 3 5
12 is divisible by 2 3
13 is not divisible by 2 3 5
14 is divisible by 2
15 is divisible by 3 5
16 is divisible by 2
17 is not divisible by 2 3 5
18 is divisible by 2 3
19 is not divisible by 2 3 5
20 is divisible by 2 5
Technical Details
Message-ID:
<ab8celp4ovhts8s2e08clukmkpg20bf6pu@4ax.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mailReferences:
<11bngj1$ifj5$1@dont-email.me> <11bnnbg$l7i1$1@dont-email.me> <11bntk0$nsbo$1@dont-email.me> <11bnvbq$olbj$1@dont-email.me> <11bo02r$otr5$1@dont-email.me> <11bo0ul$pbso$1@dont-email.me> <11bo1bc$phlr$1@dont-email.me> <tft5elp1q2ns7rhfp3rod862ks5ip3p0ms@4ax.com> <11c1kee$2lqi$2@dont-email.me> <11c205f$73k2$1@dont-email.me> <t8hbelloceeupncsjjl41ah7jd4vv2gms3@4ax.com> <11c4mfp$13b6a$1@dont-email.me> <jjqbeldmt29qt3jjrrlb7j9nuubmvleuvp@4ax.com> <11c4qvu$1506l$1@dont-email.me>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail From: Rosario19 <Ros@invalid.invalid> Newsgroups: comp.lang.c Subject: Re: BizFuss (was Re: Taming The Switch-Statement) Date: Sat, 31 Oct 2026 18:14:46 +0100 Organization: A noiseless patient Spider Lines: 46 Message-ID: <ab8celp4ovhts8s2e08clukmkpg20bf6pu@4ax.com> References: <11bngj1$ifj5$1@dont-email.me> <11bnnbg$l7i1$1@dont-email.me> <11bntk0$nsbo$1@dont-email.me> <11bnvbq$olbj$1@dont-email.me> <11bo02r$otr5$1@dont-email.me> <11bo0ul$pbso$1@dont-email.me> <11bo1bc$phlr$1@dont-email.me> <tft5elp1q2ns7rhfp3rod862ks5ip3p0ms@4ax.com> <11c1kee$2lqi$2@dont-email.me> <11c205f$73k2$1@dont-email.me> <t8hbelloceeupncsjjl41ah7jd4vv2gms3@4ax.com> <11c4mfp$13b6a$1@dont-email.me> <jjqbeldmt29qt3jjrrlb7j9nuubmvleuvp@4ax.com> <11c4qvu$1506l$1@dont-email.me> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Date: Sat, 31 Oct 2026 17:06:49 +0000 (UTC) Injection-Info: dont-email.me; logging-data="1365012"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+3o2sUSVjacwgdHvxvQ4B91GTedZbapes="; posting-host="16b6d0dc3bfca910e87f2c3e3067af6e" Cancel-Lock: sha1:EHzTnc035mUK7bfs+Z1xN/0+kfo= sha256:o2wbGOK3pedlR27XeKhccxhS59wcXOpEA9+m2zkFocI= sha1:S9Gxbsrw1tV0PesBQopJMaQeL9Q= sha256:tyhduZyhUMpgDImh1Y5ad9Ppr97cEcdT83t8HOyFlc8= X-Newsreader: Forte Free Agent 1.93/32.576 English (American)