feat(cses): update cses with concept of a category

This commit is contained in:
Barrett Ruth 2025-09-20 14:01:18 -04:00
parent 8df38d0ca8
commit 8e13b8c61d
5 changed files with 299 additions and 28 deletions

View file

@ -3,12 +3,20 @@
import json
import re
import sys
import time
from dataclasses import asdict
import requests
from bs4 import BeautifulSoup, Tag
from .models import MetadataResult, ProblemSummary, TestCase, TestsResult
from .models import (
ContestListResult,
ContestSummary,
MetadataResult,
ProblemSummary,
TestCase,
TestsResult,
)
def extract_problem_limits(soup: BeautifulSoup) -> tuple[int, float]: