
贪心
文章平均质量分 78
Ant_e_zz
这个作者很懒,什么都没留下…
展开
-
Educational Codeforces Round 46 (Rated for Div. 2) B - Light It Up
B. Light It Uptime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputRecently, you bought a brand new smart lamp with programming features. At first, you ...原创 2018-06-28 08:42:52 · 406 阅读 · 0 评论 -
杭电2018多校赛第一场 Distinct Values
Problem Description Chiaki has an array of n positive integers. You are told some facts about the array: for every two elements ai and aj in the subarray al..r (l≤i<j≤r), ai≠ajholds. Chiaki would ...原创 2018-07-26 15:56:24 · 335 阅读 · 0 评论 -
杭电多校第一场 Balanced Sequence
Problem Description Chiaki has n strings s1,s2,…,sn consisting of '(' and ')'. A string of this type is said to be balanced: + if it is the empty string + if A and B are balanced, AB is balanced, + i...原创 2018-07-26 20:07:10 · 206 阅读 · 0 评论