05 2018 档案

摘要:做一件事,要先想好思路,然后再制定一个方案,最后再解决它,写程序也是如此。 全排列有两种实现方式,一种是递归分治,另一种是字典序法。前者代码简洁,思维简单,但是耗费内存资源过大,并且不懂递归原理的人看... 阅读全文
posted @ 2018-05-23 18:48 IT蓝月 阅读(345) 评论(0) 推荐(0)
摘要:#includeusing namespace std;#define M 9int tempData[9 * 8 * 7 * 6 * 5 * 4 * 3 * 2][M] = {0};void sort(int ... 阅读全文
posted @ 2018-05-23 15:48 IT蓝月 阅读(105) 评论(0) 推荐(0)
摘要:#includeusing namespace std;double getMAX(double A,double B);double getMIN(double A,double B);int main(int... 阅读全文
posted @ 2018-05-20 12:43 IT蓝月 阅读(119) 评论(0) 推荐(0)
摘要:#includeusing namespace std;void input(long long array[],long long length);void view(long long array[],lon... 阅读全文
posted @ 2018-05-19 20:27 IT蓝月 阅读(88) 评论(0) 推荐(0)
摘要:#includeusing namespace std;bool jud(int value);int getNums(int value);void getValue(int array[]);int getM... 阅读全文
posted @ 2018-05-19 10:27 IT蓝月 阅读(113) 评论(0) 推荐(0)
摘要:#include#includeusing namespace std;void view(int rows);int main(int argc,char** argv){ int nums; cin >> ... 阅读全文
posted @ 2018-05-18 19:15 IT蓝月 阅读(117) 评论(0) 推荐(0)
摘要:#include#includeusing namespace std;string jud(int year);int main(int argc,char** argv){ int year; cin >>... 阅读全文
posted @ 2018-05-18 17:24 IT蓝月 阅读(116) 评论(0) 推荐(0)
摘要:#include#include#includeusing namespace std;string getTwo(long long data);string getOX(string data);string... 阅读全文
posted @ 2018-05-18 16:01 IT蓝月 阅读(153) 评论(0) 推荐(0)
摘要:#include#include#includeusing namespace std;int value(int bite);string getTemp(string data); long long get... 阅读全文
posted @ 2018-05-18 15:11 IT蓝月 阅读(216) 评论(0) 推荐(0)
摘要:#include#includeusing namespace std;string getTwo(string data);void getEight(string data);int main(int arg... 阅读全文
posted @ 2018-05-18 11:39 IT蓝月 阅读(305) 评论(0) 推荐(0)
摘要:#include#includeusing namespace std;string X_T(char value);string T_E(string value);string getTwo(string d... 阅读全文
posted @ 2018-05-18 10:40 IT蓝月 阅读(595) 评论(0) 推荐(0)
摘要:#includeusing namespace std; void depart(int array[],int start,int last);void sort(int array[],int start,i... 阅读全文
posted @ 2018-05-16 19:16 IT蓝月 阅读(75) 评论(0) 推荐(0)
摘要:#include#include //此库为代码最后一行快捷设置数据格式需要用的的库 #includeusing namespace std;#define PI atan(1.0) * 4int main()... 阅读全文
posted @ 2018-05-16 12:06 IT蓝月 阅读(1102) 评论(0) 推荐(1)
摘要:众所周知,Java取消了C++的多继承机制,但是用另一种方式来间接的实现了多继承------接口! 抽象类是对事物本质整体的抽象,而接口是对事物部分动作的抽象,Java中不允许多继承... 阅读全文
posted @ 2018-05-14 17:13 IT蓝月 阅读(136) 评论(0) 推荐(0)
摘要:众所周知,ListView是安卓最为频繁使用的控件,但是,随着人们审美观的提高,一些初级的ListView已经满足不了需求了,于是,我们必须为自己定制一套专属的ListView,这就需要用到适配器,... 阅读全文
posted @ 2018-05-13 15:32 IT蓝月 阅读(253) 评论(0) 推荐(0)
摘要:众所周知,堆和栈是数据结构中的两种数据结构类型,堆是一种具有优先顺序的完全二叉树(或者说是一种优先队列,因为它在一定的优先顺序下满足队列先进先出的特点),排队打饭就是它的典型实例,栈是一种后进先出的... 阅读全文
posted @ 2018-05-10 19:29 IT蓝月 阅读(286) 评论(0) 推荐(0)

Live2D