19. Fight over Fox-hunting 猎狐引发的冲突 ① Foxes and farmers have never got on well.These small dog-like animals have long been accused of killing farm anim... ...
分类:
其他好文 时间:
2019-03-02 13:40:38
阅读次数:
129
https://github.com/aspnet/AspNetWebStack/issues/235 https://stackoverflow.com/questions/5383310/catch-an-exception-thrown-by-an-async-void-method 如果异常 ...
分类:
移动开发 时间:
2019-02-27 15:47:18
阅读次数:
136
链接:http://codeforces.com/contest/1114 A - Got Any Grapes? 题意:甲乙丙三个人吃葡萄,总共有三种葡萄:绿葡萄、紫葡萄和黑葡萄,甲乙丙三个人至少要各自吃 $x,y,z$ 个葡萄,又甲只吃绿葡萄,乙不吃黑葡萄,丙三种颜色都吃。现在总共有 $a$ 个 ...
分类:
其他好文 时间:
2019-02-26 22:20:20
阅读次数:
175
"传送门" 解题思路 首先很好写出一个$O(ab)$的记搜,但发现这样无法处理$a=1$和$b=1$的情况,这两种情况需要特判。首先$a=1$的情况,就是如果当前选手让$a+1$必胜,那么他一定会给$a+1$,否则会给$b+1$,如果到$2^b n$时,说明谁动$a$谁输,就是平局了,这样的话可以模 ...
分类:
其他好文 时间:
2019-02-26 17:27:39
阅读次数:
203
Got the idea form this lesson. Not sure whether it is the ncessary, no othere better way to handle it. Have a TodoList component, every time types in ...
分类:
其他好文 时间:
2019-02-25 18:13:49
阅读次数:
122
2019-02-21 19:45:47 话不多说,开始! Python 二级要求掌握的库有:turtle、random、time、其他库有request、jieba等,都比较简单,现在开始复习。 (一) turtle库 画图。导入方式 1.1 窗体函数 t.setup(width,lenth,sta ...
分类:
编程语言 时间:
2019-02-21 21:52:44
阅读次数:
249
预处理器(Preprocessor)1 . 用预处理指令#define 声明一个常数,用以表明1年中有多少秒(忽略闰年问题) #define SECONDS_PER_YEAR (60 * 60 * 24 * 365)UL我在这想看到几件事情:1) #define 语法的基本知识(例如:不能以分号结束 ...
分类:
其他好文 时间:
2019-02-19 13:34:21
阅读次数:
194
1、错误描述 >>> def fun(arg): pass; >>> fun(1,arg=3); Traceback (most recent call last): File "<pyshell#15>", line 1, in <module> fun(1,arg=3); TypeError: ...
分类:
其他好文 时间:
2019-02-14 13:43:26
阅读次数:
419
1、错误描述 C:\Users\Administrator>d: D:\>cd MySQL\Program Files\MySQL\MySQL Server 5.6\bin D:\MySQL\Program Files\MySQL\MySQL Server 5.6\bin>mysqldump --a ...
分类:
数据库 时间:
2019-02-14 11:52:17
阅读次数:
643
题目链接 http://acm.csu.edu.cn:20080/csuoj/problemset/problem?pid=2110 题目 Description Kevin has just gotten back to his car after a morning at the beach a ...
分类:
其他好文 时间:
2019-02-14 00:15:44
阅读次数:
160