遇到一个奇怪的问题:最近在维护一个老项目,添加了一点新功能,结果在本地打包上传到生产环境,报java.lang.UnsupportedClassVersionError:? Bad version number in .class file。 ??? 当然一看到这个错误我...
分类:
其他好文 时间:
2015-01-30 06:48:03
阅读次数:
218
Given a list of non negative integers, arrange them such that they form the largest number.
For example, given [3, 30, 34, 5, 9], the largest formed number is 9534330.
Note: The result may be ve...
分类:
其他好文 时间:
2015-01-30 01:26:21
阅读次数:
165
Problem DescriptionA number sequence is defined as follows:f(1) = 1, f(2) = 1, f(n) = (A * f(n - 1) + B * f(n - 2)) mod 7.Given A, B, and n, you are t...
分类:
其他好文 时间:
2015-01-30 01:17:43
阅读次数:
385
Given a non-negative number represented as an array of digits, plus one to the number.
The digits are stored such that the most significant digit is at the head of the list.
// https://oj.leetco...
分类:
其他好文 时间:
2015-01-30 00:10:30
阅读次数:
202
1:先看例子
{CSDN:CODE:592849}
看输出结果:
1
2
3
4
all number is positive
2:再看一个变例
{CSDN:CODE:592848}
看输出结果:
1
2
3:结论
当for语句中没有执行break的话,遍历完for语句,就会执行else语句
但是如果中间...
分类:
编程语言 时间:
2015-01-29 21:09:30
阅读次数:
450
Given an array of integers, find two numbers such that they add up to a specific target number.
The function twoSum should return indices of the two numbers such that they add up to the target, whe...
分类:
其他好文 时间:
2015-01-29 19:32:38
阅读次数:
147
A - Number Sequence
Crawling in process...
Crawling failed
Time Limit:5000MS
Memory Limit:32768KB 64bit IO Format:%I64d & %I64u
Description
Given two sequences of numbers : a[1...
分类:
其他好文 时间:
2015-01-29 17:52:50
阅读次数:
240
uva 12097 Pie
My birthday is coming up and traditionally I'm serving pie. Not just one pie, no, I have a number N of them, of various tastes and of various sizes. F of my friends are coming to my par...
分类:
其他好文 时间:
2015-01-29 17:50:43
阅读次数:
174
oracle 多表查询 1对多 多个数据放到一个字段内
select id,zhzxm,fzhzxm,ltrim(max(sys_connect_by_path(xm, ',')), ',') xm
from (
select id,zhzxm,fzhzxm,xm,row_number() over(partition by id order by lrsj) rn --标记...
分类:
数据库 时间:
2015-01-29 17:41:56
阅读次数:
144
准备数据 浙江,杭州,300 浙江,宁波,150 浙江,温州,200 浙江,嘉兴,100 江苏,南京,270 江苏,苏州,299 江苏,某市,200 江苏,某某市,100 创建表 CREATE table pcp (province string,city string,people int) RO...
分类:
其他好文 时间:
2015-01-29 17:34:36
阅读次数:
333