2015年10月26日
摘要: DescriptionProblems in Computer Science are often classified as belonging to a certain class of problems (e.g., NP, Unsolvable, Recursive). I... 阅读全文
posted @ 2015-10-26 19:01 cnxo 阅读(120) 评论(0) 推荐(0) 编辑
摘要: Problem Description 统计给定文本文件中汉字的个数。Input 输入文件首先包含一个整数n,表示测试实例的个数,然后是n段文本。Output 对于每一段文本,输出其中的汉字的个数,每个测试实例的输出占一行。[Hint:]从汉字机内码的特点考虑~Sample Inp... 阅读全文
posted @ 2015-10-26 18:55 cnxo 阅读(148) 评论(0) 推荐(0) 编辑
摘要: 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 ... 阅读全文
posted @ 2015-10-26 18:51 cnxo 阅读(124) 评论(0) 推荐(0) 编辑