![](https://img-blog.csdnimg.cn/20201014180756754.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
编程基础练习
文章平均质量分 62
丿Flydream丶
这个作者很懒,什么都没留下…
展开
-
自学day1:字符串的移位旋转
问题描述:给定一个字符串,将字符串开头的m个字符串移到尾部例如输入:abcdefg 3输出:defgabc原创 2015-12-17 12:31:51 · 248 阅读 · 0 评论 -
day 1提高:I am a student转换为student a am I
问题描述:输入一串任意一局英语将其单词翻转例如:输入:I am a student输出:student a am I思路:(1)首先将整个句子反转,即I am a student→tneduts a ma I (2)将每个单词逐个反转,即tneduts a ma I→student a am I#include#includevoid ExchangeS原创 2015-12-18 11:38:32 · 251 阅读 · 0 评论