需求:表中同一个uid(用户)拥有多条游戏等级记录,现需要取所有用户最高等级(level)的那一条数据,且时间(time)越早排越前。这是典型的排名表+------+-------+--------------+---------------------+| uid | level | role ....
分类:
数据库 时间:
2014-07-22 22:58:16
阅读次数:
380
use Time::HiRes qw(time);use POSIX qw(strftime);my $t = time;my $date = strftime "%Y%m%d %H:%M:%S", localtime $t;$date .= sprintf ".%03d", ($t-int($t)...
分类:
其他好文 时间:
2014-07-22 22:57:34
阅读次数:
179
本题求m的最大多少次幂是 n!的因子;也就是质因子分解 n!中某一质因子个数与m中质因子个数比的最小值。#include #include using namespace std;int sign[10010];int pri[10010];int tot;int e2[10010][1500],e...
分类:
其他好文 时间:
2014-07-22 22:56:35
阅读次数:
239
逃离迷宫Time Limit: 1000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 14376Accepted Submission(s): 3458Problem Descr...
分类:
其他好文 时间:
2014-07-17 00:34:50
阅读次数:
258
var wait = 60;//时间 function time(o, p) {//o为按钮的对象,p为可选,这里是60秒过后,提示文字的改变 if (wait == 0) { //o.removeAttr("di...
分类:
移动开发 时间:
2014-07-16 16:54:23
阅读次数:
193
/*
G - 二分
Time Limit:2000MS Memory Limit:32768KB 64bit IO Format:%lld & %llu
Submit
Status
Description
Given n points (1 dimensional) and q segments, you have to find the number of points th...
分类:
其他好文 时间:
2014-07-16 16:42:15
阅读次数:
245
Gallery - Beautiful很酷很炫的图片效果----IT is SHow Time
/translator/assets/css/bootstrap.min.css" />
/translator/assets/css/font-awesome.min.css" />
/translator/assets/css/colorbox.css"...
分类:
其他好文 时间:
2014-07-16 16:16:07
阅读次数:
266
瑶瑶的第K大
Time Limit: 10000/5000MS (Java/Others)Memory Limit: 512000/256000KB (Java/Others)
SubmitStatisticNext Problem
Problem Description
一天,萌萌的妹子--瑶瑶(tsyao)很无聊,就来找你玩。可是你们都不知道玩什么。。。尴尬了一阵子,机...
分类:
其他好文 时间:
2014-07-16 16:15:23
阅读次数:
211
/*
A - 简单dp 例题
Time Limit:1000MS Memory Limit:30000KB 64bit IO Format:%I64d & %I64u
Submit
Status
Description
A military contractor for the Department of Defense has just completed a series o...
分类:
其他好文 时间:
2014-07-16 16:15:03
阅读次数:
278
统计难题
Time Limit: 4000/2000 MS (Java/Others) Memory Limit: 131070/65535 K (Java/Others)
Total Submission(s): 17302 Accepted Submission(s): 7464
Problem Description
Ignatius最近遇到一个难题,老师...
分类:
其他好文 时间:
2014-07-16 13:43:40
阅读次数:
250