码迷,mamicode.com
首页 >  
搜索关键字:only    ( 8839个结果
Little Bishops uva861
Little BishopsA bishop is a piece used in the game of chess which is played on a board of square grids. A bishop can only move diagonally from its cur...
分类:其他好文   时间:2014-07-09 23:05:17    阅读次数:252
leetcode题解:Valid Palindrome(判断回文)
题目:Given a string, determine if it is a palindrome, considering only alphanumeric characters and ignoring cases.For example,"A man, a plan, a canal: P...
分类:其他好文   时间:2014-07-09 21:38:15    阅读次数:207
Linux下MySql出现#1036 – Table ‘ ‘ is read only 错误解决方法
这两天在进行网站搬家,这次网站搬家采用直接打包mysql数据库和网页文件的形式进行迁移,上传好mysql data目录里面的网站数据库至VPS上mysql存放数据库的目录里面,解压就行。我的VPS存放数据库的路径是 /usr/local/mysql/var。上传好网站数据,解压,配置好数据库链接参数...
分类:数据库   时间:2014-07-09 00:02:30    阅读次数:192
【LeetCode】Sum Root to Leaf Numbers
题目 Given a binary tree containing digits from 0-9 only, each root-to-leaf path could represent a number. An example is the root-to-leaf path 1->2->3 which represents the number 123. Find ...
分类:其他好文   时间:2014-07-08 21:43:08    阅读次数:219
在vim中显示git commit的文件
show git show in Vim //show files for a commit in vim tabs vim -pn $(git show --pretty="format:" --name-only SHAxxxx )...
分类:其他好文   时间:2014-07-08 19:54:35    阅读次数:199
【LeetCode】Swap Nodes in Pairs
题目 Given a linked list, swap every two adjacent nodes and return its head. For example, Given 1->2->3->4, you should return the list as 2->1->4->3. Your algorithm should use only constant spac...
分类:其他好文   时间:2014-07-08 13:46:26    阅读次数:205
UVA 10004 Bicoloring
题目如下: Bicoloring  In 1976 the ``Four Color Map Theorem" was proven with the assistance of acomputer. This theorem states that every map can be colored using only fourcolors, in...
分类:其他好文   时间:2014-07-06 12:28:07    阅读次数:241
HDU--Elevator
Elevator Time Limit: 1000ms   Memory limit: 32768K  有疑问?点这里^_^ 题目描述 The highest building in our city has only one elevator. A request list is made up with N positive numbers. The numbers de...
分类:其他好文   时间:2014-07-06 10:52:11    阅读次数:188
juniper的49个配置文件的存储路径
root@%cd/config/(0到3及rescure文件)root@%cd/var/db/config/(4到49的相关文件)SNMP设置:[editsnmp]communitycardinals{authorizationread-only;clients{10.210.14.0/24;}}链路端口端开后,设备会亮红灯,可以通过如下命令除掉红灯:root#setchassisalarmmanagement-ethe..
分类:其他好文   时间:2014-07-05 23:18:45    阅读次数:285
CTCI 1.3
Description: Given two strings, write a method to decide if one is a permutation of the other.We could use the same idea from CTCI 1.1. The only diffe...
分类:其他好文   时间:2014-07-05 21:43:01    阅读次数:231
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!