-
Notifications
You must be signed in to change notification settings - Fork 0
v0.1 Q&A
Windows now is supporting WSL(Windows Subsystem Linux) !
and Announcing WSL 2
you can run ubuntu or other linux distribution on windows
using this tool directly on windows may have some bugs. cause of some function is base on linux system command.
at first, you should install compilation tool by your self.
you can config the compliation call in lang.py
now, the tool is using diff
command to compare output, however macOS or some other OS may have different diff
tool with different arguments. One solution is installing gnu's version diff
,another way is modify diff_cmd
and show_diff_cmd
in the top of test.py
.
config lang.json
for local language
run lang.py
can take a view of current configuration in lang.json
modify config.json
to support different platform in different language(according to the field in lang.json
)
run ./lang.py --oj cf
can take a look of Codeforces' supported language, like below:
43 GNU GCC C11 5.1.0
52 Clang++17 Diagnostics
42 GNU G++11 5.1.0
50 GNU G++14 6.4.0
54 GNU G++17 7.3.0
2 Microsoft Visual C++ 2010
59 Microsoft Visual C++ 2017
...
left column is id
,right part is description,you should modify up_lang
field as id
in config.json
. ** IT'S STRING DON't FORGET DOUBLE QUOTATION**
according to current tool's implement, if you config in that way, you can login and submit, but the tool is using codeforces' official api to get the result, and the official api doesn't support email
handle, so it can't fetch the result.