this post was submitted on 22 Aug 2023
214 points (96.9% liked)
memes
10310 readers
1831 users here now
Community rules
1. Be civil
No trolling, bigotry or other insulting / annoying behaviour
2. No politics
This is non-politics community. For political memes please go to !politicalmemes@lemmy.world
3. No recent reposts
Check for reposts when posting a meme, you can only repost after 1 month
4. No bots
No bots without the express approval of the mods or the admins
5. No Spam/Ads
No advertisements or spam. This is an instance rule and the only way to live.
Sister communities
- !tenforward@lemmy.world : Star Trek memes, chat and shitposts
- !lemmyshitpost@lemmy.world : Lemmy Shitposts, anything and everything goes.
- !linuxmemes@lemmy.world : Linux themed memes
- !comicstrips@lemmy.world : for those who love comic stories.
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
You know this would be a great programming problem for CS students. Given the phrase "head less horse man", generate all 4-word phrases, repeated words allowed. (Some of the ones in this picture aren't 4 words, but anyways...)
Consider the words "head less horse man" to be digits in a base-4 number system; head=0 less=1 horse=2 man=3. Counting from 0 to (4^4)-1 would yield 256 unique values,
Bonus points for funniest picture to go with a value (must be hand-drawn by student, no AI allowed) :)
EDIT: not permutations, which I originally said. It's more of an exercise in understanding how to count in bases other than 10.