1、case语法: case when 条件1 then 返回值1 when 条件2 then 返回值2 ... else 返回值N end;示例:declare i integer; str varchar2(20);begin i := 3; str := case when i =...
分类:
数据库 时间:
2014-08-03 12:38:35
阅读次数:
300
无题ITime Limit: 10000msMemory Limit: 32768KBThis problem will be judged onHDU. Original ID:223464-bit integer IO format:%I64d Java class name:Main一天机器人...
分类:
其他好文 时间:
2014-08-03 10:09:55
阅读次数:
350
题目: Given an integer n, generate a square matrix filled with elements from 1 to n2 in spiral order.For example,Given n = 3,You should return the foll....
分类:
编程语言 时间:
2014-08-03 05:21:18
阅读次数:
272
炮兵阵地Time Limit: 2000msMemory Limit: 65536KBThis problem will be judged onPKU. Original ID:118564-bit integer IO format:%lld Java class name:Main司令部的将军...
分类:
其他好文 时间:
2014-08-02 23:23:05
阅读次数:
302
B. Collecting BugsTime Limit: 10000msMemory Limit: 64000KB64-bit integer IO format:%lld Java class name:MainSpecial JudgeIvan is fond of collecting. U...
分类:
其他好文 时间:
2014-08-02 20:36:46
阅读次数:
258
在写程序时,难免会遇到类型转换的问题,下面列出了各种类型的转换方法,我们要做的
只是会举一反三就可以了。
package JavaTestString;
//包装类
//char----charcter
//float---Float
//int-----Integer
//boolean-Boolean
public class JavaTypeConvert {
public sta...
分类:
编程语言 时间:
2014-08-02 15:40:13
阅读次数:
258
Description
N children are sitting in a circle to play a game.
The children are numbered from 1 to N in clockwise order. Each of them has a card with a non-zero integer on it in his/her hand. Th...
分类:
其他好文 时间:
2014-08-02 15:37:33
阅读次数:
259
问题:将字符窜转换成数字分析:感觉题目不难,但是细节很多,容易想不到1.数字前面有空格 如s=“ 123456”2.数字前出现了不必要或多于的字符导致数字认证错误,输出0 如s=“ b1234” ,s=“ ++1233” , s=“ +-1121”3.数字中出现了不必要的字符,返回字符前的数字...
分类:
其他好文 时间:
2014-08-02 12:36:23
阅读次数:
301
Double ProfilesTime Limit: 3000msMemory Limit: 262144KBThis problem will be judged onCodeForces. Original ID:154C64-bit integer IO format:%I64d Java c...
分类:
其他好文 时间:
2014-08-02 12:34:23
阅读次数:
197
In 7-bitTime Limit: 2000msMemory Limit: 65536KBThis problem will be judged onZJU. Original ID:371364-bit integer IO format:%lld Java class name:MainVe...
分类:
其他好文 时间:
2014-08-02 12:22:13
阅读次数:
230