0-9 3位5个数相加尾数等于0最终尾数为0

0到9里面3位数相加等于16的有多少组?_百度知道
0到9里面3位数相加等于16的有多少组?
我有更好的答案
9组 (0<img class="word-replace" src="/api/getdecpic?picenc=0ad<img class="word-replace" src="/api/getdecpic?picenc=0ad)(1<img class="word-replace" src="/api/getdecpic?picenc=0ad<img class="word-replace" src="/api/getdecpic?picenc=0ad)(2<img class="word-replace" src="/api/getdecpic?picenc=0ad<img class="word-replace" src="/api/getdecpic?picenc=0ad)(3<img class="word-replace" src="/api/getdecpic?picenc=0ad<img class="word-replace" src="/api/getdecpic?picenc=0ad)(5<img class="word-replace" src="/api/getdecpic?picenc=0ad<img class="word-replace" src="/api/getdecpic?picenc=0ad)(5<img class="word-replace" src="/api/getdecpic?picenc=0ad<img class="word-replace" src="/api/getdecpic?picenc=0ad)(3<img class="word-replace" src="/api/getdecpic?picenc=0ad<img class="word-replace" src="/api/getdecpic?picenc=0ad)(1<img class="word-replace" src="/api/getdecpic?picenc=0ad<img class="word-replace" src="/api/getdecpic?picenc=0ad)(6<img class="word-replace" src="/api/getdecpic?picenc=0ad<img class="word-replace" src="/api/getdecpic?picenc=0ad )
16=0+9+7=1+9+6=1+8+7=2+5+9=2+6+8=3+4+9=3+5+8=3+6+7所以如果数字不可重复共有8组。
1.6.91.7.8367457
其他类似问题
为您推荐:
等待您来回答
下载知道APP
随时随地咨询
出门在外也不愁用“0到9”组成一个加法竖式(三位数加三位数等于一个四位数),数字不能重复
用“0到9”组成一个加法竖式(三位数加三位数等于一个四位数),数字不能重复
08-10-08 &
不知道 不知道 好烦好烦
请登录后再发表评论!
用这个C程序就可以了。
#include &stdio.h&void fill_array(int sa, int sb, int sc, int p1a, int p1b, int p1c, int p2a, int p2b, int p2c, int s_high,
int s_med, int s_low, int p1_high, int p1_med, int p1_low,int p2_high, int p2_med, int p2_low);const int n[9]={0,2,3,4,5,6,7,8,9};int para1;int para2;struct group{
int para1_
int para2_};struct group result[504]; main(void){int j=0;for (j=0;j&504;j++){ result[j].para1_result=0; result[j].para2_result=0; result[j].sum_result=0;}j=0;fill_array(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0);for (j=0;j&504;j++){ printf(&%d+%d=%d;\t&,result[j].para1_result,result[j].para2_result,result[j].sum_result);}} void fill_array(int sa, int sb, int sc, int p1a, int p1b, int p1c, int p2a, int p2b, int p2c, int s_high,
int s_med, int s_low, int p1_high, int p1_med, int p1_low,int p2_high, int p2_med, int p2_low){int temp=0;int i=0;for (sa=0;sa&9;sa++){ s_high=n[sa]; // for (sb=0;sb&9;sb++) {
temp=n[sb];
if (temp==s_high)
for (sc=0;sc&9;sc++)
temp=n[sc];
if (temp==s_high)
else if (temp==s_med)
sum=*s_high+10*s_med+s_
for (p1a=0;p1a&9;p1a++)
temp=n[p1a];
if (temp==s_high)
else if (temp==s_med)
else if (temp==s_low)
p1_high=//
for (p1b=0;p1b&9;p1b++)
temp=n[p1b];
if (temp==s_high)
else if (temp==s_med)
else if (temp==s_low)
else if (temp==p1_high)
for(p1c=0;p1c&9;p1c++)
temp=n[p1c];
if (temp==s_high)
else if (temp==s_med)
else if (temp==s_low)
else if (temp==p1_high)
else if (temp==p1_med)
{p1_low=//
para1=100*p1_high+10*p1_med+p1_
for (p2a=0;p2a&9;p2a++)
temp=n[p2a];
if (temp==s_high)
else if (temp==s_med)
else if (temp==s_low)
else if (temp==p1_high)
else if (temp==p1_med)
else if (temp==p1_low)
p2_high=//
for (p2b=0;p2b&9;p2b++)
temp=n[p2b];
if (temp==s_high)
else if (temp==s_med)
else if (temp==s_low)
else if (temp==p1_high)
else if (temp==p1_med)
else if (temp==p1_low)
else if (temp==p2_high)
for (p2c=0;p2c&9;p2c++)
temp=n[p2c];
if (temp==s_high)
else if (temp==s_med)
else if (temp==s_low)
else if (temp==p1_high)
else if (temp==p1_med)
else if (temp==p1_low)
else if (temp==p2_high)
else if (temp==p2_med)
{p2_low=//
para2=100*p2_high+10*p2_med+p2_
temp=para1+para2;
if (sum==temp)
result[i].sum_result=
result[i].para1_result=para1;
result[i].para2_result=para2;
请登录后再发表评论!
思路是,最高位能够确定肯定是1,如果需要数字不重复,那么,所有可能的和的个数根据排列组合是9*8*7=504个,每个和对应的可能的加数1的个数是6*5*4=120个,然后每个和与加数1的组合可能对应的加数2的个数是3*2*1=6个。然后将每个组合的加数1与加数2相加,再与相应的和比较,如果相等,就是其中的一个解。
\ para2[5]
\para1[119]
\ para2[5]
\ para2[5]
\para1[119]
\ para2[5]
\ para2[5]
\ para2[5]
\para1[119] | ……
\ para2[5]
瞧本人多认真啊!多给点分啊!
请登录后再发表评论!0到9中任意三位数相加等13是哪几位_百度知道
0到9中任意三位数相加等13是哪几位
种能:0+4+91+4+81+3+92+3+82+4+72+5+63+4+6
其他类似问题
为您推荐:
其他1条回答
13=9+4+0=9+3+1=8+5+0=8+4+1=8+3+2=7+6+0=7+5+1=7+4+2=6+5+2=6+4+3
等待您来回答
下载知道APP
随时随地咨询
出门在外也不愁}

我要回帖

更多关于 3位数相加等于30 的文章

更多推荐

版权声明:文章内容来源于网络,版权归原作者所有,如有侵权请点击这里与我们联系,我们将及时删除。

点击添加站长微信