1-9九个数字组合成三个分数
1-9九个数字组合成三个分数,要求前两个分数之和等于第三个分数。先放代码,目前没有去重,等有时间再弄。#include<stdio.h>#include<iostream>usingnamespace std;structmyarr{ inta[9]; structmyarr *next;}mya,myall;staticvoid showArr(int arr[], in...
原创
2018-06-02 16:31:39 ·
3300 阅读 ·
0 评论