Skip to content

absMax fix bug. #619

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

Closed
wants to merge 6 commits into from
Closed

absMax fix bug. #619

wants to merge 6 commits into from

Conversation

ahviplc
Copy link
Contributor

@ahviplc ahviplc commented Nov 29, 2018

absMax fix bug.And in absMin.py,
import error,fix it.just make it better.

Maths/3n+1.py Outdated
"""
算法题:

输入一个数,偶数时则砍掉一半;奇数时,则(3n+1)砍掉一半,最后直到得到1.问,进行了多少次?
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

嘿,哥儿们,国外仓库不要用中文噢~

Do not use Chinese characters, please :)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK! I Know!Thanks!

@ahviplc
Copy link
Contributor Author

ahviplc commented Dec 4, 2018

OK!Remove Chinese remarks.Done. And,absmax.py and absmin.py bugs fixed. I think absmax.py and absmin.py, are the Numbers with the max output absolute value and the min output absolute value.please check pull request #623.

@ahviplc
Copy link
Contributor Author

ahviplc commented Dec 4, 2018

my version output example : absMax.py【a = [-13, 2, -11, -12] print(absMax(a)) # = -13】, this absMax print -13 ; absMin.py【 a = [-3,-1,2,-11] print(absMin(a)) # = -1】, this absMin print -1 . please check it.

@yanglbme
Copy link
Member

yanglbme commented Dec 4, 2018

@ahviplc
image

Write your commit messages in English, please!

哥儿们,你用中文写提交信息,我要是 merge 了,怕是要被外国小哥打死 :(

考虑把这个 pr 关了,你重新提交个规范的,我再 Review 一下~ thx :)

@yanglbme yanglbme closed this Dec 4, 2018
@ahviplc
Copy link
Contributor Author

ahviplc commented Dec 4, 2018

this is my first pr.Sorry,ok,i do it right now.thx:)

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