mirror of
https://github.com/renbaoshuo/S2OJ.git
synced 2024-11-09 16:38:41 +00:00
fix(judger): python2 support
This commit is contained in:
parent
bcf5ce8b06
commit
3ce886327f
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user