bonfy / leetcode

:sparkles::v::sparkles:leetcode刷题 内附leetcode solution代码自动下载生成器(Leetcode solution auto generator)
554 stars 181 forks source link

No solution with the set languages in question #26

Closed HLNN closed 5 years ago

HLNN commented 5 years ago

你好 我在使用脚本的时候遇到了一点问题 能获取我ac了的题目 但是下不下来

我leetcode上用的py写的 config里面填的

language = python,cpp

输出如下:

python3 leetcode_generate.py 
API load submissions request 2 seconds per request
Please wait ...
try to load submissions from  0  to  20
try to load submissions from  20  to  40
try to load submissions from  40  to  60
Leetcode load self info
download all leetcode solutions
No solution with the set languages in question:1-two-sum
No solution with the set languages in question:2-add-two-numbers
No solution with the set languages in question:11-container-with-most-water
No solution with the set languages in question:16-3sum-closest
No solution with the set languages in question:19-remove-nth-node-from-end-of-list
No solution with the set languages in question:21-merge-two-sorted-lists
No solution with the set languages in question:23-merge-k-sorted-lists
No solution with the set languages in question:24-swap-nodes-in-pairs
No solution with the set languages in question:41-first-missing-positive
No solution with the set languages in question:61-rotate-list
No solution with the set languages in question:82-remove-duplicates-from-sorted-list-ii
No solution with the set languages in question:83-remove-duplicates-from-sorted-list
No solution with the set languages in question:148-sort-list
No solution with the set languages in question:941-sort-array-by-parity
Leetcode finish dowload
Leetcode finish write readme
[master cc0ccc7] update at 2019-01-13
 1 file changed, 2 insertions(+), 2 deletions(-)
Username for 'https://github.com': 

谢谢

bonfy commented 5 years ago

@HLNN

感谢你的反馈

Python 分 python 和 python3, 你看看你是用哪种写的,如果填 python 下载不到 再试试 python3

另外 你也可以尝试下用其他语言 比如 c 、rust 来写一个,测试下能不能下载

HLNN commented 5 years ago

谢谢 已经解决了 我用python3写的 但配置文件写的python

另外我觉得可以把代码都放到一个src之类的文件夹里面 就不用往下翻很久才能看到README