pku3411
摘要:
dfs搜索,last记录上次到某城市的已经能够预付的路,位压缩 #include using namespace std; int ans; int a[11],b[11],c[11],p[11],r[11],last[11]; int n,m; int const inf = 1000000000; void DFS(int now,int state,int mon) { ... 阅读全文
posted @ 2007-10-03 17:43
zy_nic
阅读(326)
评论(0)
推荐(0)
浙公网安备 33010602011771号