提交 d4c79d48 编写于 作者: M Mars Liu

fixed bug in code

上级 b4541ff8
# 数的结构判断
下列代码用于判断一个给定整数 x ,是否是 2 的正整次幂。其中能正确执行的是:
下列代码用于判断一个给定整数 x ,是否是 2 的正整次幂(如果是,返回1,否则返回0)。其中能正确执行的是:
## template
......@@ -23,7 +23,7 @@ int main(char** args){
```c
bool check(int x) {
int check(int x) {
if(x < 2){
return 0;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册