- 博客(2)
- 收藏
- 关注
原创 关于最短路
迪杰斯特拉最小堆优化理解与模板:模板:void dij(){ bool vis[MAX]; memset(vis,0,sizeof(vis)); int i; d[1]=0; for(i=2;i<=n;i++) { d[i]=INF; } p.push(make_pair(d[1],1)); while(!p.empty()) { pi u...
2019-03-03 11:19:21 116 1
原创 Radar Installation
Assume the coasting is an infinite straight line. Land is in one side of coasting, sea in the other. Each small island is a point locating in the sea side. And any radar installation, locating on the ...
2018-07-19 19:07:55 191 1
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人