Problem Description
Teacher Mai has an integer x.
He does the following operations k times. In the i-th operation, x becomes the least integer no less than x, which is the multiple of i.
He wan...
分类:
其他好文 时间:
2014-08-14 20:39:59
阅读次数:
256
Problem Description
Teacher Mai has a kingdom. A monster has invaded this kingdom, and Teacher Mai wants to kill it.
Monster initially has h HP. And it will die if HP is less than 1.
Teacher Ma...
分类:
其他好文 时间:
2014-08-14 20:39:09
阅读次数:
283
Given a linked list and a value x, partition it such that all nodes less than x come before nodes greater than or equal to x.You should preserve the o...
分类:
其他好文 时间:
2014-08-14 00:56:47
阅读次数:
199
【前言】此处介绍的方法只是我个人的用法,相信大家有更好更简洁的方式。 上次写到利用LiveReload解放F5。而且LiveReload可以编辑sass/less/stylus。但是可惜发现LiveReload在编译的时候不能抛错,这就很麻烦了,少了个标点less编译就不过,查找起来太麻烦。 我目前...
分类:
其他好文 时间:
2014-08-13 17:40:16
阅读次数:
281
用vim习惯于显示行号,用less也想要显示行号.没行号找东西太麻烦了.开始连能不能显示行号都不知道.看了man手册,发现可以用 -N ,只是在打开大文件的时候会略微拖慢点速度. 拖慢点就拖慢点了,无所谓. 于是设置了 "alias less=less -N". 然后又发现一个问题.这行号显示得也太...
分类:
其他好文 时间:
2014-08-13 17:39:46
阅读次数:
230
Given a linked list and a value x, partition it such that all nodes less than x come before nodes greater than or equal to x.
You should preserve the original relative order of the nodes in each of...
分类:
其他好文 时间:
2014-08-13 15:02:26
阅读次数:
208
Check your gcc version. If it is less than 4.7, you need use another printer.py file. Get the file fromhttp://gcc.gnu.org/svn/gcc/branches/gcc-4_6-bra...
分类:
数据库 时间:
2014-08-12 16:43:44
阅读次数:
226
查找操作:/pattern 向前查找包含pattern的行?pattern 向后查找包含pattern的行n 查找下一个pattern 的行N 查找上一个pattern的行ESC-u 取消所有搜索的高亮显示G 最后一行g 第一行p 到文件最后
分类:
其他好文 时间:
2014-08-12 09:01:23
阅读次数:
161
前言:搜了半天,各种推荐,什么十大工具啦、优秀工具集合啦之类的咸淡文章,就是没有一个讲怎么弄的。配合官网的article自己研究了半天总算配置好了。顺便吐槽下官网关于sass/less设置这块说的模糊不清的。写个教程给大家,相信会对新手们有帮助的。声明:本文不涉及Grunt。开发环境:windows...
分类:
其他好文 时间:
2014-08-10 12:45:10
阅读次数:
417
// Property-less object console.time('zoop1');var zoop = (function (numObjects) { var pooz = Object.create(null); for(var i = 0; i>: 2时间总是最少的,其他三个有变.....
分类:
Web程序 时间:
2014-08-08 21:04:56
阅读次数:
297