上一页 1 2 3 4 5 6 7 8 9 10 ··· 18 下一页

2017年11月25日

HYSBZ - 1303

摘要: #include <iostream>#include <cstring>#include <cstdio>#include <algorithm>using namespace std;const int maxn=100000+100;int a[maxn];int l[maxn*2],r[ma 阅读全文

posted @ 2017-11-25 12:06 发牌员 阅读(155) 评论(0) 推荐(0)

2017年11月24日

poj 1804(归并排序)

摘要: 归并排序求逆序对 阅读全文

posted @ 2017-11-24 16:51 发牌员 阅读(177) 评论(0) 推荐(0)

2017年11月9日

uva 10457(最小瓶颈路)

摘要: 比赛的时候读错题了,赛后非要建最小生成树然后dfs暴搜,有人告诉我不行,我还非要改一遍,改了一年,想明白了,不能保证下限,比如2,3,5能使两个点连同,4,5也能的话,就不对了,想想我也是个铁头娃 阅读全文

posted @ 2017-11-09 18:39 发牌员 阅读(142) 评论(0) 推荐(0)

2017年10月31日

uva 1106(并查集)

摘要: 我是傻逼,少删一个注释找一年bug 阅读全文

posted @ 2017-10-31 18:06 发牌员 阅读(125) 评论(0) 推荐(0)

2017年10月27日

uva 11997(优先队列)

摘要: 不说了,这种优化想法想不到,刘汝嘉牛逼 阅读全文

posted @ 2017-10-27 18:37 发牌员 阅读(176) 评论(0) 推荐(0)

2017年10月26日

uva 1203(优先队列)

摘要: 无话可说,我记得自己以前做过的啊,为什么显示没做过呢。。。。。。 阅读全文

posted @ 2017-10-26 20:43 发牌员 阅读(199) 评论(0) 推荐(0)

uva 11991

摘要: 无话可说,数组存不下,只能开vector,vector自动开辟大小 阅读全文

posted @ 2017-10-26 19:01 发牌员 阅读(147) 评论(0) 推荐(0)

uva 11995(stl模拟)

摘要: #include #include #include #include #include #include using namespace std; int n; int main() { while(~scanf("%d",&n)) { int flag1=1,flag2=1,flag3=1;//stack成立,queu成立,priority_qu... 阅读全文

posted @ 2017-10-26 17:27 发牌员 阅读(176) 评论(0) 推荐(0)

2017年10月23日

uva 1342(几何)

摘要: 本来打算暂时不再练几何的,但是有道题看了有思路,打算写了,没想到想的那么多不对的地方,写了两个半小时,写哭了 阅读全文

posted @ 2017-10-23 18:19 发牌员 阅读(144) 评论(0) 推荐(0)

2017年10月21日

hdu 1176(矩阵dp)

摘要: 这是个煞笔题,题目没告诉我他会每秒移动一米啊,而且,不是说两端不能站人吗 阅读全文

posted @ 2017-10-21 19:34 发牌员 阅读(128) 评论(0) 推荐(0)

上一页 1 2 3 4 5 6 7 8 9 10 ··· 18 下一页

导航