Note: This article is available in Chinese only. 本文暂无英文版本。
View original
uva 1584 Circular Sequence (字符串处理)
Related
(BC 一周年)hdu 5311 Hidden String
·767 words·2 mins
http://acm.hdu.edu.cn/showproblem.php?pid=5311 题意:问能否从一个给定的字符串中拿出三个不相交的字串(原串可以有剩余),组成字符串“anniversary” 思路:暴力。
codeforces #519 A A. Multiplication Table (暴力)
·385 words·1 min
A. Multiplication Table
time limit per test
1 second
memory limit per test
256 megabytes
input
standard input
output
standard output
Let’s consider a table consisting of n rows and n columns. The cell located at the intersection of i-th row and j-th column contains number i × j. The rows and columns are numbered starting from 1.