select if(count(salary) = 0, NULL, salary) as `salary` from (select salary from Employee group by salary order by salary desc limit 1,1) tmpWrite a S....
分类:
数据库 时间:
2015-01-23 06:05:49
阅读次数:
136
输入两个非负10进制整数A和B(30-1),输出A+B的D (1
输入格式:
输入在一行中依次给出3个整数A、B和D。
输出格式:
输出A+B的D进制数。#include
#include
#include
#define N 30
int main ()
{
long first,second;
int index,i=0;
scanf("...
分类:
其他好文 时间:
2015-01-22 11:07:51
阅读次数:
143
点击打开链接
1017. Staircases
Time limit: 1.0 second
Memory limit: 64 MB
One curious child has a set of N little bricks (5 ≤ N ≤ 500). From these bricks he builds different staircases. S...
分类:
其他好文 时间:
2015-01-18 14:27:09
阅读次数:
156
使用hadoop 进行页面的pv uv 计算
不推荐的做法
将访问者的cookie放在hashmap中进行去重计算uv,因为当访问量大时,会将hashmap撑爆,报出
java.lang.OutOfMemoryError: Java heap space
推荐做法:
使用textpair 将cookie作为second key 进行排序,在reduce中进行判断,如果上一个co...
分类:
其他好文 时间:
2015-01-18 11:55:00
阅读次数:
224
点击打开链接
1073. Square Country
Time limit: 1.0 second
Memory limit: 64 MB
There live square people in a square country. Everything in this country is square also. Thus, the Square P...
分类:
其他好文 时间:
2015-01-17 01:16:52
阅读次数:
172
In a Nested Loops Join, for example, the first accessed table is called the outer table and the second one the inner table. In a Hash Join, the first ...
分类:
数据库 时间:
2015-01-16 20:52:59
阅读次数:
357
点击打开链接
2018. The Debut Album
Time limit: 2.0 second
Memory limit: 64 MB
Pop-group “Pink elephant” entered on recording their debut album. In fact they have only two songs: “My love...
分类:
编程语言 时间:
2015-01-15 22:04:18
阅读次数:
304
下拉菜单排行:var MyViewModel = function() { var me = this; me.selectOptions = [ {name:"First",id:1}, {name:"Second",id:2}, ...
分类:
其他好文 时间:
2015-01-15 18:11:25
阅读次数:
172
点击打开链接
1260. Nudnik Photographer
Time limit: 1.0 second
Memory limit: 64 MB
If two people were born one after another with one second difference and one of them is a child, then th...
分类:
其他好文 时间:
2015-01-14 12:47:15
阅读次数:
125
题目描述:Find a longest common subsequence of two strings.输入:First and second line of each input casecontain two strings of lowercase character a…z. There...
分类:
其他好文 时间:
2015-01-13 19:37:52
阅读次数:
180