2015年5月3日
摘要: 1 #include 2 #include 3 #include 4 #include 5 6 using namespace std; 7 const int N=15; 8 void change(int a[],int f,int t) 9 {10 int tmp=a[f];11 ... 阅读全文
posted @ 2015-05-03 23:12 Evence 阅读(160) 评论(0) 推荐(0) 编辑
摘要: 1 #include 2 #include 3 #include 4 5 int arr[100]; 6 int inum=0; 7 8 bool isHappy(int n) 9 {10 11 for(int k=0 ; (n!=1)&& k<5000 ; ++k)12 {1... 阅读全文
posted @ 2015-05-03 21:11 Evence 阅读(152) 评论(0) 推荐(0) 编辑