上一页 1 ··· 21 22 23 24 25 26 27 28 29 ··· 40 下一页
摘要: A little girl loves problems on bitwise operations very much. Here's one of them. You are given two integers l and r. Let's consider the values of for 阅读全文
posted @ 2017-10-22 15:44 天之道,利而不害 阅读(407) 评论(0) 推荐(0) 编辑
摘要: Well, here is another math class task. In mathematics, GCD is the greatest common divisor, and it's an easy task to calculate the GCD between two posi 阅读全文
posted @ 2017-10-21 23:37 天之道,利而不害 阅读(387) 评论(0) 推荐(0) 编辑
摘要: There are some ambiguities when one writes Berland names with the letters of the Latin alphabet. For example, the Berland sound u can be written in th 阅读全文
posted @ 2017-10-21 21:17 天之道,利而不害 阅读(375) 评论(0) 推荐(0) 编辑
摘要: In a medieval kingdom, the economic crisis is raging. Milk drops fall, Economic indicators are deteriorating every day, money from the treasury disapp 阅读全文
posted @ 2017-10-20 23:09 天之道,利而不害 阅读(486) 评论(0) 推荐(0) 编辑
摘要: The Berland's capital has the form of a rectangle with sizes n × m quarters. All quarters are divided into three types: regular (labeled with the char 阅读全文
posted @ 2017-10-19 21:26 天之道,利而不害 阅读(475) 评论(0) 推荐(0) 编辑
摘要: Polycarp plans to conduct a load testing of its new project Fakebook. He already agreed with his friends that at certain points in time they will send 阅读全文
posted @ 2017-10-19 19:11 天之道,利而不害 阅读(327) 评论(0) 推荐(0) 编辑
摘要: A game field is a strip of 1 × n square cells. In some cells there are Packmen, in some cells — asterisks, other cells are empty. Packman can move to 阅读全文
posted @ 2017-10-18 22:23 天之道,利而不害 阅读(906) 评论(2) 推荐(0) 编辑
摘要: A. Trip For Meal Winnie-the-Pooh likes honey very much! That is why he decided to visit his friends. Winnie has got three best friends: Rabbit, Owl an 阅读全文
posted @ 2017-10-17 21:35 天之道,利而不害 阅读(242) 评论(0) 推荐(0) 编辑
摘要: A. Search for Pretty Integers You are given two lists of non-zero digits. Let's call an integer pretty if its (base 10) representation has at least on 阅读全文
posted @ 2017-10-15 21:43 天之道,利而不害 阅读(231) 评论(0) 推荐(0) 编辑
摘要: A new dog show on TV is starting next week. On the show dogs are required to demonstrate bottomless stomach, strategic thinking and self-preservation 阅读全文
posted @ 2017-10-15 19:16 天之道,利而不害 阅读(398) 评论(1) 推荐(1) 编辑
上一页 1 ··· 21 22 23 24 25 26 27 28 29 ··· 40 下一页