有毒的粽子

2019年9月15日

CF1141E Superhero Battle

摘要: A superhero fights with a monster. The battle consists of rounds, each of which lasts exactly n minutes. After a round ends, the next round starts imm 阅读全文

posted @ 2019-09-15 22:17 有毒的粽子 阅读(172) 评论(0) 推荐(0) 编辑
CF1141D Colored Boots

摘要: There are n left boots and n right boots. Each boot has a color which is denoted as a lowercase Latin letter or a question mark ('?'). Thus, you are g 阅读全文

posted @ 2019-09-15 22:01 有毒的粽子 阅读(167) 评论(0) 推荐(0) 编辑
CF1209C Paint the Digits

摘要: You are given a sequence of n digits d1d2…dn. You need to paint all the digits in two colors so that: each digit is painted either in the color 1 or i 阅读全文

posted @ 2019-09-15 21:41 有毒的粽子 阅读(338) 评论(0) 推荐(0) 编辑
CF1209B Koala and Lights

摘要: It is a holiday season, and Koala is decorating his house with cool lights! He owns n lights, all of which flash periodically. After taking a quick gl 阅读全文

posted @ 2019-09-15 21:26 有毒的粽子 阅读(250) 评论(0) 推荐(0) 编辑
CF1209A Paint the Numbers

摘要: You are given a sequence of integers a1,a2,…,an. You need to paint elements in colors, so that: If we consider any color, all elements of this color m 阅读全文

posted @ 2019-09-15 21:12 有毒的粽子 阅读(263) 评论(0) 推荐(0) 编辑