codeforces 翻译
Project description
codeforces translate
安装
pip install codeforces-translate
注意警告,若警告 python script 路径未添加到系统 PATH 中,请及时添加。
基本功能
- 翻译一个问题
- 翻译一场比赛
- 输出为 $pdf$
快速使用
# cf-translate contest_id
# 翻译 Codeforces Round 859 (Div. 4)
# https://codeforces.com/contest/1807/problems
cf-translate 1807
# 翻译 The 2022 ICPC Asia Xian Regional Contest
# https://codeforces.com/gym/104077/problems
cf-translate 104077
# cf-translate contest_id id
# 翻译 Codeforces Round 859 (Div. 4) 的 A 题
# https://codeforces.com/contest/1807/A
cf-translate 1807 A
# 翻译 The 2022 ICPC Asia Xian Regional Contest 的 A 题
cf-translate 104077 A
以上命令会在当前路径下生成翻译后的 $markdown$ 文档,然后在支持 $markdown$ 的程序里预览
效果
注意
翻译一场比赛时,暂不支持无 problems 的比赛,你可以选择单独翻译一道问题
翻译采用谷歌翻译,请确保你能正常访问谷歌翻译
有时 codeforces 会挂掉,此程序会查询 5 分钟
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for codeforces_translate-0.1.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | eb4da5d04eb48fb57f766cc5b2551b952f7ce522bc5b0fb4dec20ada4e9e0b83 |
|
MD5 | 113a4ea777914a5b63074f9e6875c67e |
|
BLAKE2b-256 | be962354c681fd3c1e8a6acdd67e09453cc354306e66874c3204bdf71edf8cc9 |
Close
Hashes for codeforces_translate-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 31d623526c16345cb34f4d5b13a64fa7d2ed1f035541d4cb41cf3e9bd0c485cc |
|
MD5 | b9812ba02a9ccb1aa3eb90dd5731c4dd |
|
BLAKE2b-256 | beb94223c0e494c4c72d3739a28ad004a163143fe2c748e7d02b9214211f96cf |