
字符串 - 普通
Floraqiu
有志者事竟成,破釜沉舟,百二秦关终属楚。
苦心人天不负,卧薪尝胆,三千越甲可吞吴。
展开
-
HDU-2030 汉字统计
HDU-2030 汉字统计 Problem Description 统计给定文本文件中汉字的个数。 Input 输入文件首先包含一个整数n,表示测试实例的个数,然后是n段文本。 Output 对于每一段文本,输出其中的汉字的个数,每个测试实例的输出占一行。 [Hint:]从汉字机内码的特点考虑~ Sample Input 2 WaHaHa原创 2017-09-07 17:00:03 · 311 阅读 · 0 评论 -
【递推】【巧妙模拟】【思维】ZOJ 1633 Big String 【拼接两个字符串】
【递推】【巧妙模拟】【思维】ZOJ 1633 Big String 【拼接两个字符串】 We will construct an infinitely long string from two short strings: A = “^__^” (four characters), and B = “T.T” (three characters). Repeat the following st...原创 2018-07-28 13:21:59 · 315 阅读 · 0 评论