fix(judger): python2 support

This commit is contained in:
Baoshuo Ren 2022-10-04 21:31:17 +08:00
parent bcf5ce8b06
commit 3ce886327f
Signed by: baoshuo
GPG Key ID: 00CB9680AB29F51A

View File

@ -121,6 +121,7 @@ bool put_class_name_to_file(const std::string &fname, const std::string &class_n
std::map<std::string, std::string> lang_upgrade_map = {
{"Java7" , "Java8" },
{"Java14", "Java17" },
{"Python2", "Python2.7" },
};
std::string upgraded_lang(const std::string &lang) {