第六届蓝桥杯九数分组

九数组分数 1,2,3...9 这九个数字组成一个分数,其值刚好为1/3,如何组法? #include <stdio.h> void test(int x[]) { int a = x[0]*1000 + x[1]*100 + x[2]*10 + x[3]; int b = x[4]*10000 + x[5]*1000 + x[6]*100 + x[7]*10 + x[8]; if(a
相关文章
相关标签/搜索