YesterdayYesterday, all my troubles seemed so far awayNow it looks as though they're here to stayOh, I believe in yesterday.Suddenly,I'm not half the ...
分类:
其他好文 时间:
2014-10-30 15:10:29
阅读次数:
169
vector Entities;/* Fill vector here */vector::iterator it;for ( it = Entities.begin(); it != Entities.end(); ) if( (*it)->getXPos() > 1.5f ) de...
分类:
其他好文 时间:
2014-10-30 07:06:31
阅读次数:
309
题目传送门 不能提交哦 http://www.nocow.cn/index.php/Translate:USACO/ride/*ID: jusonal1PROG: rideLANG: C++*/#include #include #include #include #include using .....
分类:
其他好文 时间:
2014-10-30 01:45:30
阅读次数:
160
BabelfishDescriptionYou have just moved from Waterloo to a big city. The people here speak an incomprehensible dialect of a foreign language. Fortunat...
分类:
其他好文 时间:
2014-10-29 23:47:14
阅读次数:
350
DescriptionIn our daily life we often use 233 to express our feelings. Actually, we may say 2333, 23333, or 233333 ... in the same meaning. And here i...
分类:
其他好文 时间:
2014-10-29 21:19:28
阅读次数:
171
LeetCode - Sort ColorsGiven an array with n objects colored red, white or blue, sort them so that objects of the same color are adjacent, with the colors in the order red, white and blue.Here, we will...
分类:
其他好文 时间:
2014-10-29 15:00:37
阅读次数:
162
1951: [Sdoi2010]古代猪文
链接:Click Here~
题目:
一道很好的组合数学题!!!!题目很长,不过就下面几段话有用。
iPig觉得只要符合文献,每一种能整除N的k都是有可能的。他打算考虑到所有可能的k。显然当k等于某个定值时,该朝的猪文文字个数为N / k。然而从N个文字中保留下N / k个的情况也是相当多的。iPig预计,如果所有可能的k的所有情况...
分类:
其他好文 时间:
2014-10-29 14:53:12
阅读次数:
194
some time,sometime,some times和 sometimes是常用的几个词,它们形似而含义不同。请记住下面口诀: 分开是“一段”, 相连为“某时”。 分开s是“倍、次”, 相连s是“有时”。读读下面四句话, 便会运用这四个词。例如:(1)I’ll stay here for so...
分类:
其他好文 时间:
2014-10-29 12:47:46
阅读次数:
111
jQuery官方文档上推荐开发插件时要按下面格式来写,我第一次看源代码时看到这样的写法,被郁闷了好半天。(function($) {// Code goes here})(jQuery);下面将记录为什么这样写,这样写具体有哪些好处。其实上面这种方式等价于下面这种定义方式, 不过上面的方式更安全.与...
分类:
Web程序 时间:
2014-10-29 09:12:46
阅读次数:
183
For location based service, I try to use postgresql with postgis.You can download postgis from here.http://postgis.net/sourceIt is recommended that yo...
分类:
移动开发 时间:
2014-10-28 21:34:00
阅读次数:
297