码迷,mamicode.com
首页 >  
搜索关键字:number    ( 26994个结果
LeetCode: Sum Root to Leaf Numbers
LeetCode: Sum Root to Leaf NumbersGiven a binary tree containing digits from 0-9 only, each root-to-leaf path could represent a number.An example is t...
分类:其他好文   时间:2014-08-24 20:41:33    阅读次数:175
题目1004:Median
题目描述: Given an increasing sequence S of N integers, the median is the number at the middle position. For example, the median of S1={11, 12, 13, 14} is 12, and the median of S2={9, 10, 15, 16, 17} is 15. The median of two sequences is defined to be...
分类:其他好文   时间:2014-08-24 19:24:22    阅读次数:235
LeetCode:3Sum Closest
Given an array S of n integers, find three integers in S such that the sum is closest to a given number, target. Return the sum of the three integers....
分类:其他好文   时间:2014-08-24 19:14:43    阅读次数:211
备战ACM烂摊子
problem A#includeint a[500]={0};//素数大表 int main(){ int number; int anumber=0; int i=0; int flag=0; while(scanf("%d",&number)!=EOF) { if(anumber==0) .....
分类:其他好文   时间:2014-08-24 19:12:03    阅读次数:162
java 线程(三) :对象的共享
可见性:      我们希望确保一个线程修改了对象的状态后,其他线程能够看到发生的状态变化。      例:在没有同步的情况下共享变量 public class NoVisibility { private static boolean ready; private static int number; public static class Rea...
分类:编程语言   时间:2014-08-24 15:31:02    阅读次数:190
mybatis使用generator自动生成代码时的类型转换
使用mybatis的generator自动生成代码,但是oracle数据库中number(6,2)总是自动转成BigDecimal,我想要转成的是float类型 这样就写了一个类型转换器,需要继承JavaTypeResolver接口 然后在mybaties配置文件generatorConfig.xml中类型转换配置位置添加上即可 类型转换器MyJavaTypeRe...
分类:其他好文   时间:2014-08-24 11:43:12    阅读次数:215
POJ1236 Network of Schools 【强连通分量Garbow】
Network of Schools Time Limit: 1000MS   Memory Limit: 10000K Total Submissions: 11180   Accepted: 4448 Description A number of schools are connected to a computer netwo...
分类:Web程序   时间:2014-08-24 09:10:22    阅读次数:309
[LeetCode] Letter Combinations of a Phone Number(bfs)
Given a digit string, return all possible letter combinations that the number could represent.A mapping of digit to letters (just like on the telephon...
分类:其他好文   时间:2014-08-23 18:53:01    阅读次数:180
ExtJS学习-----------Ext.Number,ExtJS对javascript中的Number的扩展
ExtJS学习-----------Ext.Object,ExtJS对javascript中的Number的扩展...
分类:编程语言   时间:2014-08-23 17:48:31    阅读次数:287
闲云控制台(二)查看文件功能,支持十六进制查看文件
命令处理区加入 int Look_File(pCommand b) { int _out_style = 1; int _line_number = 1; int _len_argu = strlen(b->Cmd_Arguments); while (--_len_argu >= 0) { switch (b->Cmd_Arguments[_len_argu]) { ca...
分类:其他好文   时间:2014-08-23 17:45:41    阅读次数:192
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!