“c404ca64e045204d3dd4dd2628778d21a77a2ed5”上不存在“...kernel/git@gitcode.net:paddlepaddle/Paddle-Lite.git”
提交 b4541ff8 编写于 作者: M Mars Liu

use template

上级 1aa5c294
......@@ -2,24 +2,23 @@
下列代码用于判断一个给定整数 x ,是否是 2 的正整次幂。其中能正确执行的是:
## aop
## template
### before
```
```c
#include <stdio.h>
```
### after
```c
printf("check(%d) return %d\n", 100, check(100));
printf("check(%d) return %d\n", 64, check(64));
printf("check(%d) return %d\n", 2, check(2));
printf("check(%d) return %d\n", 32, check(32));
$code
int main(char** args){
printf("check(%d) return %d\n", 100, check(100));
printf("check(%d) return %d\n", 64, check(64));
printf("check(%d) return %d\n", 2, check(2));
printf("check(%d) return %d\n", 32, check(32));
return 0;
}
```
## 答案
```c
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册