← run

lc-05-buried-routes

1.000
3/3 tests· long-context

Proposed solution

```python
def resolve(code: int) -> str:
    """Return the handling service for a status code, or "unknown" if unrouted."""
    ROUTES_190 = {
        91894: 'jade-forge-57',
        79981: 'slate-relay-53',
        77875: 'kelp-beacon-18',
        73048: 'tundra-cascade-51',
        54517: 'basal-quorum-74',
        51408: 'loom-lattice-81',
        17389: 'slate-cascade-62',
        48294: 'flint-atlas-61',
        84507: 'rill-beacon-84',
        96353: 'amber-quorum-50',
    }
    return ROUTES_190.get(code, "unknown")
```

Test output (stdout)

...                                                                      [100%]
3 passed in 0.01s
System prompt
You are an expert programmer. Solve the task exactly as specified. Output your solution as fenced code blocks using the required file name(s) and the exact function/type signatures requested. Prefer correctness; do not include prose outside code unless asked.