Send your feedback or ask for help here!
I guess due to some ambiguity the last validator check fails.
Testcase 7 contains “117” which is “O” in octal and “u” in decimal. The test case reference result contains “O”.
I “fixed” the test case by checking octal before decimal. But this seems to be wrong.
console.error(String.fromCharCode(parseInt(‘117’, 8))) // → O
console.error(String.fromCharCode(parseInt(‘117’))) // → u
I check first hexadecimal then octal, decimal, binary.
What hint did I overlook to resolve such ambiguities? I don’t find one.
Are uppercase letters prior to lowercase letters?
The statement says
some letters are converted to binary, octal, or hexadecimal randomly.
No letter is converted to decimal.
Oh my god! How could I miss this. Thx
Just as a comment. Validator test 7 fails when checking hex → oct → bin.
But it succeeds when starting with bin → oct → hex.
Anyway, thx for the quick support.
For those wondering about the two last validators, it seems that if there’s two consecutive spaces then a space should be printed on stdout