解题思路:
注意事项:
参考代码:
#include <math.h>
#include <stdio.h>
int main()
{
int x,y,z,q,p,n=1;
while(n++)
{
x=n/8;
y=x/8;
z=y/8;
if(n%8==1 && x%8==1 && y%8==7)
{
q=n/17;
p=q/17;
if(n%17==4 && q%17==15 && p==2*z)
{
printf("%d",n);
break;
}
}
}
}
0.0分
7 人评分
点我有惊喜!你懂得!浏览:1236 |
【回文数(二)】 (C++代码)浏览:866 |
字符串问题 (C语言代码)浏览:1504 |
Pascal三角 (C语言代码)格式错误浏览:518 |
淘淘的名单 (C语言代码)答案错误???浏览:593 |
校门外的树 (C语言代码)浏览:957 |
C语言程序设计教程(第三版)课后习题1.5 (C语言代码)浏览:470 |
1642题解浏览:712 |
1017题解浏览:592 |
1124题解浏览:592 |