Attack of the Giant n-pusTime Limit: 2000 MSMemory Limit: 65536 KTotal Submit: 71(6 users)Total Accepted: 8(5 users)Rating:Special Judge:NoDescription...
分类:
其他好文 时间:
2014-09-19 09:55:45
阅读次数:
236
Problem Description
Today is the 10th Annual of “September 11 attacks”, the Al Qaeda is about to attack American again. However, American is protected by a high wall this time, which can be treatin...
分类:
其他好文 时间:
2014-09-18 00:52:23
阅读次数:
268
Attack
Time Limit: 5000/3000 MS (Java/Others) Memory Limit: 65768/65768 K (Java/Others)
Total Submission(s): 1890 Accepted Submission(s): 554
Problem Description
Today is the 10th Annual...
分类:
其他好文 时间:
2014-09-17 23:20:12
阅读次数:
301
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=4031
Attack
Time Limit: 5000/3000 MS (Java/Others) Memory Limit: 65768/65768 K (Java/Others)
Total Submission(s): 1890 Accepted Submission(s):...
分类:
其他好文 时间:
2014-09-17 16:52:42
阅读次数:
186
天河2号相信大家都知道啦,2013和2014TOP500中都位列榜首,是目前最快的超算,比第2名泰坦-Titan快1倍,天河2号是使用什么样的架构获得此能力的呢,下面我们来了解一下。天河二号的型号为TH-IVB-FEP,使用中央处理器及协处理器的运算架构布局:天河二号共有16,000个运算节点,..
分类:
其他好文 时间:
2014-09-12 02:32:43
阅读次数:
295
The n-queens puzzle is the problem of placing n queens on an n×n chessboard such that no two queens attack each other.这是一道NP的题目,解题套路与Sudoku Solver类似,类...
分类:
其他好文 时间:
2014-09-11 11:05:21
阅读次数:
224
N-Queens
Total Accepted: 14054 Total
Submissions: 54127My Submissions
The n-queens puzzle is the problem of placing n queens on an n×n chessboard such that no two queens attack each other...
分类:
其他好文 时间:
2014-09-10 09:39:00
阅读次数:
272
ZOJ 2587 Unique Attack
链接:http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemId=1587
题意:N 台超级计算机连成一个网络。M 对计算机之间用光纤直接连在一起,光纤的连接是双向的。数据可以直接在有光纤直接连接的计算机之间传输,也可以通过一些计算机作为中转来传输。
有一群恐怖分子计划攻击网络。他...
分类:
其他好文 时间:
2014-09-06 21:19:53
阅读次数:
300
题目来源:URAL 1141. RSA Attack
题意:给你e n c 并且有m^e = c(mod n) 求 m
思路:首先学习RSA算法
here
过程大致是
1.发送的信息是m
2.随机选择两个质数 p和q, n = q*p, n的欧拉函数值φ(n)= (p-1)*(q-1)这个需要证明
3.选择一个与φ(n)互质的并且小于φ(n)的数e, 计算c = m^e(mod...
分类:
其他好文 时间:
2014-08-31 15:52:31
阅读次数:
262