摘要: Alex doesn't like boredom. That's why whenever he gets bored, he comes up with games. One long winter evening he came up with a game and decided to pl 阅读全文
posted @ 2018-11-17 15:38 Crutain 阅读(148) 评论(0) 推荐(0) 编辑
摘要: The task is simple: given any positive integer N, you are supposed to count the total number of 1's in the decimal form of the integers from 1 to N. F 阅读全文
posted @ 2018-02-16 21:49 Crutain 阅读(165) 评论(0) 推荐(0) 编辑
摘要: While Vasya finished eating his piece of pizza, the lesson has already started. For being late for the lesson, the teacher suggested Vasya to solve on 阅读全文
posted @ 2017-11-27 20:08 Crutain 阅读(440) 评论(3) 推荐(0) 编辑
摘要: The Bitlandians are quite weird people. They do everything differently. They have a different alphabet so they have a different definition for a strin 阅读全文
posted @ 2017-11-27 19:33 Crutain 阅读(253) 评论(0) 推荐(0) 编辑
摘要: Bizon the Champion isn't just charming, he also is very smart. While some of us were learning the multiplication table, Bizon the Champion had fun in 阅读全文
posted @ 2017-11-17 20:32 Crutain 阅读(314) 评论(0) 推荐(0) 编辑
摘要: Dreamoon loves summing up something for no reason. One day he obtains two integers a and b occasionally. He wants to calculate the sum of all nice int 阅读全文
posted @ 2017-11-17 19:52 Crutain 阅读(164) 评论(0) 推荐(0) 编辑
摘要: On his trip to Luxor and Aswan, Sagheer went to a Nubian market to buy some souvenirs for his friends and relatives. The market has some strange rules 阅读全文
posted @ 2017-10-27 15:51 Crutain 阅读(172) 评论(0) 推荐(0) 编辑
摘要: On one quiet day all of sudden Mister B decided to draw angle a on his field. Aliens have already visited his field and left many different geometric 阅读全文
posted @ 2017-10-27 15:22 Crutain 阅读(252) 评论(0) 推荐(0) 编辑
摘要: Polycarp thinks about the meaning of life very often. He does this constantly, even when typing in the editor. Every time he starts brooding he can no 阅读全文
posted @ 2017-10-25 22:52 Crutain 阅读(533) 评论(0) 推荐(0) 编辑
摘要: Mad scientist Mike is building a time machine in his spare time. To finish the work, he needs a resistor with a certain resistance value. However, all 阅读全文
posted @ 2017-09-30 11:03 Crutain 阅读(222) 评论(0) 推荐(0) 编辑