文件名称:code
-
所属分类:
- 标签属性:
- 上传时间:2014-02-23
-
文件大小:870byte
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
将输入的字符串(字符串仅包含小写字母‘a’到‘z’),按照如下规则,
循环转换后输出:a->b,b->c,…,y->z,z->a;若输入的字符串连续出现两个字母相同时,
后一个字母需要连续转换2次。例如:aa 转换为 bc,zz 转换为 ab;当连续相同字母超过两个时,
第三个出现的字母按第一次出现算。-The input string (string contains only lowercase letters ' a' to ' z' ), in accordance with the following rules, the cycle conversion output: a-> b, b-> c, ..., y-> z, z-> a If the input string two consecutive letters are the same, the letter needs to convert two consecutive times. For example: aa convert bc, zz converted to ab When more than two consecutive identical letters, the third letter that appears the first time by the operator.
循环转换后输出:a->b,b->c,…,y->z,z->a;若输入的字符串连续出现两个字母相同时,
后一个字母需要连续转换2次。例如:aa 转换为 bc,zz 转换为 ab;当连续相同字母超过两个时,
第三个出现的字母按第一次出现算。-The input string (string contains only lowercase letters ' a' to ' z' ), in accordance with the following rules, the cycle conversion output: a-> b, b-> c, ..., y-> z, z-> a If the input string two consecutive letters are the same, the letter needs to convert two consecutive times. For example: aa convert bc, zz converted to ab When more than two consecutive identical letters, the third letter that appears the first time by the operator.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
code/
code/main.cpp
code/main.cpp
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.