Recently, researchers on Mars have discovered N powerful atoms. All of them are different. These atoms have some properties. When two of these atoms collide, one of them disappears and a lot of power i...
分类:
其他好文 时间:
2015-04-24 19:14:37
阅读次数:
116
2015.04.24,外语,读书笔记-《Word Power Made Easy》 12 “如何奉承朋友” SESSION 34
分类:
其他好文 时间:
2015-04-24 15:38:18
阅读次数:
115
题目传送:POJ - 2406
思路:就是利用kmp中next数组的特性来求最大周期的
AC代码:
#include
#include
#include
using namespace std;
const int maxn = 1000005;
char s[maxn];
int next[maxn];
int main() {
while(scanf(...
分类:
其他好文 时间:
2015-04-24 10:43:27
阅读次数:
130
解题报告 之 HOJ 2816 Power Line 最大流 二分...
分类:
其他好文 时间:
2015-04-24 09:05:28
阅读次数:
129
A power network consists of nodes (power stations, consumers and dispatchers) connected by power transport lines. A node u may be supplied with an amo...
分类:
其他好文 时间:
2015-04-24 00:49:43
阅读次数:
147
public class ArrayTest03{ /* Name:数组排序,冒泡法 Power by :Stuart Date:2015-4-23*/ public static void main(String args[]){ //定义一个integer数组...
分类:
编程语言 时间:
2015-04-23 23:29:03
阅读次数:
224
/*Name:数组循环化Power by StuartDate:2015-4-23*/public class ArrayTest02{ public static void main (String args[]){ int array[]=new int [10];...
分类:
编程语言 时间:
2015-04-23 23:18:18
阅读次数:
180
1 /* 2 Name:1-100所有奇数求和的程序 3 Power by Stuart 4 Date:2015-4-23 5 */ 6 7 8 public class DateTest01{ 9 10 public static void main(St...
分类:
编程语言 时间:
2015-04-23 23:03:26
阅读次数:
566
/* 自学java 九九乘法表 Power by Stuart Date: 2015.4.23 */public class Math { public static void main (String args[]){ for(int i=1;i<10;i+...
分类:
其他好文 时间:
2015-04-23 22:58:21
阅读次数:
107
2015.04.23,外语,读书笔记-《Word Power Made Easy》 12 “如何奉承朋友” SESSION 33
分类:
其他好文 时间:
2015-04-23 13:09:36
阅读次数:
135