/*
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
Drainage Ditches
Time Limit: 1000MS
Memory Limit: 10000K
Total Submissions: 54766
Accepted: 20880
Description
Every time it rains on Farmer John's fields, a pond fo...
分类:
其他好文 时间:
2014-07-12 21:52:47
阅读次数:
225
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
在SharePoint开发中,你应该学会使用PowerShell管理SharePoint站点。SharePoint Management Shell是一个Windows PowerShell模块,你可以用它高效管理SharePoint 用户、站点、网站集和组织。...
分类:
Web程序 时间:
2014-07-12 18:56:17
阅读次数:
209
/*
H - A+B
Time Limit:1000MS Memory Limit:32768KB 64bit IO Format:%I64d & %I64u
Submit
Status
Practice
HDU 3787
Description
给定两个整数A和B,其表示形式是:从个位开始,每三位数用逗号","隔开。
现在请计算A+B的结果,并以正常形式输出。
I...
分类:
其他好文 时间:
2014-07-12 18:23:33
阅读次数:
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
这个题目是拓扑排序,因为边的数目非常大,所以普通的建图会爆内存,所以这里采用vector容器。
1:建完图后对入度为0的点加入队列,然后对整幅图进行扫描,得到每个点的位置。
2:要用一个数组存相对位置,所以不能只用一个变量存储,因为每次出队列只能有一个元素。。
2:用数组模拟果然比stl快一些。。。
题目链接:
哈哈 我在这里
题面:
Reward
Time Limit...
分类:
其他好文 时间:
2014-07-12 16:35:07
阅读次数:
292