摘要: 跨越千年的RSA算法【转】http://www.matrix67.com/blog/archives/5100数论,数学中的皇冠,最纯粹的数学。早在古希腊时代,人们就开始痴迷地研究数字,沉浸于这个几乎没有任何实用价值的思维游戏中。直到计 算机诞生之后,几千年来的数论研究成果突然有了实际的应用,这个过... 阅读全文
posted @ 2015-05-28 14:10 ALXPCUN 阅读(203) 评论(0) 推荐(0) 编辑
摘要: 【转】http://blog.chinaunix.net/uid-21411227-id-1826986.html一.逻辑运算符 1.& 位与运算 1) 运算规则 位与运算的实质是将参与运算的两个数据,按对应的二进制数逐位进行逻辑与运算。例如:int型常量4和7进行位与运算的运算过程如下:4=0... 阅读全文
posted @ 2015-05-28 11:54 ALXPCUN 阅读(176) 评论(0) 推荐(0) 编辑
摘要: Time Limit: 1000MSMemory Limit: 30000KTotal Submissions: 5158Accepted: 2844DescriptionThe ICPC committee would like to have its meeting as soon as pos... 阅读全文
posted @ 2015-05-28 11:41 ALXPCUN 阅读(115) 评论(0) 推荐(0) 编辑
摘要: Time Limit: 1000MSMemory Limit: 65536KTotal Submissions: 13500Accepted: 6968DescriptionBulls are so much better at math than the cows. They can multip... 阅读全文
posted @ 2015-05-28 11:22 ALXPCUN 阅读(112) 评论(0) 推荐(0) 编辑
摘要: Time Limit: 1000MSMemory Limit: 65536KTotal Submissions: 10333Accepted: 6118DescriptionFor any even number n greater than or equal to 4, there exists ... 阅读全文
posted @ 2015-05-28 11:02 ALXPCUN 阅读(142) 评论(0) 推荐(0) 编辑
摘要: Time Limit: 1000MSMemory Limit: 65536KTotal Submissions: 33998Accepted: 19786DescriptionFJ is surveying his herd to find the most average cow. He want... 阅读全文
posted @ 2015-05-28 10:18 ALXPCUN 阅读(115) 评论(0) 推荐(0) 编辑
摘要: Time Limit: 1000MSMemory Limit: 65536KTotal Submissions: 14681Accepted: 5153DescriptionStan and Ollie are playing a guessing game. Stan thinks of a nu... 阅读全文
posted @ 2015-05-28 10:13 ALXPCUN 阅读(211) 评论(0) 推荐(0) 编辑
摘要: Time Limit: 5000MSMemory Limit: 65536KTotal Submissions: 9175Accepted: 5548DescriptionThe look and say sequence is defined as follows. Start with any ... 阅读全文
posted @ 2015-05-28 10:03 ALXPCUN 阅读(167) 评论(0) 推荐(0) 编辑
摘要: Time Limit: 1000MSMemory Limit: 10000KTotal Submissions: 25736Accepted: 8605DescriptionThe digital root of a positive integer is found by summing the ... 阅读全文
posted @ 2015-05-28 09:21 ALXPCUN 阅读(106) 评论(0) 推荐(0) 编辑
摘要: Time Limit: 1000MSMemory Limit: 10000KTotal Submissions: 16053Accepted: 8786DescriptionThe Antique Comedians of Malidinesia prefer comedies to tragedi... 阅读全文
posted @ 2015-05-28 09:01 ALXPCUN 阅读(172) 评论(0) 推荐(0) 编辑
摘要: Time Limit: 1000MSMemory Limit: 131072KTotal Submissions: 9915Accepted: 6276DescriptionOur vicar raised money to have the church clock repaired for se... 阅读全文
posted @ 2015-05-28 08:19 ALXPCUN 阅读(116) 评论(0) 推荐(0) 编辑
摘要: Time Limit: 1000MSMemory Limit: 10000KTotal Submissions: 10509Accepted: 6786DescriptionThere is a board with 100 * 100 grids as shown below. The left-... 阅读全文
posted @ 2015-05-28 08:01 ALXPCUN 阅读(135) 评论(0) 推荐(0) 编辑
摘要: Time Limit: 1000MSMemory Limit: 10000KTotal Submissions: 17778Accepted: 10871DescriptionEva的家庭作业里有很多数列填空练习。填空练习的要求是:已知数列的前四项,填出第五项。因为已经知道这些数列只可能是等差或等比... 阅读全文
posted @ 2015-05-28 07:49 ALXPCUN 阅读(164) 评论(0) 推荐(0) 编辑
摘要: Time Limit: 1000MSMemory Limit: 30000KTotal Submissions: 29241Accepted: 12136DescriptionYou have devised a new encryption technique which encodes a me... 阅读全文
posted @ 2015-05-28 07:41 ALXPCUN 阅读(149) 评论(0) 推荐(0) 编辑