摘要:
卡了好几天终于过了,就是有个地方,卡限制等级的,然后就可以枚举区间SPFA,这个区间必须包涵酋长的等级,维护一个最小值,也看了别人的代码,揣测了好久,终于懂了,然后来写一次就A了,加个油。 1 #include <iostream> 2 #include <queue> 3 #include <stdio.h> 4 #include <string.h> 5 #include <algorithm> 6 #include <cmath> 7 #define INF 0xffffff 8 #define maxn 120 9 阅读全文
posted @ 2013-05-11 19:27
symons
阅读(209)
评论(0)
推荐(0)
浙公网安备 33010602011771号