Git Product home page Git Product logo

one_commits__samples__transfering_characters_to_back's Introduction

one_commits__Samples__transfering_characters_to_back

This is a sample so that I can commit this to the GitHub.

1. Question

半角英数字で構成された文字列Sが与えられる。このSに以下の処理を行い。その結果の文字列を表示するプログラムを組め。 ただし、異常系については考慮しないものとする。

  1. 文字列Sの先端を末尾に持っていく
  2. 1をN回繰り返す

Inputs 1の場合、以下のようになる。

  1. S' = { a, b, c, d }
  2. S' = { b, c, d, a }
  3. S' = { c, d, a, b }

2. Conditions

3≦|S|≦20

3. Inputs and Outputs

3.1. Inputs

N
S

一行目に回数Nが与えられ、二行目に文字列Sが与えられる。

3.2. Outputs

S'

処理を施したS'を表示する。

3.3. Examples

3.3.1. Inputs 1

2
abcd

3.3.2. Outputs 1

cdab

※ Inputs 1 は input1.txt, Output 1 は output1.txt に記述されているとする。

one_commits__samples__transfering_characters_to_back's People

Contributors

yor-jihons avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.