PKU解题报告
jinTester
这个作者很懒,什么都没留下…
展开
-
PKU 1002
一开始直接用map和string模拟,结果超时原创 2014-06-08 15:03:36 · 382 阅读 · 0 评论 -
poj 2662
#include #include #include #include #include using namespace std; const int INF=0x7FFFFFFF; struct EDGE{ int from,to,dis; EDGE *next; }edge[500010];//存储边 struct heapelem{ int d,key; bool oper原创 2014-09-28 17:51:54 · 501 阅读 · 0 评论 -
poj 1015
#include #include int dp[210][25][420],sd[210][25][410]={0},sp[210][25][410]={0},path[25]; int p[210],d[210],s[210],r[210]; int ab(int i) { return i>0?i:-i; } int main() { //freopen("in.txt","r",s原创 2015-03-13 15:57:06 · 411 阅读 · 0 评论