![](https://img-blog.csdnimg.cn/20201014180756913.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
思维
shemplle
这个作者很懒,什么都没留下…
展开
-
Codeforces Round #487 (Div. 2)C. A Mist of Florescence(思维)
time limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputAs the boat drifts down the river, a wood full of blossoms shows up on the riverfront."I've been he...原创 2018-06-21 22:33:46 · 178 阅读 · 0 评论 -
D - How Many Equations Can You Find (玄学)
Now give you an string which only contains 0, 1 ,2 ,3 ,4 ,5 ,6 ,7 ,8 ,9.You are asked to add the sign ‘+’ or ’-’ between the characters. Just like give you a string “12345”, you can work out a string ...原创 2018-08-01 22:30:51 · 221 阅读 · 0 评论 -
C. Vasya And The Mushrooms【codeforces】
Vasya’s house is situated in a forest, and there is a mushroom glade near it. The glade consists of two rows, each of which can be divided into n consecutive cells. For each cell Vasya knows how fast ...原创 2018-08-11 20:14:32 · 340 阅读 · 0 评论 -
HDU -- Cyclic Nacklace [kmp]
Problem Description CC always becomes very depressed at the end of this month, he has checked his credit card yesterday, without any surprise, there are only 99.9 yuan left. he is too distressed and ...原创 2018-08-18 19:48:31 · 185 阅读 · 0 评论 -
ACM-ICPC 2018 南京赛区网络预赛 J.Sum [ 类打表 ]
A square-free integer is an integer which is indivisible by any square number except 11. For example, 6 = 2 \cdot 36=2⋅3 is square-free, but 12=22∗312=22∗312 = 2^{2}*3 is not, because 22222^{2} is ...原创 2018-09-05 23:23:07 · 165 阅读 · 0 评论 -
HDU - 1431 素数回文 [ 学到了 ]
Problem Description xiaoou33对既是素数又是回文的数特别感兴趣。比如说151既是素数又是个回文。现在xiaoou333想要你帮助他找出某个范围内的素数回文数,请你写个程序找出 a 跟b 之间满足条件的数。(5 <= a < b <= 100,000,000); Input 这里有许多组数据,每组包括两组数据a跟b。 Output 对每一组数据,按从小到大...原创 2018-10-06 21:20:29 · 463 阅读 · 0 评论