求c语言高手做此题"Well,it seems the first problem is too easy.I will let you know how foolish you are later." feng5166 says."The second problem is,given an positive integer N,we define an equation like this:N=a[1]+a[2]+a[3]+...+a[m];a[i]>0,1

来源:学生作业帮助网 编辑:作业帮 时间:2024/11/27 22:21:18
求c语言高手做此题0,1" />
xRN0j6E04;K'$($:v?P1"$T!> D*]!?9ֽvson>Vru^n_K" 1SS !/cdH)ZPQB0ԌXJN*mHV p;HNSPl΅)0"ګn%t\* 0*cXx]2MR9Φ;Az:mMO7wV ߾Q0=F#6T$,C8Q1fmC6qFÖaY pԬ?BHt{ +,e8vC'z6E&1DxS}^h

求c语言高手做此题"Well,it seems the first problem is too easy.I will let you know how foolish you are later." feng5166 says."The second problem is,given an positive integer N,we define an equation like this:N=a[1]+a[2]+a[3]+...+a[m];a[i]>0,1
求c语言高手做此题
"Well,it seems the first problem is too easy.I will let you know how foolish you are later." feng5166 says.
"The second problem is,given an positive integer N,we define an equation like this:
N=a[1]+a[2]+a[3]+...+a[m];
a[i]>0,1

求c语言高手做此题"Well,it seems the first problem is too easy.I will let you know how foolish you are later." feng5166 says."The second problem is,given an positive integer N,we define an equation like this:N=a[1]+a[2]+a[3]+...+a[m];a[i]>0,1
#include
using namespace std;
const int m=120;
int c1[m+1],c2[m+1];
int main()
{
int n,i,j,k;
while(cin>>n)
{
for(i=0;i