bonfy/leetcode

support 4 digits problem ids

Closed this issue · 1 comments

since the problems has exceeded 1000, it will be nice to pad an extra zero in the front

qname = '{id}-{title}'.format(id=str(qid).zfill(4), title=qtitle)

bonfy commented

Thanks.

Done.