As an emergency rescue team leader of a city, you are given a special map of your country. The map shows several scattered cities connected by some roads. Amount of rescue teams in each city and the l...
分类:
其他好文 时间:
2015-02-23 14:19:34
阅读次数:
165
1.Volley简介 Volley是Android平台上的网络通信库,能使网络通信更快、更简单、更健壮。那么在2013年的Google I/O大会上volley发布了。 Volley名称的由来: a burst or emission of many things or a large amount...
分类:
其他好文 时间:
2015-02-21 15:26:30
阅读次数:
343
题目大意:
Here are two numbers A and B (0
For each x, f(x) equals to the amount of x’s special numbers.
For example, f(6)=1, because 6 only have one special number which is 4. And f(12)=3, its spe...
分类:
其他好文 时间:
2015-02-18 14:07:34
阅读次数:
205
This procedure suspends the session for a specified period of time.DBMS_LOCK.SLEEP (seconds IN NUMBER);seconds Amount of time, in seconds, to suspend....
分类:
数据库 时间:
2015-02-12 22:36:47
阅读次数:
250
update table2 b,(select b.area_id as arid,sum(a.user_amount) as bcountfrom table1 a,table2 bwhere a.user_area=b.area_idgroup by arid) cset b.count=c.b...
分类:
其他好文 时间:
2015-02-11 21:51:31
阅读次数:
168
第一组:结果是0.030.020.020.02不明白为什么?doubleamount=0.03;amount=newBigDecimal(amount).setScale(2,BigDecimal.ROUND_UP).doubleValue();System.out.println(amount);amount=newBigDecimal(amount).setScale(2,BigDecimal.ROUND_DOWN).doubleValue();System.out.print..
分类:
其他好文 时间:
2015-02-11 18:56:08
阅读次数:
143
A long-distance telephone company charges its customers by the following rules:Making a long-distance call costs a certain amount per minute, dependin...
分类:
其他好文 时间:
2015-02-11 12:16:42
阅读次数:
172
用sql查询每个分组中amount最大的前两条记录:SELECT *FROM HW trWHERE(SELECT COUNT(*) FROM HW WHERE tr.DEPID=DEPID AND AMOUNT>tr.AMOUNT)< 2ORDER BY DEPID, TR.AMOUNT DESC应...
分类:
数据库 时间:
2015-02-09 20:15:05
阅读次数:
237
题意:
比较简单的题目,就是把给定格式的数字加起来,再按规定格式输出,想想感觉很简单,写起来还是不是很顺,wa了5次,能注意的点都注意了,重新写了一遍才过的。现在总结以下几点易错点:
1.像小于10和小于100的需要特判。
2.不要用double解,精度不能保证,最后处理也烦,建议直接把数字读出来,虽说范围是int内,但不知道数据会不会坑,最好用long long。
3.处理','的时候,...
分类:
其他好文 时间:
2015-02-07 09:11:50
阅读次数:
115
#1102 : Individual Income Tax
时间限制:10000ms
单点时限:1000ms
内存限制:256MB
描述
For incomes from wages and salaries, the progressive tax rate in excess of specific amount is applicable. ...
分类:
其他好文 时间:
2015-02-07 09:10:52
阅读次数:
164