Minimum Inversion Number Time Limit:1000MS Memory
Limit:32768KB 64bit IO Format:%I64d & %I64u Description The inversion number
of a given number seque...
分类:
其他好文 时间:
2014-05-04 12:27:07
阅读次数:
349
A - 敌兵布阵 Time Limit:1000MS Memory Limit:32768KB
64bit IO Format:%I64d & %I64u Description
C国的死对头A国这段时间正在进行军事演习,所以C国间谍头子Derek和他手下Tidy又开始忙乎了。A国在海岸线沿直线布置...
分类:
其他好文 时间:
2014-05-04 12:26:09
阅读次数:
267
我用WebAPI做了一个网站,网站很简单,请求就是几个普通的参数,提交到服务器后,在Web
API里做一下参数验证,然后去访问Redis里的TIME命令,最后把TIME命令返回的结果计算出yyyy-MM-dd
HH:mm:ss的形式,返回JSON格式。每秒请求数:1500次。CPU占用100%内存和...
分类:
Windows程序 时间:
2014-05-04 12:21:14
阅读次数:
1103
首先看下面这个例子
public static void main(String[] args) {
ArrayList al1 = new ArrayList();
al1.add(1);
ArrayList al2 = new ArrayList();
al2.add("hello");
//int型链表和string型链表,结果为true
System.out.p...
分类:
编程语言 时间:
2014-05-03 22:02:53
阅读次数:
376
Dividing
Time Limit: 1000MS
Memory Limit: 10000K
Total Submissions: 57229
Accepted: 14680
Description
Marsha and Bill own a collection of marbles. They want to spli...
分类:
其他好文 时间:
2014-05-03 21:52:18
阅读次数:
253
A Star not a Tree?
Time Limit: 1000MS
Memory Limit: 65536K
Total Submissions: 3272
Accepted: 1664
Description
Luke wants to upgrade his home computer network from 10mbs...
分类:
其他好文 时间:
2014-05-03 21:31:49
阅读次数:
417
String Problem
Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)
Total Submission(s): 1442 Accepted Submission(s): 645
Problem Description
Give you a str...
分类:
其他好文 时间:
2014-05-03 21:28:56
阅读次数:
289
Tickets
Time Limit : 2000/1000ms (Java/Other) Memory Limit : 65536/32768K (Java/Other)
Total Submission(s) : 4 Accepted Submission(s) : 2
Font: Times New Roman | Verdana | Georgia
Font Size: ←...
分类:
其他好文 时间:
2014-05-03 21:16:19
阅读次数:
360
EXOCENTER OF A TRIANGLE
Time Limit: 1000MS
Memory Limit: 10000K
Total Submissions: 3209
Accepted: 1259
Description
Given a triangle ABC, the Extriangles of ABC are cons...
分类:
其他好文 时间:
2014-05-03 21:14:28
阅读次数:
340
[root@server254java]#vimOstrich.java//注意文件名必须是这个,因为下面代码中只有Ostrich是public修饰符。我们要明白public的含义classBird
{
publicvoidFly()
{
System.out.println("IambirdIcanfly");
}
}
publicclassOstrichextendsBird
{
publicvoidFly()
{
System.out.p..
分类:
编程语言 时间:
2014-05-03 20:47:18
阅读次数:
366