原创 CodeForces 401D 數位DP
http://acm.hust.edu.cn/vjudge/contest/view.action?cid=98182#problem/D Description Roman is a young mathematician, v
原创 SCU - 4444 別樣最短路徑-大數據完全圖
http://acm.hust.edu.cn/vjudge/problem/viewProblem.action?id=184147 Description Travel The country frog lives in has
原创 NEERC 2015 Southern Subregional G Hiring 樹狀數組
http://codeforces.com/contest/589/problem/G G. Hiring time limit per test 4 seconds memory limit per test 51
原创 ZOJ3908 貪心
http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemId=5635 The bored Bob is playing a number game. In the beginni
原创 hdu5489 ||2015合肥網絡賽1006 dp+離散化樹狀數組優化
http://acm.hdu.edu.cn/showproblem.php?pid=5489 Removed Interval Time Limit: 4000/2000 MS (Java/Others) Memory Limi
原创 2015弱校聯萌十一大決戰之背水一戰 Binary Operations 狀態壓縮dp
http://www.bnuoj.com/v3/problem_show.php?pid=24250 Bob has a sequence of N integers. They are so attractive, that Ali
原创 Uva11383 二分圖的完美匹配(深入理解KM算法)
https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=2378 /** Uva11383 二分圖的
原创 2015弱校聯萌十一大決戰之背水一戰 D. Divide 二進制思維題
http://www.bnuoj.com/v3/contest_show.php?cid=6869#problem/D Alice and Bob has found a island of treasure in byteland!
原创 CF 581F 樹形dp
http://codeforces.com/problemset/problem/581/F F. Zublicanes and Mumocrates time limit per test 3 seconds memory
原创 2015年四川省賽||弱校聯萌十一大決戰之強力熱身 H. Range Query 二分圖的最大匹配確定匹配順序
http://www.bnuoj.com/v3/contest_show.php?cid=6865#problem/H frog has a permutation \(p(1), p(2), \dots, p(n)\) of \(\
原创 hdu5040 優先隊列+bfs
http://acm.hdu.edu.cn/showproblem.php?pid=5040 Problem Description The legendary mercenary Solid Matt gets a classic
原创 網絡爬蟲——爬百度貼吧
功能:輸入話題的編號(一般在百度貼吧裏面找)然後爬取樓主的所有發言的文字部分。 說明:中文編碼和保存文件較上一篇又有新的方式,特此留存。 #coding: utf-8 import string import urllib2 impo
原创 CF405E 挺好的爆搜題
http://codeforces.com/problemset/problem/405/E E. Graph Cutting time limit per test 2 seconds memory limit per te
原创 VIM編譯器:設置行號和[Tab]的縮進空格數目
Linux:CentOS 1.vim編輯器設置行號: 首先在"/etc" 目錄下找到vimrc文件,然後在文件末尾加上一行"set nu"就好使了 2.vim編輯器設置[Tab]鍵的縮進空格數 在vim編輯器下[Tab]鍵默認等
原创 hihocoder 1257 Snake Carpet 模擬構造題||2015北京現場賽I題
http://hihocoder.com/problemset/problem/1257 /** hihocoder 12257 Snake Carpet 模擬構造題 題目大意:有點像貪吃蛇裏面的蛇。給定n條蛇,長度分別爲1~n,放在H*