Codeforces Round #202 (Div. 2) 第一题水题但是wa了一发,排队记录下收到的25,50,100,看能不能找零,要注意100可以找25*3 复杂度O(n) 第二题贪心,先找出最小的花费,然后就能得出最长的位数,然后循环对每个位上的数看能不能加上剩余的油漆比现在这数大,输出即 ...
分类:
其他好文 时间:
2017-07-07 15:25:34
阅读次数:
173
1.一般疑问句的强调,强调疑问部分 It was he that/who gave you that fish Was it he that/who gave you fish? //只是将be提前 2.特殊疑问句的强调(特殊疑问词放在句首)强调疑问词 When and where were you ...
分类:
其他好文 时间:
2017-07-03 23:53:14
阅读次数:
243
The Frog's Games Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65768/65768 K (Java/Others)Total Submission(s): 7307 Accepted Submission(s): 349 ...
分类:
其他好文 时间:
2017-07-02 19:41:55
阅读次数:
171
《侠盗猎车手4》 (Grand Theft Auto IV),是由Rockstar Games游戏公司发行的一款围绕犯罪为主题的开放式动作冒险游戏。该游戏于2008年4月29日登陆PlayStation 3和Xbox 360平台,于2008年12月2日登陆PC平台并发售。 该游戏的背景城市是自由城, ...
分类:
其他好文 时间:
2017-07-01 23:25:16
阅读次数:
246
名称 命令表达式 查看所有表 list list 创建表 create '表名', '列族名1','列族名2','列族名N' create 'www.qq.com20170630','movie','music','games' create 'www.baidu.com20170630','sea... ...
分类:
其他好文 时间:
2017-06-30 12:20:12
阅读次数:
236
参考文章: http://www.policyalmanac.org/games/aStarTutorial.htm 这是英文原文《A*入门》,最经典的讲解,有demo演示 http://www.cnblogs.com/technology/archive/2011/05/26/2058842.ht ...
分类:
编程语言 时间:
2017-06-29 22:35:57
阅读次数:
344
Traction – If I trust a shoe enough to wear it during league games then traction is A+. There are only a few shoes that have good enough traction to b ...
分类:
其他好文 时间:
2017-06-19 19:42:47
阅读次数:
211
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
1. os.path.driname(path):返回路径的上一级路径字符串。 >>> os.path.dirname('D:\Games') 'D:\\' >>> 2. os.path.basename(path):返回路径的最后一级目录名(文件夹名)或文件名(全称)。 >>> os.path.b ...
分类:
编程语言 时间:
2017-06-15 00:45:11
阅读次数:
176
Erlang简单并行服务器(金庆的专栏)Erlang并行服务器为每一个Tcp连接创建相应的连接进程,处理client数据。參考 Erlang程序设计(第2版)17.1.3 顺序和并行服务器并行服务器的诀窍是:每当gen_tcp:accept收到一个新连接时就马上分裂一个新进程。为每一个新套接字连接创 ...
分类:
其他好文 时间:
2017-06-13 20:43:38
阅读次数:
176