【题目】
Given a positive integer, return its corresponding column title as appear in an Excel sheet.
For example:
1 -> A
2 -> B
3 -> C
...
26 -> Z
27 -> AA
28 -> AB...
分类:
其他好文 时间:
2015-01-29 15:57:07
阅读次数:
189
Indexing
Matrix Indexing
Accessing Single Elements
可以使用如下语法来调用一个矩阵(Matrix)中的一个特定的元素:
A(row,column):A是变量名,行在前,列在后。例如:
A = magic(4)
A =
16 2 3 13
5 11 10 8
9 ...
分类:
其他好文 时间:
2015-01-29 09:37:27
阅读次数:
225
ORA-01461错误解决
ORA-01461: can bind a LONG value only for insert into a LONG column
原来是用weblogic的连接池,没有问题。
转为tomcat或直接jdbc调用,报错。
原因:使用了ojdbc14.jar,更新为ojdbc6即可。weblogic连接池是不用WEB-INF下的lib的ojdbc.jar的。...
分类:
其他好文 时间:
2015-01-28 17:54:09
阅读次数:
488
Given a positive integer, return its corresponding column title as appear in an Excel sheet.
For example:
1 -> A
2 -> B
3 -> C
...
26 -> Z
27 -> AA
28 -> AB
这里就是一个将...
分类:
其他好文 时间:
2015-01-28 14:37:56
阅读次数:
133
在MySQL Workbench里面使用SQL语句:delete from 表名提示出错:Error Code: 1175.You are using safe update mode and you tried to update a table without a WHERE that uses...
分类:
其他好文 时间:
2015-01-28 14:33:56
阅读次数:
167
常用的CSS命名规则头:header内容:content/container尾:footer导航:nav侧栏:sidebar栏目:column页面外围控制整体布局宽度:wrapper左右中:leftrightcenter登录条:loginbar标志:logo广告:banner页面主体:main热点:...
分类:
Web程序 时间:
2015-01-28 14:26:26
阅读次数:
196
class Solution {public: int titleToNumber(string s) { int len = s.length(); if(len == 0) { return 0; } retur...
分类:
其他好文 时间:
2015-01-28 00:48:23
阅读次数:
204
一、内连接和外连接 内连接用于返回满足连接条件的记录;而外连接则是内连接的扩展,它不仅会满足连接条件的记录,而且还会返回不满足连接条件的记录,语法如下: Oracle代码selecttable1.column,table2.columnfromtable1[inner|left|right|ful....
分类:
数据库 时间:
2015-01-28 00:46:37
阅读次数:
220
1.Oracleselectowner,table_namefromdba_tab_columnswherelower(column_name)='firstname';2.mysqlUSEinformation_schema;SELECT`TABLE_NAME`FROM`COLUMNS`WHERE...
分类:
其他好文 时间:
2015-01-27 18:08:21
阅读次数:
170
public class NineRectView extends ViewGroup { private Context ctx; private int wSize,hSize,row,column,count,childWidth,childHeight,parent_padding_to.....
分类:
移动开发 时间:
2015-01-27 09:20:06
阅读次数:
444