Problem: `scrape_contest_list` made O(N) requests (one per Starters number up to ~200) to discover division sub-contests. `run_one` also fetched problem HTML via `curl_cffi` solely for the memory limit, unavailable in the nix python env. Solution: use `/api/list/contests/all` directly — filter to `^START\d+$` codes and map to `ContestSummary` in a single request. Remove `_fetch_html_sync`, `MEMORY_LIMIT_RE`, and `_extract_memory_limit`; hardcode `memory_mb = 256.0` and `precision = None` in `run_one`. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| atcoder.py | ||
| base.py | ||
| codechef.py | ||
| codeforces.py | ||
| cses.py | ||
| kattis.py | ||
| language_ids.py | ||
| models.py | ||
| timeouts.py | ||
| usaco.py | ||