Light BulbTime Limit: 1 Second Memory Limit: 32768 KBCompared to wildleopard's wealthiness, his brother mildleopard is rather poor. His house is narr....
分类:
其他好文 时间:
2015-07-27 00:01:36
阅读次数:
141
之前培训时听到一些概念不太懂,在这里记录一下:DAU:Daily Active User, 日活跃用户。ARPU:Average Revenue Per User,平均用户收入。DPS:Damage Per Second,每秒伤害。PVP:Player VS Player,玩家对战。PVE:Play...
分类:
其他好文 时间:
2015-07-25 22:57:29
阅读次数:
127
Markdown 语法整理白宁超 2015年7月24日14:57:49一、字体设置A First Level Header==A Second Level Header-- # 标题 ## 标题### 标题#### 标题##### 标题###### 标题注:换行 两个空格二、修辞和强调Mar...
分类:
其他好文 时间:
2015-07-25 12:02:26
阅读次数:
78
1057. Amount of Degrees
Time limit: 1.0 second
Memory limit: 64 MB
Create a code to determine the amount of integers, lying in the set [X;Y] and being a sum of exactlyK different integer de...
分类:
其他好文 时间:
2015-07-25 10:45:25
阅读次数:
133
Each of the six faces on a cube has a different digit (0 to 9) written on it; the same is done to a second cube. By placing the two cubes side-by-side in different positions we can
form a variety of...
分类:
其他好文 时间:
2015-07-24 22:42:52
阅读次数:
231
1.直接读取,返回一维数组 如:"test.ini" 的内容:[names]me = Robertyou = Peter[urls]first = "http://www.example.com"second = "http://www.w3school.com.cn" 代码: 结果是:Arra.....
分类:
Web程序 时间:
2015-07-24 20:23:35
阅读次数:
123
开始水URAL,今天先来几个。。
1785. Lost in Localization
Time limit: 1.0 second
Memory limit: 64 MB
The Lavin Interactive Company, which has developed the turn-based strategy Losers-V, is const...
分类:
其他好文 时间:
2015-07-22 23:02:54
阅读次数:
318
1243. Divorce of the Seven Dwarfs
Time limit: 1.0 second
Memory limit: 64 MB
After the Snow White with her bridegroom had left the house of the seven dwarfs, their peaceful and prosperous l...
分类:
其他好文 时间:
2015-07-22 18:56:14
阅读次数:
131
当我越来越习惯python的编写风格时,我经常会想用bash去遍历一个文件的行,并将读取的行进行处理。
但一个诡异的情况,如果我的文本类似于这样
the first line.
the second line.
the third line.
for line in `cat filename`
do
echo $line
done
当我通过上面的方式遍历文件的每一行,我发现读...
分类:
系统相关 时间:
2015-07-22 18:48:38
阅读次数:
152
#include
using namespace std;
class Time
{
public:
Time():hour(0),minute(0),second(0) {}
Time(int h,int m,int s)
{
hour=(h>=24||h=60||m<0)?0:m;...
分类:
编程语言 时间:
2015-07-22 18:45:06
阅读次数:
191