模拟
文章平均质量分 87
kzzhr
蒟蒻小小鸟
展开
-
HDOJ – 2043 密码
题目地址:http://acm.hdu.edu.cn/showproblem.php?pid=2043最基础的模拟题目,只要按照题目给出的要求进行判断即可。代码如下:#include#includeusing namespace std;const string s="~!@#$%^";string ss;int n;int yes(string a){ if (a.原创 2012-11-22 19:17:42 · 756 阅读 · 0 评论 -
USACO Section 1.2.5 Palindromic Squares
题目Palindromic SquaresRob KolstadPalindromes are numbers that read the same forwards as backwards. The number 12321 is a typical palindrome.Given a number base B (2 <= B <= 20 base 10原创 2013-03-11 18:15:41 · 944 阅读 · 0 评论 -
USACO Section 1.2.3 Transformations
题目TransformationsA square pattern of size N x N (1 <= N <= 10) black and white square tiles is transformed into another square pattern. Write a program that will recognize the minimum原创 2013-03-11 16:04:47 · 1009 阅读 · 0 评论 -
USACO Section 1.2.4 Name That Number
题目Name That NumberAmong the large Wisconsin cattle ranchers, it is customary to brand cows with serial numbers to please the Accounting Department. The cow hands don't appreciate the a原创 2013-03-05 13:20:17 · 1121 阅读 · 0 评论 -
USACO Section 1.1.7 Broken Necklace
题目 (由于USACO在外部无法直接访问题库,所以把题目贴上,可以通过上面的目录跳过)Broken NecklaceYou have a necklace of N red, white, or blue beads (3 1 2 1 2原创 2013-03-04 21:58:18 · 723 阅读 · 0 评论 -
USACO Section 1.3.6 Prime Cryptarithm
题目Prime CryptarithmThe following cryptarithm is a multiplication problem that can be solved by substituting digits from a specified set of N digits into the positions marked with *. If原创 2013-05-22 11:07:06 · 1095 阅读 · 0 评论 -
POJ 1017 Packets 悼念死去的模拟
题目链接:原创 2014-07-18 18:51:34 · 991 阅读 · 0 评论