165 Compare Version Numbers用python处理字符串还是比较简单的class Solution: # @param {string} version1 # @param {string} version2 # @return {integer} de...
分类:
其他好文 时间:
2015-07-21 12:38:53
阅读次数:
97
现在在公司用到了关于多级分类的菜单树,关于封装成树形结构传给前端,下面提供几个方式:1:传统封装:每一级循环一次得到该子类 @Override public List> getCatalist(Integer sch_id) { //得到一级导航 List> ...
分类:
其他好文 时间:
2015-07-21 12:06:30
阅读次数:
137
Road ImprovementTime Limit: 2000msMemory Limit: 262144KBThis problem will be judged onCodeForces. Original ID:543D64-bit integer IO format:%I64d Java ...
分类:
其他好文 时间:
2015-07-21 12:04:00
阅读次数:
105
Given an integer, convert it to a roman numeral.Input is guaranteed to be within the range from 1 to 3999.class Solution {public: string intToRoman...
分类:
其他好文 时间:
2015-07-21 06:48:59
阅读次数:
108
package generic;public class AutoBoxTest { public static void main(String[]args){ Integer a = 1; Integer b = 2; Integer c = 3;...
分类:
编程语言 时间:
2015-07-21 01:17:50
阅读次数:
131
DiggingTime Limit: 2000msMemory Limit: 65536KBThis problem will be judged onZJU. Original ID:368964-bit integer IO format:%lld Java class name:MainPre...
分类:
其他好文 时间:
2015-07-21 01:15:22
阅读次数:
208
Compound WordsTime Limit: 5000msMemory Limit: 32768KBThis problem will be judged onZJU. Original ID:182564-bit integer IO format:%lld Java class name:...
分类:
其他好文 时间:
2015-07-20 22:51:35
阅读次数:
105
SumsetsTime Limit: 1000msMemory Limit: 65536KBThis problem will be judged onPKU. Original ID:254964-bit integer IO format:%lld Java class name:Mainive...
分类:
其他好文 时间:
2015-07-20 21:31:38
阅读次数:
165
Implement a basic calculator to evaluate a simple expression string.The expression string contains only non-negative integers, +, -, *, / operators and empty spaces . The integer division should trunca...
分类:
其他好文 时间:
2015-07-20 19:41:19
阅读次数:
111
自动打包 && 自动拆包 sample ArrayList = new ArrayList(); list.add(3); int i = list.get(0);3会被自动打包成Integer类型,随后被自动拆包为int型。Tips: 这里处理定长的数组类型,ArrayList...
分类:
编程语言 时间:
2015-07-20 18:55:09
阅读次数:
118