← Home
test 3: runtime error: runtime error: exit status 1
Traceback (most recent call last):
  File "/tmp/cf-worker-1942362154/main.py", line 82, in <module>
    solve()
  File "/tmp/cf-worker-1942362154/main.py", line 35, in solve
    targets = [junction_pos[ch] for ch in s]
               ~~~~~~~~~~~~^^^^
KeyError: '-'