摘要:
DescriptionProblems in Computer Science are often classified as belonging to a certain class of problems (e.g., NP, Unsolvable, Recursive). I... 阅读全文
摘要:
Problem Description 统计给定文本文件中汉字的个数。Input 输入文件首先包含一个整数n,表示测试实例的个数,然后是n段文本。Output 对于每一段文本,输出其中的汉字的个数,每个测试实例的输出占一行。[Hint:]从汉字机内码的特点考虑~Sample Inp... 阅读全文
摘要:
Problem Description There is a rectangular room, covered with square tiles. Each tile is colored either red or black. A man is standing on a ... 阅读全文