摘要: A - 质数筛 题目: Bamboo Pole-vault is a massively popular sport in Xzhiland. And Master Phi-shoe is a very popular coach for his success. He needs some bam 阅读全文
posted @ 2019-06-08 13:46 蓉~ 阅读(430) 评论(0) 推荐(0) 编辑
摘要: 题目: A new e-mail service "Berlandesk" is going to be opened in Berland in the near future. The site administration wants to launch their project as so 阅读全文
posted @ 2019-05-30 20:12 蓉~ 阅读(273) 评论(0) 推荐(0) 编辑
摘要: 题目:http://codeforces.com/problemset/problem/4/B 题解:有d组min max值以及一个sum值,现在要求d个介于min和max之间的数,让其和为sum。此题可以先从sum中减去所有的min,然后对剩下的值进行处理,对其分配时不能超过每一对max-min的 阅读全文
posted @ 2019-05-30 20:09 蓉~ 阅读(203) 评论(0) 推荐(0) 编辑
摘要: 题目:http://codeforces.com/problemset/problem/3/A 题解:由题可得,求最短路程,那么国王走斜方向最近,而且只有四种方向,选择了就不能再变化 阅读全文
posted @ 2019-05-30 20:05 蓉~ 阅读(91) 评论(0) 推荐(0) 编辑
摘要: 今年是SDUTACM举办的第十一届校赛啦! 今年校赛的参赛规模也是再创新高!在今天的赛场上与大家同台竞技的,还有50多个来自中小学的小朋友。 十年风雨,我们曾经一起走过。现在让我们脚踏实地,一起奋斗下一个十年! 现在请你使用'SDUTACM'这一个字符串,打印出只属于今天的的专属图形。 今年是SDU 阅读全文
posted @ 2019-05-27 20:32 蓉~ 阅读(179) 评论(0) 推荐(0) 编辑
摘要: One industrial factory is reforming working plan. The director suggested to set a mythical detail production norm. If at the beginning of the day ther 阅读全文
posted @ 2019-05-23 19:34 蓉~ 阅读(570) 评论(0) 推荐(0) 编辑
摘要: Drazil is playing a math game with Varda. Let's define for positive integer x as a product of factorials of its digits. For example, . First, they cho 阅读全文
posted @ 2019-05-23 19:32 蓉~ 阅读(87) 评论(0) 推荐(0) 编辑
摘要: A telephone number is a sequence of exactly 11 digits, where the first digit is 8. For example, the sequence 80011223388 is a telephone number, but th 阅读全文
posted @ 2019-05-16 20:00 蓉~ 阅读(851) 评论(0) 推荐(0) 编辑
摘要: 此次比赛,我很荣幸得此机会跟着学长学姐去打铁。第一次接触这种比赛,确实感到新奇,同时也有不安,因为平时没好好做题,知之甚少,基础确实是超级不稳的。好在学长说让我们开阔一下眼界,尽力就行。比赛做出几个题我就不说了,但是补题的时候真的发现我们真的很菜,简单的题我们竟然可以耗时那么久。。。。。emmm,, 阅读全文
posted @ 2019-05-14 18:29 蓉~ 阅读(357) 评论(0) 推荐(1) 编辑
摘要: You are playing the following game with Joisino. Initially, you have a blank sheet of paper. Joisino announces a number. If that number is written on 阅读全文
posted @ 2019-04-29 19:51 蓉~ 阅读(361) 评论(0) 推荐(0) 编辑