【文件属性】:
文件名称:leetcode怎么提交c语言-peetcode:LeetcodeScons脚本
文件大小:9KB
文件格式:ZIP
更新时间:2021-06-30 04:42:55
系统开源
leetcode怎么提交c语言密码
Peetcode
是
leetcode
的
scons
构建系统。
您可以使用peetcode自动为问题创建项目,编译您的代码,使用输入文件和预期输出文件测试解决方案,并提交您的最终代码。
如何安装
Peetcode
需要
python3.6
或更高版本。
然后,
git
clone
https://github.com/tcz717/peetcode.git
cd
peetcode
#
remember
to
insatll
scons
in
python3.6
pip3.6
install
-r
requirements.txt
如果您遇到诸如Unable
to
find
engine
files类的错误。
尝试以下命令:
#
change
python
to
python3
or
python3.6
sudo
sed
-i
'
s/#!
\/usr\/bin\/env
python$/#!
\/usr\/bin\/env
python3.6/
'
$(
which
scons
)
#
update
PYTHONPATH
variable
sud
【文件预览】:
peetcode-master
----.gitignore(2KB)
----README.md(3KB)
----SConstruct(7KB)
----LICENSE(1KB)
----peetcode.py(8KB)
----requirements.txt(30B)