
贪心
文章平均质量分 83
Joefery
生命不息,战斗不止。
展开
-
CodeForces 560D Equivalent Strings【递归+贪心】
Description Today on a lecture about strings Gerald learned a new definition of string equivalency. Two strings aand b of equal length are called equivalent in one of the two cases: They are e原创 2016-10-20 02:42:55 · 761 阅读 · 0 评论 -
ural 1987. Nested Segments【离散化+贪心+线段树】
1987. Nested Segments Time limit: 1.0 second Memory limit: 64 MB You are given n segments on a straight line. For each pair of segments it is known that they either have no common points or原创 2016-09-07 21:28:15 · 560 阅读 · 0 评论 -
Codeforces Round #345 (Div. 2) B. Beautiful Paintings【贪心】
B. Beautiful Paintings time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output There are n pictures delivered for th原创 2016-03-13 11:57:34 · 886 阅读 · 0 评论