Leftmost Digit
Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)
Total Submission(s): 13680 Accepted Submission(s): 5239
Problem Description
Given a...
分类:
其他好文 时间:
2014-11-27 22:07:54
阅读次数:
164
Cake
Time Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)
Total Submission(s): 2609 Accepted Submission(s): 1253
Problem Description
一次...
分类:
其他好文 时间:
2014-11-27 22:07:39
阅读次数:
405
所有数据库结构都为如下,有些id是int,看注释100W数据:id为索引字段,4字节的int,数据库引擎为myisamecho "".xdebug_time_index().""; //0.011001110076904for ($i=0; $i ".xdebug_time_index()."";....
分类:
数据库 时间:
2014-11-27 22:00:56
阅读次数:
303
refresh的停车场Time Limit: 1000MS Memory limit: 65536K题目描述refresh最近发了一笔横财,开了一家停车场。由于土地有限,停车场内停车数量有限,但是要求进停车场的车辆过多。当停车场满时,要进入的车辆会进入便道等待,最先进入便道的车辆会优先进入停车场,而...
分类:
其他好文 时间:
2014-11-27 21:52:36
阅读次数:
175
Circle
Time Limit: 2000ms Memory limit: 65536K 有疑问?点这里^_^
题目描述
You have been given a circle from 0 to n?-?1. If you are currently at x, you will move to (x?-?1) mod n or (x?+?1...
分类:
其他好文 时间:
2014-11-27 20:36:39
阅读次数:
235
题意:
Say you have an array for which the ith element is the price of a given stock on day i.
Design an algorithm to find the maximum profit. You may complete as many transactions as you like (ie, buy one and sell one share of the stock multiple ti...
分类:
其他好文 时间:
2014-11-27 20:36:25
阅读次数:
215
Full Binary Tree
Time Limit: 2000ms Memory limit: 65536K 有疑问?点这里^_^
题目描述
In computer science, a binary tree is a tree data structure in which each node has at most two children...
分类:
其他好文 时间:
2014-11-27 20:34:56
阅读次数:
192
Prime Ring Problem
Time Limit: 4000/2000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)
Total Submission(s): 28204 Accepted Submission(s): 12561
Problem Description
A rin...
分类:
其他好文 时间:
2014-11-27 20:33:38
阅读次数:
238
CPU time:the amount of time the central processing unit (CPU) uses toperform requested tasks such as calculations, reading and writingdata, conditiona...
分类:
其他好文 时间:
2014-11-27 20:13:13
阅读次数:
1121
/** * Created with IntelliJ IDEA. * User: Administrator * Date: 12-8-27 * Time: 下午11:29 * To change this template use File | Settings | File Templates...
分类:
其他好文 时间:
2014-11-27 20:04:26
阅读次数:
397