摘要: DFS全排列: #include <iostream> #include <cstring> using namespace std; const int N = 10; int n,path[N]; bool sta[N]; void dfs(int u) { if(u == n) { for(i 阅读全文
posted @ 2020-04-08 22:40 龙雪可可 阅读(99) 评论(0) 推荐(0) 编辑
摘要: 区间和: #include <iostream> #include <vector> #include <algorithm> using namespace std; const int N = 300000; int a[N],s[N]; typedef pair<int, int> PII; 阅读全文
posted @ 2020-04-08 11:39 龙雪可可 阅读(121) 评论(0) 推荐(0) 编辑
****************************************** 页脚Html代码 ******************************************