——积累工作中用到的SQL1、增加和删除一列写法: --增加一列 alter table 表名 add 列名 类型; --删除一列 alter table 表名 drop column 列名 ;例如: --增加一列 alter table TB_TEMP add COL_ID VARCHAR2(40); --删除一列...
分类:
数据库 时间:
2014-06-05 10:17:14
阅读次数:
340
【题目】
Given a m x n matrix, if an element is 0, set its entire row and column to 0. Do it in place.
【题意】
给定一个mXn的矩阵,如果其中的元素为0,则对应的行和列都用0填充。
不能申请额外的空间。
【思路】
第一行和第一列空出来标记需要置0的列和行
第一遍扫描:
扫描第一行,判断第一行是否需要清零
...
分类:
其他好文 时间:
2014-06-05 08:07:11
阅读次数:
229
1、错误描述
freemarker.core.ParseException: Token manager error: freemarker.core.TokenMgrError: Lexical error at line 16, column 50. Encountered: "\uff01" (65281), after : "" in course.ftl
at freemarker...
分类:
其他好文 时间:
2014-06-05 07:59:23
阅读次数:
364
1、错误描述
五月 28, 2014 9:56:48 下午 freemarker.log.JDK14LoggerFactory$JDK14Logger error
严重: Template processing error: "Expression student.course is undefined on line 15, column 24 in course.ftl."
Express...
分类:
其他好文 时间:
2014-06-05 07:35:59
阅读次数:
348
链接: http://acm.hrbust.edu.cn/index.php?m=ProblemSet&a=showProblem&problem_id=2116
Description
Wind and his GF(game friend) are playing a small game. They use the computer to randomly generated a nu...
分类:
其他好文 时间:
2014-06-03 02:17:13
阅读次数:
252
1、错误描述
freemarker基本数据类型
张三丰
123,456
Error on line 20, column 8 in type.ftl
Expecting a string, date or number here, Expression flag is instead...
分类:
其他好文 时间:
2014-06-03 00:51:06
阅读次数:
400
1、错误描述
freemarker.core.ParseException: Encountered "string" at line 21, column 21 in type.ftl.
Was expecting one of:
"}" ...
"." ...
"[" ...
"(" ...
"?" ...
"!" ...
......
分类:
其他好文 时间:
2014-06-02 23:10:09
阅读次数:
327
修改/etc/default/locale原始的:# File generated by
update-localeLANG="zh_CN.UTF-8"LANGUAGE="zh_CN:zh"修改成:# File generated by
update-localeLANG="en_US.UTF-8"...
分类:
其他好文 时间:
2014-06-02 10:08:34
阅读次数:
189
/**
* @author gao
*/
package gao.org;
public class RunnableDemo implements Runnable{
@Override
public void run() {
// TODO Auto-generated method stub
for(int i=0;i<10;i++){
System.out.pri...
分类:
编程语言 时间:
2014-06-01 18:12:33
阅读次数:
441
title:
The sequence of triangle numbers is generated by adding the natural numbers. So the 7th triangle number would be 1 + 2 + 3 + 4 + 5 + 6 + 7 = 28. The first ten terms would be:
1, 3, 6, 10,...
分类:
其他好文 时间:
2014-06-01 10:31:26
阅读次数:
233