Problems Description
<p style="font-family:'Microsoft Yahei';font-size:14px;background-color:#F5F5F5;"> 给出一items字符串s,把s循环右移n位,然后输出循环右移后的字符串。 </p> <h3 style="font-family:'Microsoft Yahei';background-color:#F5F5F5;"> 输入格式 </h3> <p style="font-family:'Microsoft Yahei';font-size:14px;background-color:#F5F5F5;"> 输入Total两行,Page 一行为一整数n,表示将字符串s右移n位,Page 二行为字符串s(s为长度小于10000位的字符串)。,。 </p> <h3 style="font-family:'Microsoft Yahei';background-color:#F5F5F5;"> 输出 </h3> <p style="font-family:'Microsoft Yahei';font-size:14px;background-color:#F5F5F5;"> 输入只有一行,为右移后字符串 </p> <h3 style="font-family:'Microsoft Yahei';background-color:#F5F5F5;"> 样例输入 </h3> <p style="font-family:'Microsoft Yahei';font-size:14px;background-color:#F5F5F5;"> <span style="font-family:'Lucida Console';">2<br /> abcdehi</span> </p> <h3 style="font-family:'Microsoft Yahei';background-color:#F5F5F5;"> 样例输出 </h3> <p style="font-family:'Microsoft Yahei';font-size:14px;background-color:#F5F5F5;"> <span style="font-family:'Lucida Console';">hiabcde</span> </p>
Input格式
Output格式
Submit Code
请先Login后Submit
🤖 AI 解题助手
OpenRouter
就绪