算法
Panghu26
这个作者很懒,什么都没留下…
展开
-
Round E APAC Test 2017 Problem A. Diwali lightings (C++)
ProblemDiwali is the festival of lights. To celebrate it, people decorate their houses with multi-color lights and burst crackers. Everyone loves Diwali, and so does Pari. Pari is very fond of lights,原创 2017-02-19 20:55:23 · 348 阅读 · 0 评论 -
Round D APAC Test 2017 Problem D. Stretch Rope (C++)
Problem Mary likes playing with rubber bands. It’s her birthday today, and you have gone to the rubber band shop to buy her a gift. There are N rubber bands available in the shop. The i-th of these原创 2017-02-19 18:36:18 · 330 阅读 · 0 评论 -
Round C APAC Test 2017 Problem A. Monster Path (C++)
ProblemCodejamon is a mobile game in which monster trainers walk around in the real world to catch monsters. You have an old smartphone with a short battery life, so you need to choose your path carefu原创 2017-02-21 15:20:55 · 301 阅读 · 0 评论 -
Round C APAC Test 2017 Problem B. Safe Squares (C++)
ProblemCodejamon trainers are actively looking for monsters, but if you are not a trainer, these monsters could be really dangerous for you. You might want to find safe places that do not have any mons原创 2017-02-21 18:52:51 · 385 阅读 · 0 评论 -
Round D APAC Test 2017 Problem A. Vote (C++)
ProblemA and B are the only two candidates competing in a certain election. We know from polls that exactly N voters support A, and exactly M voters support B. We also know that N is greater than M, so原创 2017-02-20 23:35:00 · 270 阅读 · 0 评论