L D[AR2P#0.0]
Lifetime Supporting Member
Here's a simple puzzle to get your brain cells ready for another puzzle I have brewing.
Answers by pm
Code:
I have three files on my computer:
AllOnes.txt
AllZeros.txt
OnesAndZeroes.txt
Each file contains either all ones, all zeroes, or ones and zeroes as characters
and all of the files have been misnamed.
You can read one character from one of the files.
Which file do you read the character from and how do you subsequently
rename the files so they correctly match their contents?