Skip to content
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

【Day35】342. 4的幂 | Shawlon`s Blog #9

Open
MUYIio opened this issue May 31, 2021 · 0 comments
Open

【Day35】342. 4的幂 | Shawlon`s Blog #9

MUYIio opened this issue May 31, 2021 · 0 comments

Comments

@MUYIio
Copy link
Owner

MUYIio commented May 31, 2021

https://www.yshawlon.cn/day35-342-4-de-mi.html

  1. 4的幂给定一个整数,写一个函数来判断它是否是 4 的幂次方。如果是,返回 true ;否则,返回 false 。
    整数 n 是 4 的幂次方需满足:存在整数 x 使得 n == 4x
    示例 1:
    输入:n = 16
    输出:true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant