fix: correct Codeforces language version IDs and default to C++20 (#349)
## Problem `LANGUAGE_VERSIONS` mapped CF `c++17` to `89` (actually GNU G++20) and defaulted to `c++17`, which didn't match any CF entry. Helpdocs listed CF as having only `c++17`. ## Solution Fix CF version map to `c++17 → 54`, `c++20 → 89`, `c++23 → 91`, add `pypy3 → 70`. Change `DEFAULT_VERSIONS.cpp` to `c++20` (no behavioral change — `89` was already the submit default). Update helpdocs. Fix StyLua formatting in `race.lua`.
This commit is contained in:
parent
8398f3428e
commit
2776aaeb21
3 changed files with 15 additions and 15 deletions
|
|
@ -75,7 +75,10 @@ M.signal_codes = {
|
|||
|
||||
M.LANGUAGE_VERSIONS = {
|
||||
atcoder = { cpp = { ['c++23'] = '6017' }, python = { python3 = '6082' } },
|
||||
codeforces = { cpp = { ['c++17'] = '89' }, python = { python3 = '70' } },
|
||||
codeforces = {
|
||||
cpp = { ['c++17'] = '54', ['c++20'] = '89', ['c++23'] = '91' },
|
||||
python = { python3 = '31', pypy3 = '70' },
|
||||
},
|
||||
cses = { cpp = { ['c++17'] = 'C++17' }, python = { python3 = 'Python3' } },
|
||||
kattis = {
|
||||
cpp = { ['c++17'] = 'C++', ['c++20'] = 'C++', ['c++23'] = 'C++' },
|
||||
|
|
@ -88,6 +91,6 @@ M.LANGUAGE_VERSIONS = {
|
|||
codechef = { cpp = { ['c++17'] = 'C++ 17' }, python = { python3 = 'Python 3' } },
|
||||
}
|
||||
|
||||
M.DEFAULT_VERSIONS = { cpp = 'c++17', python = 'python3' }
|
||||
M.DEFAULT_VERSIONS = { cpp = 'c++20', python = 'python3' }
|
||||
|
||||
return M
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue