题意没弄懂,还有就是没有考虑特殊情况0,导致我贡献了7次WA,感谢茂茂的提醒
Coin Test
时间限制:3000 ms | 内存限制:65535 KB
难度:1
描述
As is known to all,if you throw a coin up and let it droped on the desk there are usually th...
分类:
其他好文 时间:
2014-12-14 09:29:00
阅读次数:
237
netbeans的zencoding插件在编辑>zencoding里
默认
https://netbeans.org/project_downloads/usersguide/shortcuts-80.pdf
删除行ctrl+e
复制一行向上ctrl+shift+up
复制一行向下ctrl+shift+down
ctrl+up/down滚屏
ctrl+left/right跳单词
alt+shift+up/down移动一行
shif..
分类:
Web程序 时间:
2014-12-14 07:19:13
阅读次数:
210
题目 Binary Tree Level Order Traversal II通过率30.6%难度EasyGiven a binary tree, return thebottom-up level ordertraversal of its nodes' values. (ie, from ...
分类:
其他好文 时间:
2014-12-13 23:17:56
阅读次数:
150
本文是在学习中的总结,欢迎转载但请注明出处:http://blog.csdn.net/pistolove/article/details/41910495
Given a binary tree and a sum, determine if the tree has a root-to-leaf path such that adding up all the values along the path equals the given sum.
思路:
(1)题意为给定一个(每个节点带有数值)二叉...
分类:
其他好文 时间:
2014-12-13 18:04:21
阅读次数:
176
首先检查是否安装了db软件,
rpm -qa|grep db4
如果没有安装,则安装,这里就不介绍了,有很多。
安装完db4数据库软件,正式进入vsftpd服务器。
1.添加虚拟用户vdear
adduser -d /home/vdear -s /sbin/nologin vdear
2.添加3个文件夹,
mkdir up down all
3.改变文件夹所属用户
...
分类:
其他好文 时间:
2014-12-13 17:58:45
阅读次数:
305
题目
Given an array of integers, find two numbers such that they add up to a specific target number.
The function twoSum should return indices of the two numbers such that they add up to the tar...
分类:
其他好文 时间:
2014-12-13 16:34:35
阅读次数:
169
http://techtach.com/2014/05/boost-android-emulator-performanceon-linux-speeding-up-android-emulator-on-ubuntu/ Note: Earlier I had asked this?question?on stackoverflow , but got no responses, he...
分类:
移动开发 时间:
2014-12-13 06:27:42
阅读次数:
238
Triangle Up1234567#triangle-up {width:0;height:0;border-left:50pxsolidtransparent;border-right:50pxsolidtransparent;border-bottom:100pxsolidred;} Tri....
分类:
Web程序 时间:
2014-12-12 23:29:46
阅读次数:
199
环境描述 Windows 2012 R2,SharePoint 2013(没有sp1补丁),sql server 2012错误描述 搜索服务正常,但是爬网一直在Crawling Full,但是爬不到任何东西,而且不会停止,爬了一宿什么都没有爬到: 爬网不止,爬了一宿什么都没有爬到,错误如下: ...
分类:
其他好文 时间:
2014-12-12 22:03:58
阅读次数:
253
The maximum number of cell styles was exceeded. You can define up to 4000 stylesPOI操作Excel中,导出的数据不是很大时,则不会有问题,而数据很多或者比较多时,就会报以下的错误,是由于cell styles太多cre...
分类:
其他好文 时间:
2014-12-12 20:46:32
阅读次数:
229