CF
CharlieBrownn
八重樱花繁且枝盛,君需记累瓣必偿情。
展开
-
Codeforces Round #551 (Div. 2) C. Serval and Parenthesis Sequence
C. Serval and Parenthesis Sequencetime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputServal soon said goodbye to Japari kindergarten...原创 2019-04-14 10:51:05 · 454 阅读 · 0 评论 -
Codeforces Round #551 (Div. 2)D. Serval and Rooted Tree
D. Serval and Rooted Treetime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputNow Serval is a junior high school student in Japari Mi...原创 2019-04-14 11:41:39 · 632 阅读 · 0 评论 -
Codeforces Round #574 (Div. 2)前五题
http://codeforces.com/contest/1195A. Drinks Choosing题目: n个人,k种饮料,第i个人想喝第a_i种饮料。提供任意饮料套餐,一个饮料套餐必定含有相同的两份饮料。取ceil(n/2)份饮料套餐,问最多有多少人能喝到自己想喝的饮料对a数组排序后,统计有多少对(k,k)相同数字可以喝同一份套餐,记为cnt1,其余不能组成对的...转载 2019-07-18 16:39:00 · 152 阅读 · 0 评论