C. Report 题目连接: http://www.codeforces.com/contest/631/problem/C Description Each month Blake gets the report c…
分类:Online Judge
hdu 5427 A problem of sorting 水题
A problem of sorting Time Limit: 1 Sec Memory Limit: 256 MB 题目连接 http://bestcoder.hdu.edu.cn/contests/c…
HDU 1507 Uncle Tom's Inherited Land*(二分匹配,输出任意一组解)
Uncle Tom’s Inherited Land* Time Limit: 2000/1000 MS (Java/Others) Memory Limit: …
HDU 4403 A very hard Aoshu problem 第37届ACM/ICPC 金华赛区网络赛1004题
A very hard Aoshu problem Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32…
HDU 1325 Is It A Tree?
Is It A Tree? Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/…
Codeforces Round #407 div2 题解【ABCDE】
Anastasia and pebbles 题意:你有两种框,每个框可以最多装k重量的物品,但是你每个框不能装不一样的物品。现在地面上有n个物品,问你最少多少次,可以把这n个物品全部装回去。 题解:其实就是问你得用多少次…
Educational Codeforces Round 8 E. Zbazi in Zeydabad 树状数组
E. Zbazi in Zeydabad 题目连接: http://www.codeforces.com/contest/628/problem/D Description A tourist wants to visi…
POJ 2337 Catenyms (有向图欧拉路径,求字典序最小的解)
Catenyms Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 8756 Accepted…
HDU 4282 A very hard mathematic problem 二分
A very hard mathematic problem Time Limit: 20 Sec Memory Limit: 256 MB 题目连接 http://acm.hdu.edu.cn/showproblem.…
POJ 2096 Collecting Bugs(概率DP,求期望)
Collecting Bugs Time Limit: 10000MS Memory Limit: 64000K Total Submissions: 1244 Accepted: 523 C…
[BZOJ 2212] [Poi2011] Tree Rotations 【线段树合并】
题目链接:BZOJ – 2212 题目分析 子树 x 内的逆序对个数为 :x 左子树内的逆序对个数 + x 右子树内的逆序对个数 + 跨越 x 左子树与右子树的逆序对。 左右子树内部的逆序对与是…
HDU 1054 Strategic Game(二分图最小点覆盖)
Strategic Game Time Limit: 20000/10000 MS (Java/Others) Memory Limit: 65536/32768 K (Ja…