A boy named Gena really wants to get to the "Russian Code Cup" finals, or at least get a t-shirt. But the offered problems are too complex, so he made an arrangement with his n friends
that they wil...
分类:
其他好文 时间:
2015-03-15 23:05:06
阅读次数:
277
错误原因: 太多的连接数,登录用户过多,配置的mysql连接数过小,或者某些连接没有关闭,导致连接数过大。问题的解决: 修改mysql的my.ini配置文件,网上的说法:mysql安装目录下的my.ini中设定的并发连接数太少或者系统繁忙导致连接数被占满。 而项目实际上部署在linux系统上,需要找...
分类:
其他好文 时间:
2015-03-15 15:07:44
阅读次数:
135
When a student is too tired, he can't help sleeping in class, even if his favorite teacher is right here in front of him. Imagine you have a class of ...
分类:
其他好文 时间:
2015-03-12 20:34:18
阅读次数:
912
传送门:You can Solve a Geometry Problem too题意:给n条线段,判断相交的点数。分析:判断线段相交模板题,快速排斥实验原理就是每条线段代表的向量和该线段的一个端点与 另一条线段的两个端点构成的两个向量求叉积,如果线段相交那么另一条线段两个端点必定在该线段的两边,则该...
分类:
其他好文 时间:
2015-03-11 23:12:07
阅读次数:
165
问题:在命令行下对项目进行版本管理操作,结果报这样的错:svn: E155021: This client is too old to work with the working copy at'/Users/user/works/v1baobao4iphone' (format 31).You n...
分类:
系统相关 时间:
2015-03-11 19:16:43
阅读次数:
14408
解决办法:工程右键,options -> General Options -> Memory Model 改为 small
分类:
其他好文 时间:
2015-03-11 12:51:51
阅读次数:
137
1.ERROR 1040 (HY000): Too many connections 分析:产生too many connections 的直接原因是因为数据库提供的连接被全部占满了。数据库可以提供多少连接,可以在my.cnf(linux)或者my.ini(windows)下设定。 目前服务器m.....
分类:
数据库 时间:
2015-03-10 19:11:14
阅读次数:
246
After too much playing on paper, Iahub has switched to computer games. The game he plays is called "Block Towers". It is played in a rectangular grid with n rows
and m columns (it contains n?×?m cel...
分类:
其他好文 时间:
2015-03-09 14:33:43
阅读次数:
151
1100. Final Standings
Time limit: 1.0 second
Memory limit: 16 MB
Old contest software uses bubble sort for generating final standings. But now, there are too many teams and that software ...
分类:
编程语言 时间:
2015-03-08 13:02:22
阅读次数:
187
As most of the ACMers, wy's next target is algorithms, too. wy is clever, so he can learn most of the algorithms quickly. After a short time, he has l...
分类:
编程语言 时间:
2015-03-07 11:26:39
阅读次数:
195