Skip to content

LeetCode 504 迭代方法勘误 #521

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 10 commits into from
Jan 28, 2022
Merged

Conversation

andy814
Copy link
Contributor

@andy814 andy814 commented Jan 21, 2022

返回类型需要是字符串,原答案无法通过测试用例0

Trying to solve GitHub Action fails “The GITHUB_TOKEN environment variable was not set”
@azl397985856
Copy link
Owner

why update .github/workflows/calibreapp-image-actions.yml

@andy814
Copy link
Contributor Author

andy814 commented Jan 22, 2022

我提交的时候github检查报了个错误,大意是 The GITHUB_TOKEN environment variable was not set
然后我上网查了查,更改了yml文件里面env variable的位置,他就不报错了
参考: https://www.koskila.net/github-action-fails-with-the-github_token-environment-variable-was-not-set/

要是不合适的话我就改回来。我不确定这个错误是怎么回事。。。

@azl397985856
Copy link
Owner

改回来吧。 因为 secret 里我没有设置这个东西,因此实际也没用

@andy814
Copy link
Contributor Author

andy814 commented Jan 23, 2022

改回来了

@azl397985856
Copy link
Owner

@andy814 你改错了吧? 你自己看下 changes

@andy814
Copy link
Contributor Author

andy814 commented Jan 27, 2022

我不觉得有问题呀。changes里面只改了504.base-7.md的第88行,从0改成了“0”
这一点可以在LeetCode验证,如果返回0的话会无法通过测试,返回“0”就可以了。
https://leetcode.com/problems/base-7/submissions/

@azl397985856
Copy link
Owner

@andy814 现在没问题了。

@azl397985856 azl397985856 merged commit 9821e13 into azl397985856:master Jan 28, 2022
azl397985856 added a commit that referenced this pull request Aug 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants