Coding Games and Programming Challenges to Code Better
Send your feedback or ask for help here!
Hello
I have solved Dice Probability Calculator and naturally made a few tweaks to adapt the algorithm to this puzzle. My solution passes all tests and validators, except validator 4. Is it possible to get at least a hint as to what is expected?
Hint for Validator 4: Check whether your code handles the unary operator correctly in whatever position it may appear in an expression.
Oh, that’s actually a case I considered at the beginning and somehow completely forgot to take into account in my final version. It passes now. Thank you!