摘要: 我的覅一个函数不对,我应该去找第一个出现重复的数的位置,可是,怎么找呢? 感觉思路和第二个的例题蛮像? 1 #include<iostream> 2 #include <algorithm> 3 using namespace std; 4 5 bool judge(int x,int a[],in 阅读全文
posted @ 2018-07-24 17:20 行止 阅读(164) 评论(0) 推荐(0) 编辑
摘要: 状态压缩,动态规划,离散,卡特兰数,vector,斯特林数,第二类斯特林数,组合数求模,逆元,大数组合数求值,数学组合,并查集https://blog.csdn.net/fengyingjie2/article/details/52192573,队列queue(广搜),母函数 1.基础 2.找k j 阅读全文
posted @ 2018-07-24 14:44 行止 阅读(42) 评论(0) 推荐(0) 编辑
摘要: #include #include #include #include #include using namespace std; const int N = 999999; struct point { int x,y; }s[20000]; char map[110][110]; int turn[110][110]; int n,m,x2,y2,k1,k; int dx[4... 阅读全文
posted @ 2018-07-24 14:44 行止 阅读(158) 评论(0) 推荐(0) 编辑