When i run svn up in the folder, i got these error:svn: Error converting entry in directory 'XXXXX' to UTF-8svn: Can't convert string from native enco...
分类:
其他好文 时间:
2014-07-19 21:20:46
阅读次数:
247
题目链接:点击打开链接
题意:
给定 a个箱子 b个球 常数n (球和箱子都是各不相同的,不会出现有一样的物品)
设 way = 把b个球放到a个箱子中的方法数, 若way >= n则游戏结束
有2个人玩游戏。
若当前轮到 X时
1、 X选择增加一个箱子或增加一个球
2、若增加完后方法数>=n 则X失败
若先手必胜,则输出 Masha ,若先手必败则输出 Stas ,若为平局则输出...
分类:
其他好文 时间:
2014-07-18 22:31:42
阅读次数:
282
Problem H
Morning Walk
Time Limit
3 Seconds
Kamalis a Motashotaguy. He has got a new job in Chittagong. So, he has moved to Chittagong fromDinajpur. He was getting fatter i...
分类:
其他好文 时间:
2014-07-18 17:01:16
阅读次数:
219
B. Suffix StructuresBizon the Champion isn't just a bison. He also is a favorite of the "Bizons" team.At a competition the "Bizons" got the following ...
分类:
其他好文 时间:
2014-07-18 14:39:26
阅读次数:
221
A. RewardsBizon the Champion is called the Champion for a reason.Bizon the Champion has recently got a present — a new glass cupboard with n shelves a...
分类:
其他好文 时间:
2014-07-18 10:17:51
阅读次数:
254
Where is the Marble? Where is the Marble?Raju and Meena love to play with Marbles. They have got a lot of marbles with numbers written on them. At the...
分类:
其他好文 时间:
2014-07-17 14:20:27
阅读次数:
376
Update: July 10, 2014I got so many books in DB, so it is a better choice to focus on one book for each domain and finish those exercises.0. Blog --- u...
分类:
其他好文 时间:
2014-07-16 20:16:58
阅读次数:
177
如果将SQL单独执行会发现是Error Code:1153 Got a packet bigger than 'max_allowed_packet' bytes错误。对于这个问题可以在my.ini中最后增加一行max_allowed_packet=16M即可(根据实际情况设置)。注意,在[clie...
分类:
数据库 时间:
2014-07-09 21:39:41
阅读次数:
226
设置好内部状态,然后根据不同的函数作为行为模式,进行状态转换。
有点像Finite Automata算法,两者的思想是一样的。
会Finite Automata,那么这个设计模式就很容易了。
#pragma once
#include
#include
#include
#include
enum STATES
{
FULLY_RENTED, WAITING, GOT_A...
分类:
其他好文 时间:
2014-07-02 16:50:26
阅读次数:
225
Foreword
Fortunately, I met “ExtJS” in earlier afternoon, the feeling justlike my encounter with “REST” Actually, at beginning, I had no idea about them,but when I got in touch with REST, I found i...
分类:
Web程序 时间:
2014-06-30 20:09:27
阅读次数:
411