
work
文章平均质量分 74
丁路人
这个作者很懒,什么都没留下…
展开
-
MinCut
The file contains the adjacency list representation of a simple undirected graph. There are 200 vertices labeled 1 to 200. The first column in the file represents the vertex label, and the particular原创 2014-11-08 16:55:08 · 1360 阅读 · 0 评论 -
Quicksort
#include #include #include using namespace std;void PivotRules(int *arr, int n, int method){ switch (method) { case 1: { // ----- select the first element ------ break; } case 2:原创 2014-11-02 20:47:01 · 682 阅读 · 0 评论 -
寻找相反的个数
比如对于: 3 5 4 6 1 2中与i<j,a[i] < a[j]原创 2014-10-27 12:38:07 · 900 阅读 · 0 评论 -
Dijkstra's algorithm
#include #include #include #include #include #include using namespace std;int heap[1000];int prior[1000];int heapSize = 0;//int pos2Id[1000];int id2Pos[1000];bool boolX[1000];void Inse原创 2014-11-24 14:56:46 · 1298 阅读 · 0 评论 -
2-SUM algorithm
The goal of this problem is to implement a variant of the 2-SUM algorithm (covered in the Week 6 lecture on hash table applications).The file contains 1 million integers, both positive and negat原创 2014-11-30 10:29:10 · 1365 阅读 · 0 评论 -
深度搜索的变形
题目:题目分析,原创 2014-09-24 17:47:40 · 918 阅读 · 0 评论 -
Median Maintenance
The goal of this problem is to implement the "Median Maintenance" algorithm (covered in the Week 5 lecture on heap applications). The text file contains a list of the integers from 1 to 10000 in uns原创 2014-11-30 10:09:22 · 1115 阅读 · 0 评论 -
Google 地球pro的license
虽然google 地球pro版本现在免费了,但是在中午页面上面一直找不到license,后来设置为英文:Use of Google Earth Pro requires a valid license key. As of January 20, 2015, Earth Pro licenses are now free. After getting your Earth Pro li原创 2015-03-02 10:56:13 · 1350 阅读 · 0 评论 -
记录一下关于生活技巧的网站
【1】github访问速度慢,样式加载不完全解决 http://blog.youkuaiyun.com/ycpanda/article/details/19544033原创 2014-04-24 19:56:11 · 1005 阅读 · 0 评论