原创 POJ2318 TOYS(叉乘+二分法)

題目鏈接:http://poj.org/problem?id=2318 TOYS Time Limit: 2000MS   Memory Limit: 65536K Total Submissions: 9753   Accept

原创 POJ2318 TOYS(直接計算法)

題目鏈接:http://poj.org/problem?id=2318 此題還可以用向量叉乘+二分查找的方法:http://blog.csdn.net/xuh723/article/details/22221229 (直接計算法很繁瑣且

原创 POJ1113 Wall(凸包周長)

題目鏈接:http://poj.org/problem?id=1113 Wall Time Limit: 1000MS   Memory Limit: 10000K Total Submissions: 28199   Accep

原创 ZOJ2928 Mathematical contest in modeling(爬山算法)

題目鏈接:http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemCode=2928 參考學習的yamiedie_的博文:http://blog.csdn.net/u0136546

原创 ZOJ2925 DomiNo Grid(廣搜)

題目鏈接:http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemCode=2925 DomiNo Grid Time Limit: 2 Seconds      Memory

原创 POJ1789 Truck History(Prim最小生成樹)

題目鏈接:http://poj.org/problem?id=1789 Truck History Time Limit: 2000MS   Memory Limit: 65536K Total Submissions: 1649

原创 ZOJ3235 Prototype(數學)

題目鏈接:http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemId=3492 Prototype Time Limit: 1 Second      Memory Limit

原创 ZOJ2922 Bombs(搜索)

題目鏈接:http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemCode=2922 參考學習的yamiedie_的博文:http://blog.csdn.net/u0136546

原创 ZOJ3549 Little Keng(快速冪)

題目鏈接:http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemCode=3549 Little Keng Time Limit: 2 Seconds      Memory

原创 POJ1062 昂貴的聘禮(Dijkstra最短路)

題目鏈接:http://poj.org/problem?id=1062 昂貴的聘禮 Time Limit: 1000MS   Memory Limit: 10000K Total Submissions: 34422   Acce

原创 Codeforces166B Polygons(叉乘+二分)

題目鏈接:http://codeforces.com/problemset/problem/166/B 此題還可以用凸包解決:http://blog.csdn.net/xuh723/article/details/22451957

原创 ZOJ3551 Bloodsucker(概率dp)

題目鏈接:http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemId=4530 Bloodsucker Time Limit: 2 Seconds      Memory Li

原创 HDU3847 Trash Removal(凸包)

題目鏈接:http://acm.hdu.edu.cn/showproblem.php?pid=3847 Trash Removal Time Limit: 2000/1000 MS (Java/Others)    Memory L

原创 POJ1364 King(差分約束+Spfa)

題目鏈接:http://poj.org/problem?id=1364 King Time Limit: 1000MS   Memory Limit: 10000K Total Submissions: 9573   Accept

原创 第十二屆廣東省省賽總結

        今天下午,廣東省省賽結束了。我作爲六隊的選手,和隊友一起參加了這次比賽,最終取得了第16名的成績。只差一名而與一等獎失之交臂,不得不說是很可惜的。如果在比賽的時候可以有更出色的發揮,也許就可以躋身前十五了。這次比賽是我第一