摘要: Journey CodeForces - 721C Recently Irina arrived to one of the most famous cities of Berland — the Berlatov city. There are n showplaces in the city, 阅读全文
posted @ 2019-04-21 21:05 yccdu 阅读(135) 评论(0) 推荐(0) 编辑
摘要: Epidemic in Monstropolis CodeForces - 733C 有n条鱼排成一列,第i条鱼大小为ai,根据自然界的生存法则,相邻的两只鱼中,较大的鱼可以吃掉较小的鱼,如果两条鱼大小相等,则它们无法吃掉对方。当一条鱼i吃掉另一条鱼j后,它的体积会变成ai+aj,即获取小鱼的大小。 阅读全文
posted @ 2019-04-21 19:51 yccdu 阅读(203) 评论(0) 推荐(0) 编辑
摘要: Fight the Monster CodeForces - 487A A monster is attacking the Cyberland! Master Yang, a braver, is going to beat the monster. Yang and the monster ea 阅读全文
posted @ 2019-04-21 16:34 yccdu 阅读(154) 评论(0) 推荐(0) 编辑
摘要: P5316 恋恋的数学题 题目背景 恋恋是个可爱的女孩子,最近她沉迷了做数学题。 题目描述 现在恋恋正在处理的题目十分简单:现在有k \space (2\leq k\leq 4)k (2≤k≤4)个数,恋恋不知道它们分别是几,只知道它们两两最大公约数及最小公倍数。 按照套路,恋恋非常想复原出那kk个 阅读全文
posted @ 2019-04-21 15:29 yccdu 阅读(230) 评论(0) 推荐(0) 编辑
摘要: To Add or Not to Add CodeForces - 231C A piece of paper contains an array of n integers a1, a2, ..., an. Your task is to find a number that occurs the 阅读全文
posted @ 2019-04-21 12:55 yccdu 阅读(194) 评论(0) 推荐(0) 编辑