Ad
  • Custom User Avatar

    When I was trying to submit a python solution, it passed all the fixed tests, but when it got to random I got an error

    Traceback (most recent call last):
      File "/workspace/default/tests.py", line 139, in <module>
        for i in range(20): test_fnc(*test_gen(RN(5)+20,RN(6)+7,2))
                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/workspace/default/tests.py", line 136, in test_fnc
        test.assert_equals(blast_sequence(nx,ny),ref_funk(nx,ny))
                                                 ^^^^^^^^^^^^^^^
      File "/workspace/default/tests.py", line 53, in ref_funk
        mv = zv + y
             ~~~^~~
    TypeError: can only concatenate list (not "int") to list
    

    My solution seems to work with the random test cases, but somehow it still gives the error