When I run in IDE all the test cases in scrabble (using python3) pass.
But when I am submitting the answer I fail only on the first test which have only word.
The solution isn’t hard coded, even the harder test cases pass.
Is this really a bug?
If not, what could cause it to fail?
I tried, but there aren’t many edge cases due to the restrictions of the game.
Nothing I tried so far broke the program.
Does the automatic validation take time as parameter for testing the code? could it be performance issue?
Any way to see what the automatic validation tests?
instead of:
cur_values = {k:1 for k in ‘eaionrtsu’}
cur_values.update({k:2 for k in ‘dg’})
cur_values.update({k:3 for k in ‘bcmp’})
cur_values.update({k:4 for k in ‘fhvwy’})
cur_values.update({k:5 for k in ‘k’})
cur_values.update({k:8 for k in ‘jx’})
cur_values.update({k:10 for k in ‘qz’})
hey, there’s still a bug in validators - there’s a validator with 2 best words on inputs where u can accidentally print the wrong one and fail it, but there isn’t any test case with 2 best words, so people submit their 100% solution and don’t understand why they got only 87%
would u fix some test case so it would fail due to 2 best words? or fix the 2 best words validator (i don’t remember which one)