Going Home Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 13981 Accepted: 7156 Descr…
分类:Online Judge POJ
ACM/ICPC 之 ACM计算机工厂-EK算法(POJ3436)
题意有点难读懂 //网络流-EK算法-ACM计算机工厂-构图重点 //Time:0Ms Memory:208K #include <iostream> #include<cstring…
POJ 3744 Scout YYF I (矩阵优化的概率DP)
Scout YYF I Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 3723 Accepted: 928 Descri…
ACM POJ 1458 Common Subsequence (最长公共子序列,动态规划)
Common Subsequence Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 25178 Accepted: 9726 Description…
POJ 2940 Wine Trading in Gergovia(简单贪心)
Wine Trading in Gergovia Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 2765 Accepte…
POJ 2635 The Embarrassed Cryptographer(整数刷新,千进制取模)
The Embarrassed Cryptographer Time Limit: 2000MS Memory Limit: 65536K Total Submissions: 9291 Ac…
ACM/ICPC 之 拓扑排序+DFS(POJ1128(ZOJ1083)-POJ1270)
两道经典的同类型拓扑排序+DFS问题,第二题较第一题简单,其中的难点在于字典序输出+建立单向无环图,另外理解题意是最难的难点,没有之一… POJ1128(ZOJ108…
ACM/ICPC 之 DFS+SPFA-贪心+最短路(POJ2679)
//POJ2679 //DFS+SPFA+邻接表 //只能走每个点费用最小的边,相同则需保证距离最短 //求最小费用及最短距离 //Time:47Ms Memory:900K #include<iostrea…
ACM/ICPC 之 两道dijkstra练习题(ZOJ1053(POJ1122)-ZOJ1053)
两道较为典型的单源最短路径问题,采用dijkstra解法 本来是四道练习题,后来发现后面两道用dijkstra来解的话总觉得有点冗余了,因此暂且分成三篇博客(本篇以及后两篇)。 &nb…
POJ 3181 Dollar Dayz (完全背包)
Dollar Dayz Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 2275 Accepted: 934 Descri…
北大poj-1062
昂贵的聘礼 Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 43523 Accepted: 12760 Descripti…
POJ 3041 Asteroids(二分匹配模板题)
Asteroids Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 10288 Accepted: 5556 Descri…