Coding Games and Programming Challenges to Code Better
Send your feedback or ask for help here!
Created by @ATmax,validated by @Kktus,@Miki09 and @Dyd.
If you have any issues, feel free to ping them.
Coding Games and Programming Challenges to Code Better
Send your feedback or ask for help here!
Created by @ATmax,validated by @Kktus,@Miki09 and @Dyd.
If you have any issues, feel free to ping them.
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.
JavaScript:
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