一、为什么要用LESS很多时候我们觉得CSS只是样式框定,前端的重头戏是JavaScript;其实,很多能用HTML + CSS实现的效果的效率远比使用JS来的划算。LESS是什么?我们为什么要使用LESS呢?Less 是一个Css 预编译器,意思指的是它可以扩展Css语言,添加功能如允许变量(va...
分类:
Web程序 时间:
2014-08-08 01:53:55
阅读次数:
396
题目又来了string的基本用法//less than 30 digits//等级长度甚至是超过了int64,所以要用字符串来模拟,然后注意去掉前导零//最多重复的个数就是答案//关于string的修改增加的用法#include #include#include #include #includeu...
分类:
其他好文 时间:
2014-08-06 17:23:51
阅读次数:
171
在使用linux的过程中多多少少都会涉及到文本的操作,因此掌握一些文本操作的工具命令能大大的提高我们的工作效率。cat命令cat命令的用途是链接文件或标准输入并打樱这个命令常用来显示文件内容,或者将几个文件连接起来显示,或者是从标准输入读取内容并显示,它常与重定向符号..
分类:
系统相关 时间:
2014-08-05 23:05:32
阅读次数:
554
Given a binary tree, determine if it is a valid binary search tree (BST).
Assume a BST is defined as follows:
The left subtree of a node contains only nodes with keys less than the node's key.Th...
分类:
其他好文 时间:
2014-08-05 09:43:39
阅读次数:
191
JQuery的核心理念是write less,do more(写的更少,做的更多),那么链式方法的设计与这个核心理念不谋而合。那么从深层次考虑这种设计其实就是一种Internal DSL。DSL是指Domain Specific Language,也就是用于描述和解决特定领域问题的语言我们贴一段代码...
分类:
Web程序 时间:
2014-08-04 17:27:40
阅读次数:
213
Understand limitations of floating point representations.Never check for equality with ==. Instead, check if the difference is less than an epsilon va...
分类:
其他好文 时间:
2014-08-04 14:13:17
阅读次数:
235
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-03 23:28:56
阅读次数:
261
Less 是一个Css 预编译器,可以扩展Css语言,添加功能如允许变量(variables),混合(mixins),函数(functions) 和许多其他的技术,让你的Css更具维护性,主题性,扩展性。关于其具体用法,根据大漠文章,笔者总结如下:放大局部后的截图:(空间有限,所以隐藏了所有的实例代...
分类:
Web程序 时间:
2014-08-02 12:13:53
阅读次数:
389
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-01 13:45:32
阅读次数:
163
第一次写map的嵌套 和less的排序#include #include #include #include #include #include using namespace std;map,less > a;int main(){ int t,n; char s1[85],s2[85...
分类:
其他好文 时间:
2014-08-01 10:37:31
阅读次数:
194