fix: complete language version IDs for all platforms (#350)
## Problem `LANGUAGE_VERSIONS` only covered cpp and python. Several platform IDs were wrong — CodeChef used `C++ 17`/`Python 3` (correct: `C++`/`PYTH 3`), USACO listed nonexistent c++20/c++23 options, and CSES only had C++17. ## Solution Verify every platform's submit page and update all language ID tables. Add java and rust entries where supported, fix incorrect CodeChef and USACO IDs, and expand CSES `CSES_LANGUAGES` dict with C++11/C++20/PyPy3/Java/Rust variants.
This commit is contained in:
parent
2776aaeb21
commit
425a8f36e9
5 changed files with 64 additions and 34 deletions
|
|
@ -31,13 +31,25 @@ HEADERS = {
|
|||
CONNECTIONS = 8
|
||||
|
||||
CSES_LANGUAGES: dict[str, dict[str, str]] = {
|
||||
"C++11": {"name": "C++", "option": "C++11"},
|
||||
"C++17": {"name": "C++", "option": "C++17"},
|
||||
"Python3": {"name": "Python", "option": "CPython3"},
|
||||
"C++20": {"name": "C++", "option": "C++20"},
|
||||
"Python3": {"name": "Python3", "option": "CPython3"},
|
||||
"PyPy3": {"name": "Python3", "option": "PyPy3"},
|
||||
"Java": {"name": "Java", "option": "Java"},
|
||||
"Rust2018": {"name": "Rust", "option": "2018"},
|
||||
"Rust2021": {"name": "Rust", "option": "2021"},
|
||||
}
|
||||
|
||||
EXTENSIONS: dict[str, str] = {
|
||||
"C++11": "cpp",
|
||||
"C++17": "cpp",
|
||||
"C++20": "cpp",
|
||||
"Python3": "py",
|
||||
"PyPy3": "py",
|
||||
"Java": "java",
|
||||
"Rust2018": "rs",
|
||||
"Rust2021": "rs",
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue