Amanda Palmer: The art of asking 1. I think people have been obsessed with the wrong question, which is, "How do we make people pay for music?" What i ...
分类:
其他好文 时间:
2018-03-09 14:12:16
阅读次数:
216
//1021//思路:求出各个fn,再挨个判断其是否能被3整除.#include<iostream>using namespace std;#define N 1000000int f[N];int main(){ int n; int i; f[0] = 1;//%3的结果 f[1] = 2;// ...
分类:
其他好文 时间:
2018-03-08 23:01:52
阅读次数:
189
装饰器:本质是个函数,主要功能给其他函数附加新的功能 1,给其他函数附加新的功能 2,在不修改其他函数的内部和不修改其调用方式前提下,给函数装饰新的功能 函数其实是个变量 装饰器有高阶函数和嵌套函数组成 高阶函数定义 1以函数名为实参给另一个函数作为传递变量 2,返回值包含函数名(其它是返回了一个函 ...
分类:
其他好文 时间:
2018-03-03 10:55:17
阅读次数:
198
It is only when you are pursued that you become swift. 唯有在被追赶的时候,你才能真正地奔跑。 It is so bad a feeling when there is no clear goal. Sometimes I often find ...
分类:
其他好文 时间:
2018-03-01 00:35:45
阅读次数:
169
How Many Answers Are Wrong 题意:输入一连串的区间和,问和前面的矛盾个数; 思路:我在做专题,知道是并查集,可是还是不知道怎么做,学了一下权值并查集和大佬的优秀思路,感觉回了一点; 具体就是 在并查集的基础上,加上val【】数组用来记录区间和,而原来的fa【】数组表示的是这 ...
分类:
其他好文 时间:
2018-02-23 12:02:12
阅读次数:
107
一、安装Gradle 1.首先确保你安装的JDK1.5或以上版本号。 C:\Users\chengxiang.peng.QUNARSERVERS>java -version java version "1.8.0_65" Java(TM) SE Runtime Environment (build ...
分类:
其他好文 时间:
2018-02-18 11:15:43
阅读次数:
229
Summary The first aim of a bug report is to let the programmer see the failure with their own eyes. If you can't be with them to make it fail in front ...
分类:
其他好文 时间:
2018-02-17 19:22:51
阅读次数:
190
How Many Answers Are Wrong Time Limit: 2000/1000 MS (Java/Others) Problem Description TT and FF are ... friends. Uh... very very good friends -_______ ...
分类:
其他好文 时间:
2018-02-07 21:30:19
阅读次数:
189
Faith is Power Faith is power, this sentence is not wrong. Find your own beliefs, and struggle for it, persevere in the end will eventually be success ...
分类:
其他好文 时间:
2018-02-05 00:28:58
阅读次数:
168
Hangman Judge Hangman Judge是一个猜英文单字的小游戏(在电子字典中常会看到),游戏规则如下:1、答案单字写在纸上(每个字元一张纸),并且被盖起来,玩家每次猜一个英文字元(letter)。2、如果这个英文字元猜中(在答案的英文单字中有出现),被猜中的字元就被翻开。例如:答案是 ...
分类:
其他好文 时间:
2018-02-03 22:02:06
阅读次数:
239