摘要: uva,146 全排列问题:permutation 具体详解:参考Devymex UVa Problem 146 - ID Codes Problem:Please find the problem here.Solution:This is simply the next permutation 阅读全文
posted @ 2016-04-05 23:53 指尖泛出的繁华 阅读(217) 评论(0) 推荐(0)
摘要: 排序算法: 冒泡排序: 冒泡排序算法的运作如下: 1 #include <iostream> 2 #include <cstdio> 3 #include <math.h> 4 5 int main() 6 { 7 int a[10]; 8 for(int i=0;i<10;i++) 9 a[i]= 阅读全文
posted @ 2016-04-05 13:29 指尖泛出的繁华 阅读(373) 评论(0) 推荐(0)