摘要: Description将C程序代码中的双斜杠注释去掉。Input输入数据中含有一些符合C++语法的代码行。需要说明的是,为了方便编程,规定双斜杠注释内容不含有双引号,源程序中没空行。Output输出不含有双斜杠注释的C++代码,除了注释代码之外,原语句行格式不变。Sample Input//====... 阅读全文
posted @ 2014-11-23 20:23 NYNU_ACM 阅读(530) 评论(0) 推荐(0) 编辑
摘要: DescriptionAn encoding of a set of symbols is said to be immediately decodable if no code for one symbol is the prefix of a code for another symbol. W... 阅读全文
posted @ 2014-11-23 20:11 NYNU_ACM 阅读(165) 评论(0) 推荐(0) 编辑
摘要: Description输入一个句子(一行),将句子中的每一个单词翻转后输出Input输入有多行,每行不超过500个字符。单词之间以空格、逗号、双引号、分号、句号隔开。Output翻转每一个单词后的字符串Sample Inputhello worldab cd efSample Outputolleh... 阅读全文
posted @ 2014-11-23 19:49 NYNU_ACM 阅读(721) 评论(0) 推荐(0) 编辑
摘要: Descriptionn the modern time, Search engine came into the life of everybody like Google, Baidu, etc.Wiskey also wants to bring this feature to his ima... 阅读全文
posted @ 2014-11-23 19:38 NYNU_ACM 阅读(221) 评论(0) 推荐(0) 编辑
摘要: Description读入两个小于10000的正整数A和B,计算A+B.需要注意的是:A和B的每一位数字由对应的英文单词给出.Input测试输入包含若干测试用例,每个测试用例占一行,格式为"A + B =",相邻两字符串有一个空格间隔.当A和B同时为0时输入结束,相应的结果不要输出.Output对... 阅读全文
posted @ 2014-11-23 19:03 NYNU_ACM 阅读(152) 评论(0) 推荐(0) 编辑
摘要: Problem G: Keywords SearchTime Limit: 1 Sec Memory Limit: 128 MBSubmit: 10 Solved: 6[Submit][Status][Web Board] [Edit] [TestData]Descriptionn the mode... 阅读全文
posted @ 2014-11-23 18:48 NYNU_ACM 阅读(142) 评论(0) 推荐(0) 编辑
摘要: Problem A: A + BTime Limit: 1 Sec Memory Limit: 128 MBSubmit: 17 Solved: 10[Submit][Status][Web Board] [Edit] [TestData]Description读入两个小于10000的正整数A和B,... 阅读全文
posted @ 2014-11-23 18:41 NYNU_ACM 阅读(193) 评论(0) 推荐(0) 编辑