http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemId=1317
给出一个n*m的矩阵(n
构造出转移矩阵,上一行向下一行的转移矩阵,因为m
因为n特别大,要用到大数。我存矩阵的时候开始定义的大数类,一直T,改成了int型才A,1s+,难道大数类这么慢么,5s都过不了。
import java....
分类:
其他好文 时间:
2014-10-10 23:26:14
阅读次数:
230
Nice Patterns Strike Back
Time Limit: 20000/10000MS (Java/Others)Memory Limit: 128000/64000KB (Java/Others)
SubmitStatisticNext
Problem
Problem Description
You might have noticed t...
分类:
其他好文 时间:
2014-10-10 10:01:55
阅读次数:
188
时间限制:0.5s空间限制:6M题意: 给出长n(n#include #include using namespace std;struct Mat { int mat[100][100];} mx;int pow[109];int n, m, mod, len;Mat operator ...
分类:
其他好文 时间:
2014-10-09 13:21:33
阅读次数:
183
1.创建项目aboutgreybox2.添加图片p_w_picpaths0.jpg1.jpg3.添加GreyBox支持greybox4.缩写jsp文件index.jsp<ahref="p_w_picpaths/0.jpg"rel="gb_p_w_picpathset[nice_pics]"title="我的相册"><imgalt=""src="p_w_picpaths/0.jpg"></a><ahref="p_w_picpath..
分类:
其他好文 时间:
2014-10-09 02:55:18
阅读次数:
155
Hey all,I'm gonna explain you how make a self injecting program in C#.I hope you guys thinks its usefull and have a nice readingRequirements:Visual St...
分类:
其他好文 时间:
2014-10-07 16:53:43
阅读次数:
297
Nice Sequence
Time Limit: 12000/6000MS (Java/Others)Memory Limit: 128000/64000KB (Java/Others)
SubmitStatisticNext
Problem
Problem Description
Let us consider the sequence a1, a2,....
分类:
其他好文 时间:
2014-10-07 14:42:14
阅读次数:
234
Problem A
Make Palindrome
Input: standard input
Output: standard output
Time Limit: 8 seconds
By definition palindrome is a string which is not changed when reversed. "MADAM" is a nice example...
分类:
其他好文 时间:
2014-10-07 12:44:13
阅读次数:
176
Nice SequenceTime Limit:12000/6000MS (Java/Others)Memory Limit:128000/64000KB (Java/Others)Problem Description Let us consider the sequence a1,a2,.......
分类:
其他好文 时间:
2014-10-07 00:49:02
阅读次数:
307
题目链接:http://115.28.76.232/problem?pid=1427
Nice Sequence
Time Limit: 12000/6000MS (Java/Others)Memory Limit: 128000/64000KB (Java/Others)
SubmitStatisticNext
Problem
Problem Descri...
分类:
其他好文 时间:
2014-10-06 21:18:20
阅读次数:
273
最近要跑菠萝整个基因组的ahrd, 要做大量的blast, 但是恰好有个同学在使用cpu, 我的任务是比较重要的,所以想让cpu优先跑我的进程。优先值(值越小级别越高) = 优先系数(不可更改) + nice值(可手动更改)nice值的范围是-20到19所以想调整成最高优先级的话,将nice值设为-...
分类:
其他好文 时间:
2014-10-03 20:15:55
阅读次数:
172