不是VIP会员,不能显示答案

题目解答

题目:
(七进制下不含5问题)给定一个整数n(n<=100000),你需要求出1到n的所有整数中,7进制下不含5的整数有多少个。

#include<cstdio>

int n,i,t,flag,ans;

int main() {

scanf("%d",&n) ;

(1);

for(i=1; i<=n; i++) {

(2);

(3);

while(t>0) {

if((4)) {

flag=0;

break;

}

(5);

}

if(flag) ans++;

}

printf("%d\n", ans);

return 0;

}




选择题

1) 空①处应填( )。

2) 空②处应填( )。

3) 空③处应填( )。

4) 空④处应填( )。

5) 空 ⑤ 处应填( )。
考点:
分析:
解答:
评论:
老师: