摘要: #include "stdafx.h"#include<iostream>using namespace std; int method(int a){ if (a==1) return 1; else if (a==2) return 2; else if (a>2) return method( 阅读全文
posted @ 2017-03-08 19:39 听瞎子唱歌 阅读(98) 评论(0) 推荐(0) 编辑
摘要: #include "stdafx.h"#include <iostream>using namespace std;int _tmain(int argc, _TCHAR* argv[]){ int length,s,a,max; cout<<"请输入数组长度"; cin>>length; int 阅读全文
posted @ 2017-03-08 19:38 听瞎子唱歌 阅读(97) 评论(0) 推荐(0) 编辑
摘要: #include "stdafx.h"#include <iostream>using namespace std; int _tmain(int argc, _TCHAR* argv[]){ int length,a,s,i; cout<<"请输入数组长度"; cin>>length; int * 阅读全文
posted @ 2017-03-08 19:37 听瞎子唱歌 阅读(98) 评论(0) 推荐(0) 编辑