12 2018 档案

摘要:Phone Bills A long-distance telephone company charges its customers by the following rules: Making a long-distance call costs a certain amount per min 阅读全文
posted @ 2018-12-20 19:33 suvvm 阅读(422) 评论(0) 推荐(0) 编辑
摘要:Reversible Primes A reversible prime in any number system is a prime whose "reverse" in that number system is also a prime. For example in the decimal 阅读全文
posted @ 2018-12-18 16:47 suvvm 阅读(360) 评论(0) 推荐(0) 编辑
摘要:Waiting in Line Suppose a bank has N windows open for service. There is a yellow line in front of the windows which devides the waiting area into two 阅读全文
posted @ 2018-12-17 21:47 suvvm 阅读(673) 评论(0) 推荐(0) 编辑
摘要:Battle Over Cities It is vitally important to have all the cities connected by highways in a war. If a city is occupied by the enemy, all the highways 阅读全文
posted @ 2018-12-16 20:34 suvvm 阅读(524) 评论(0) 推荐(0) 编辑
摘要:The Best Rank To evaluate the performance of our first year CS majored students, we consider their grades of three courses only: C - C Programming Lan 阅读全文
posted @ 2018-12-15 20:30 suvvm 阅读(451) 评论(0) 推荐(0) 编辑
摘要:Radix Given a pair of positive integers, for example, 6 and 110, can this equation 6 = 110 be true? The answer is yes, if 6 is a decimal number and 11 阅读全文
posted @ 2018-12-14 14:38 suvvm 阅读(422) 评论(0) 推荐(0) 编辑
摘要:Product of Polynomials (25 分) This time, you are supposed to find A×B where A and B are two polynomials. Input Specification: Each input file contains 阅读全文
posted @ 2018-12-12 19:22 suvvm 阅读(362) 评论(0) 推荐(0) 编辑
摘要:免费馅饼 都说天上不会掉馅饼,但有一天gameboy正走在回家的小径上,忽然天上掉下大把大把的馅饼。说来gameboy的人品实在是太好了,这馅饼别处都不掉,就掉落在他身旁的10米范围内。馅饼如果掉在了地上当然就不能吃了,所以gameboy马上卸下身上的背包去接。但由于小径两侧都不能站人,所以他只能在 阅读全文
posted @ 2018-12-08 21:24 suvvm 阅读(258) 评论(0) 推荐(0) 编辑
摘要:Doing Homework Ignatius has just come back school from the 30th ACM/ICPC. Now he has a lot of homework to do. Every teacher gives him a deadline of ha 阅读全文
posted @ 2018-12-08 16:07 suvvm 阅读(190) 评论(0) 推荐(0) 编辑
摘要:Ignatius and the Princess IV "OK, you are not too bad, em... But you can never pass the next test." feng5166 says. "I will tell you an odd number N, a 阅读全文
posted @ 2018-12-07 15:18 suvvm 阅读(160) 评论(0) 推荐(0) 编辑
摘要:非常可乐 大家一定觉的运动以后喝可乐是一件很惬意的事情,但是seeyou却不这么认为。因为每次当seeyou买了可乐以后,阿牛就要求和seeyou一起分享这一瓶可乐,而且一定要喝的和seeyou一样多。但seeyou的手中只有两个杯子,它们的容量分别是N 毫升和M 毫升 可乐的体积为S (S<101 阅读全文
posted @ 2018-12-07 14:57 suvvm 阅读(374) 评论(0) 推荐(1) 编辑
摘要:Dungeon Master You are trapped in a 3D dungeon and need to find the quickest way out! The dungeon is composed of unit cubes which may or may not be fi 阅读全文
posted @ 2018-12-06 20:11 suvvm 阅读(309) 评论(0) 推荐(1) 编辑
摘要:Nightmare Ⅱ Last night, little erriyue had a horrible nightmare. He dreamed that he and his girl friend were trapped in a big maze separately. More te 阅读全文
posted @ 2018-12-05 20:00 suvvm 阅读(350) 评论(0) 推荐(0) 编辑
摘要:Maximum Sum of Digits You are given a positive integer n. Let S(x)S(x) be sum of digits in base 10 representation of xx , for example, S(123)=1+2+3=6S 阅读全文
posted @ 2018-12-02 19:43 suvvm 阅读(397) 评论(0) 推荐(0) 编辑
摘要:敌兵布阵 C国的死对头A国这段时间正在进行军事演习,所以C国间谍头子Derek和他手下Tidy又开始忙乎了。A国在海岸线沿直线布置了N个工兵营地,Derek和Tidy的任务就是要监视这些工兵营地的活动情况。由于采取了某种先进的监测手段,所以每个工兵营地的人数C国都掌握的一清二楚,每个工兵营地的人数都 阅读全文
posted @ 2018-12-01 18:42 suvvm 阅读(339) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示