<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Algorithm on sdvcrx - A tech blog</title><link>https://www.sdvcrx.com/tags/algorithm/</link><description>Recent content in Algorithm on sdvcrx - A tech blog</description><generator>Hugo</generator><language>zh</language><lastBuildDate>Mon, 17 Nov 2014 20:03:27 +0800</lastBuildDate><atom:link href="https://www.sdvcrx.com/tags/algorithm/index.xml" rel="self" type="application/rss+xml"/><item><title>翻转字符串与翻手算法</title><link>https://www.sdvcrx.com/post/2014-11-17-rotate-string/</link><pubDate>Mon, 17 Nov 2014 20:03:27 +0800</pubDate><guid>https://www.sdvcrx.com/post/2014-11-17-rotate-string/</guid><description>&lt;h2 id="字符串循环左移"&gt;字符串循环左移&lt;/h2&gt;
&lt;p&gt;输入一个字符串和一个非负整数N，要求将字符串循环左移N次。&lt;/p&gt;
&lt;p&gt;输入格式：
输入在第1行中给出一个不超过100个字符长度的、以回车结束的非空字符串；第2行给出非负整数N。&lt;/p&gt;</description></item></channel></rss>