Leetgo version info :
0.3.0
commit: 2764426ac5844fef41d9131fe33c3d9d23861fc1
built at: 2023-02-25T09:20:06Z
goos: windows
goarch: amd64
Global config dir : C:\Users\Administrator.config\leetgo
Global config file : C:\Users\Administrator.config\leetgo\config.yaml
Project root : F:\play_with_code\play_with_python\tools\leetgo
Working dir : F:\play_with_code\play_with_python\tools\leetgo
Project config file : F:\play_with_code\play_with_python\tools\leetgo\leetgo.yaml
Project configuration:
leetgo project level config, global config is at C:\Users\Administrator.config\leetgo\config.yaml
name: beforeMarker
template: |+
from bisect import
from collections import
from heapq import
from typing import List
from itertools import
from math import inf
from functools import cache
name: beforeCode
template: |+
from sortedcontainers import SortedList
Verify steps
leetgo config
Global config dir : C:\Users\Administrator.config\leetgo Global config file : C:\Users\Administrator.config\leetgo\config.yaml Project root : F:\play_with_code\play_with_python\tools\leetgo Working dir : F:\play_with_code\play_with_python\tools\leetgo Project config file : F:\play_with_code\play_with_python\tools\leetgo\leetgo.yaml Project configuration:
leetgo project level config, global config is at C:\Users\Administrator.config\leetgo\config.yaml
for more details, please refer to https://github.com/j178/leetgo
language: zh code: lang: python3 filename_template: '{{ .Id | padWithZero 4 }}.{{ .Difficulty }}.{{ .Title }}{{ if .SlugIsMeaningful }}.{{ .Slug }}.{{ .Difficulty }}{{ end }}'
python3:
blocks:
leetcode: site: https://leetcode.cn
credentials:
from: browser
editor:
use: none
Description
用chrome打开并确认登录失效后,我再次执行leetgo contest命令,能够正常登录成功了。