【前言】话说好久没有写题解了。到暑假了反而忙。o(╯□╰)o
【原题】
2458: [BeiJing2011]最小三角形
Time Limit: 10 Sec Memory Limit: 128 MB
Submit: 574 Solved: 177
[Submit][Status]
Description
Xaviera现在遇到了一个有趣的问题。
平面上有N个点,X...
分类:
其他好文 时间:
2014-07-13 00:00:29
阅读次数:
302
/*
C - 堆栈A
Time Limit:1000MS Memory Limit:10000KB 64bit IO Format:%I64d & %I64u
Submit
Status
Practice
POJ 1363
Description
There is a famous railway station in PopPush City. Country there ...
分类:
其他好文 时间:
2014-07-12 23:56:36
阅读次数:
530
状态模式(state pattern) 未使用状态模式 详解本文地址: http://blog.csdn.net/caroline_wendy状态模式可以控制状态的转换, 未使用设计模式时, 程序会非常繁杂.具体方法:1. 状态转换/**
* @time 2014年7月11日
*/
package state;
/**
* @author C.L.Wang
*
*/
public cl...
分类:
其他好文 时间:
2014-07-12 23:32:37
阅读次数:
243
【前言】话说好久没有写题解了。到暑假了反而忙。o(╯□╰)o
【原题】
2458: [BeiJing2011]最小三角形
Time Limit: 10 Sec Memory Limit: 128 MB
Submit: 574 Solved: 177
[Submit][Status]
Description
Xaviera现在遇到了一个有趣的问题。
平面上有N个点,X...
分类:
其他好文 时间:
2014-07-12 23:08:35
阅读次数:
194
Drainage Ditches
Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)
Total Submission(s): 8574 Accepted Submission(s): 3991
Problem Description
Every tim...
分类:
其他好文 时间:
2014-07-12 21:41:44
阅读次数:
211
Lake Counting
Time Limit: 1000MS
Memory Limit: 65536K
Total Submissions: 19591
Accepted: 9848
Description
Due to recent rains, water has pooled in various places in...
分类:
其他好文 时间:
2014-07-12 19:31:32
阅读次数:
190
Problem Description:
Given a linked list, reverse the nodes of a linked list k at a time and return its modified list.
If the number of nodes is not a multiple of k then left-out nodes in the...
分类:
其他好文 时间:
2014-07-12 19:00:26
阅读次数:
235
【前言】话说好久没有写题解了。到暑假了反而忙。o(╯□╰)o
【原题】
2458: [BeiJing2011]最小三角形
Time Limit: 10 Sec Memory Limit: 128 MB
Submit: 574 Solved: 177
[Submit][Status]
Description
Xaviera现在遇到了一个有趣的问题。
平面上有N个点,X...
分类:
其他好文 时间:
2014-07-12 18:47:21
阅读次数:
190
Say you have an array for which the ith element is the price of a given stock on day i.
If you were only permitted to complete at most one transaction (ie, buy one and sell one share of the stock),...
分类:
其他好文 时间:
2014-07-12 17:34:34
阅读次数:
170
android提供了LocationManager来取得位置,用LocationListener来监听位置的变化
先做一些初始化工作:
/** latitude and longitude of current location*/
public static String mLat = "";
public static String mLon = "";
/** time out...
分类:
移动开发 时间:
2014-07-12 17:11:25
阅读次数:
248