()
| 91 | |
| 92 | |
| 93 | def load_result() -> List[dict]: |
| 94 | result_file = "./result.json" |
| 95 | if not os.path.exists(result_file): |
| 96 | return [] |
| 97 | with open(result_file, "r", encoding="utf-8") as f: |
| 98 | res = f.read() |
| 99 | return json.loads(res) |
| 100 | |
| 101 | |
| 102 | def load_contest_result() -> List[dict]: |