681
The Perfect Solution
(programming.dev)
Welcome to Programmer Humor!
This is a place where you can post jokes, memes, humor, etc. related to programming!
For sharing awful code theres also Programming Horror.
They don't process inputs as binary (they use clusters of symbols, i.e. letter groups) so that's not guaranteed to work
You can ask it if the last digit is odd or even, then.
r/woosh
I did realize that too was a joke, still wanted to point that out
Well, in the sake of pointing things out, GPT-4 can actually correctly answer the prompt, because it arrives at it in the opposite direction. It can tell the integer is even or odd and knows that even or odd integers in binary end in 0 or 1 respectively.