题目描述Elenore has a list of strings that she wants to
put in a file. She could just put them all into a file in order, but she wants
to minimize the siz...
分类:
其他好文 时间:
2014-05-17 01:33:55
阅读次数:
257
You are given annxn2D matrix representing an
image.Rotate the image by 90 degrees (clockwise).Follow up:Could you do this
in-place?思路:先将矩阵转置,然后将第一列与最后...
分类:
其他好文 时间:
2014-05-14 03:09:35
阅读次数:
225
WindowServer2012服务器,添加角色安装完.netframework和iis之后,运行aspx页面就报如下错误:HTTP
错误 404.3 - Not Found由于扩展配置问题而无法提供您请求的页面。如果该页面是脚本,请添加处理程序。如果应下载文件,请添加 MIME
映射。?可能是缺少...
分类:
其他好文 时间:
2014-05-14 01:52:38
阅读次数:
610
今天早上apache突然无法启动,重启电脑仍然没有结果,经过一番努力终于解决了,过程如下:
首先查看apache错误日志:
1.删除apache>>logs>>error.log,重启apache查看这个文件发现内容如下:
(OS 10013)以一种访问权限不允许的方式做了一个访问套接字的尝试。 : make_sock: could not bind to address [::]:80
...
分类:
其他好文 时间:
2014-05-14 01:02:17
阅读次数:
421
/*
游标:可以用来存放查询结果,逐行提取查询结果,以编程的方式访问数据
类型:1.隐式游标;2.显示游标;3.引用游标
*/
/*
在PL/SQL中使用DML语句时自动创建隐式游标
隐式游标自动声明、打开和关闭,其名为 SQL
通过检查隐式游标的属性可以获得最近执行的DML语句的信息
隐式游标的属性有:
1.%FOUND – SQL语句影响了一行或多行时为 TRUE
2.%NOTFOUND – SQL语句没有影响任何行时为TRUE
3.%ROWCOUNT – SQL语句影响的行数
4.%ISO...
分类:
数据库 时间:
2014-05-13 23:56:53
阅读次数:
522
If you runfsck, the filesystem check and repair
command, it might find data fragments that are not referenced anywhere in the
filesystem. In particula...
分类:
其他好文 时间:
2014-05-13 16:59:54
阅读次数:
276
Multiple annotations found at this line: - schema_reference.4: Failed to read schema document 'http://www.directwebremoting.org/schema/spring-dwr-2.0.xsd', because 1) could not find the document; 2)...
分类:
编程语言 时间:
2014-05-12 22:55:47
阅读次数:
409
原题地址:http://oj.leetcode.com/problems/sum-root-to-leaf-numbers/题意:Given
a binary tree containing digits from0-9only, each root-to-leaf path could
repre...
分类:
编程语言 时间:
2014-05-12 01:28:30
阅读次数:
440
产生原因:误将/home/user目录的用户变成了root,所以无法更新ICE导致开机警告解决方法:1.使用guest登录2.打开一个console3.Ctrl
+ Alt +F1 进入安全模式4.使用你的用户名登录5.sudo chown -R user:user/home/$user/.ICEa...
分类:
其他好文 时间:
2014-05-12 00:15:41
阅读次数:
459
Search Insert Position
Total Accepted: 14091 Total
Submissions: 41005My Submissions
Given a sorted array and a target value, return the index if the target is found. If not, return the in...
分类:
其他好文 时间:
2014-05-11 05:53:03
阅读次数:
241