超级坑的水题!!!想了两天没一点思路,看了题解第一段话就做出来了 刚开始一直在想找到通项就是例如an*10^n+...+a0*10^0-an-...-a0>=s,然后从这个里面找到规律,结果走进死胡同了 Let's prove that if x is really big, then x?+?1 ...
分类:
其他好文 时间:
2017-06-21 23:06:29
阅读次数:
262
I want to detect where a MouseEvent has occurred, in coordinates relative to the clicked element. Why? Because I want to add an absolutely positioned ...
分类:
Web程序 时间:
2017-06-18 14:15:34
阅读次数:
272
关于大数据。有这样一段话: “Big data is like teenage sex,everyone talks about it,nobody really knows how to do it,everyone thinks everyone else is doing it,so ever ...
分类:
其他好文 时间:
2017-06-18 12:10:44
阅读次数:
202
Storing and updating values inside a component’s local state (known as controlled components) is such a common pattern that Preact offers a really han ...
分类:
其他好文 时间:
2017-06-17 23:25:16
阅读次数:
365
E. Army Creation As you might remember from our previous rounds, Vova really likes computer games. Now he is playing a strategy game known as Rage of ...
分类:
其他好文 时间:
2017-06-16 22:06:10
阅读次数:
168
学习网址: http://docs.pythontab.com/python/python3.4/introduction.html#tut-numbers ...
分类:
编程语言 时间:
2017-06-16 16:33:55
阅读次数:
163
A Treasure Hunt 注意负数和0的特殊处理。。 水题。。 然而又被Hack了 吗的智障 B Makes And The Product 排序后求一下组合数就好了。。 C Really Big Numbers 肯定存在某个数k 大于k的数都是big number... 二分找最小的k就好了 ...
分类:
其他好文 时间:
2017-06-16 13:28:58
阅读次数:
260
If you smile when no one else is around, you really mean it. 独处时的微笑,才是发自内心的。 Recently I found I seldom smiled when I was alone. Most often I felt depr ...
分类:
其他好文 时间:
2017-06-12 10:33:10
阅读次数:
164
for循环遍历整个列表 注意点: 编写for循环的时候,对于用于存储列表中每个值的临时变量,可以指定任何名称,最好是选择有意义的; 注意点: 编写for循环的时候,对于用于存储列表中每个值的临时变量,可以指定任何名称,最好是选择有意义的; python根据缩进来判断代码行与前一个代码行的关系,同一个 ...
分类:
编程语言 时间:
2017-06-03 17:19:30
阅读次数:
208
一、字符串的创建 test = str() / "" test = str("licheng") / "licheng" 无参数,创建空字符串 一个参数,创建普通字符串 两个参数,int(字节,编码) 二、字符串的常用方法 #capitalize():字符串首字符大写 string = 'this ...
分类:
编程语言 时间:
2017-06-03 00:48:20
阅读次数:
430