Hide
Problem F
Distinguish random and non-random strings
Classify bit strings as being random or non-random.
Input
Each line of the input consists of a hexadecimal encoded array of bytes.
Output
For each input line, output the string “1” or “0” depending on if the string is random or not. End the resulting string with a single newline character.
Sample Input 1 | Sample Output 1 |
---|---|
238DC6369CF13D2A56E6 F1E988A841F1E988A841 |
10 |