here
所在版块:社会百科 发贴时间:2003-09-15 10:34  评分:

用户信息
复制本帖HTML代码
高亮: 今天贴 X 昨天贴 X 前天贴 X 
int fun (int n, int d)
{
int n;

if (n <= 9) return (n == d) ? 1 : 0;
if (n%9 == d) return 1;
tmp = fun(n/10, d);
return tmp ? (tmp+1) ? 0;
}
.
欢迎来到华新中文网,踊跃发帖是支持我们的最好方法!

Put your OWN COOL signature here!
 相关帖子 我要回复↙ ↗回到正文
——— 春兰特派员   (408 bytes , 404reads )
My C source code, have debugged in TC jianxing   (463 bytes , 313reads )
我自己的算法 春兰特派员   (186 bytes , 157reads )
here 吴永铮   (146 bytes , 193reads )
果然高手,虽然我后来做出来了! 春兰特派员   (34 bytes , 148reads )
"return tmp ? (tmp+1) ? 0;" 这个什么意思?? 香陵居士   (27 bytes , 191reads )
typo. another typo is 吴永铮   (59 bytes , 177reads )
标题:———C语言难题一道,急!——— 春兰特派员   (0 bytes , 175reads )