摘要: 2145: 悄悄话 Description 在这个有话不直说的年代,密码学越来越被广泛接受。我们引用经典的“凯撒密码”。在英文中,凯撒加密只对26个字母生效(分大小写)我们按照a到z来排字母。凯撒加密的原理就是把原文的每一个字母都按顺序往后移K位。这个K将被作为密钥。(’a’往后移变成’b’,’z’ 阅读全文
posted @ 2016-05-04 21:52 神犇(shenben) 阅读(682) 评论(0) 推荐(0) 编辑
摘要: F - Power Strings Time Limit:3000MS Memory Limit:65536KB 64bit IO Format:%I64d & %I64u Submit Status Practice POJ 2406 F - Power Strings Submit Status 阅读全文
posted @ 2016-05-04 21:49 神犇(shenben) 阅读(192) 评论(0) 推荐(0) 编辑
摘要: E - Oulipo Time Limit:1000MS Memory Limit:65536KB 64bit IO Format:%I64d & %I64u Submit Status Practice POJ 3461 Description The French author Georges 阅读全文
posted @ 2016-05-04 21:48 神犇(shenben) 阅读(509) 评论(0) 推荐(0) 编辑
摘要: D - Palindrome Time Limit:15000MS Memory Limit:65536KB 64bit IO Format:%I64d & %I64u Submit Status Practice POJ 3974 Description Andy the smart comput 阅读全文
posted @ 2016-05-04 21:46 神犇(shenben) 阅读(298) 评论(0) 推荐(0) 编辑
摘要: A - 487-3279 Time Limit:2000MS Memory Limit:65536KB 64bit IO Format:%I64d & %I64u Submit Status Practice POJ 1002 Description Businesses like to have 阅读全文
posted @ 2016-05-04 21:44 神犇(shenben) 阅读(232) 评论(0) 推荐(0) 编辑
摘要: G - 食物链 Time Limit:1000MS Memory Limit:10000KB 64bit IO Format:%I64d & %I64u Submit Status Practice POJ 1182 Description 动物王国中有三类动物A,B,C,这三类动物的食物链构成了有 阅读全文
posted @ 2016-05-04 21:41 神犇(shenben) 阅读(212) 评论(0) 推荐(0) 编辑
摘要: F - Ubiquitous Religions Time Limit:5000MS Memory Limit:65536KB 64bit IO Format:%I64d & %I64u Submit Status Practice POJ 2524 Description 当今世界有很多不同的宗教 阅读全文
posted @ 2016-05-04 21:39 神犇(shenben) 阅读(211) 评论(0) 推荐(0) 编辑
摘要: D - 统计难题 Time Limit:2000MS Memory Limit:65535KB 64bit IO Format:%I64d & %I64u Submit Status Practice HDU 1251 Description Ignatius最近遇到一个难题,老师交给他很多单词(只 阅读全文
posted @ 2016-05-04 21:35 神犇(shenben) 阅读(197) 评论(0) 推荐(0) 编辑
摘要: B - 敌兵布阵 Time Limit:1000MS Memory Limit:32768KB 64bit IO Format:%I64d & %I64u Submit Status Practice HDU 1166 Description C国的死对头A国这段时间正在进行军事演习,所以C国间谍头 阅读全文
posted @ 2016-05-04 21:33 神犇(shenben) 阅读(162) 评论(0) 推荐(0) 编辑
摘要: A - Train Problem I Time Limit:1000MS Memory Limit:32768KB 64bit IO Format:%I64d & %I64u Submit Status Practice HDU 1022 Description As the new term c 阅读全文
posted @ 2016-05-04 21:31 神犇(shenben) 阅读(239) 评论(0) 推荐(0) 编辑
摘要: 题目传送:http://codevs.cn/problem/1082/ 1082 线段树练习 3 时间限制: 3 s 空间限制: 128000 KB 题目等级 : 大师 Master 题解 题目传送:http://codevs.cn/problem/1082/ 1082 线段树练习 3 题目传送:h 阅读全文
posted @ 2016-05-04 20:47 神犇(shenben) 阅读(489) 评论(0) 推荐(0) 编辑
摘要: 题目传送:http://codevs.cn/problem/1081/ 1081 线段树练习 2 时间限制: 1 s 空间限制: 128000 KB 题目等级 : 大师 Master 题解 题目传送:http://codevs.cn/problem/1081/ 1081 线段树练习 2 题目传送:h 阅读全文
posted @ 2016-05-04 20:44 神犇(shenben) 阅读(375) 评论(0) 推荐(1) 编辑
摘要: 试题传送:http://codevs.cn/problem/1080/ 1080 线段树练习 时间限制: 1 s 空间限制: 128000 KB 题目等级 : 钻石 Diamond 题解 试题传送:http://codevs.cn/problem/1080/ 1080 线段树练习 试题传送:http 阅读全文
posted @ 2016-05-04 20:39 神犇(shenben) 阅读(584) 评论(0) 推荐(0) 编辑
摘要: Cow Sorting Time Limit: 2000MS Memory Limit: 65536K Total Submissions: 6750 Accepted: 2633 Description Farmer John's N (1 ≤ N ≤ 10,000) cows are lined 阅读全文
posted @ 2016-05-04 15:35 神犇(shenben) 阅读(670) 评论(0) 推荐(0) 编辑
摘要: 暴力 代码 就不粘了~~ 1、 2、 3.费马小定理 阅读全文
posted @ 2016-05-04 14:38 神犇(shenben) 阅读(574) 评论(0) 推荐(0) 编辑