paiza > paiza online hackathon5

俺の許婚と幼なじみが修羅場すぎる

Control the whole story at your program skill!!

3名様に当たる!桃屋の商品6本詰め合わせセット 1名様に当たる!Intel Edison Kit for Arduino

Share
幼なじみ 佐倉ミナミ
許婚 新田レナ
  • 「あの…」「はい?」「すみません…秋山達也さんですよね?初めまして。私、新田レナと申します・・・」「え゛え゛え゛え゛え゛!?」
  • 「え、本物!?レナたんがなんでここに!?」「あっ、私、達也さんの許婚なんです。」「はぁ!?」「あっ、海外にいらっしゃる達也さんのご両親からお手紙預かってます」
親父…、許婚ってどういう事だよ。嬉しいじゃないか!

Rena is my affianced bride? I have to decode this letter!

The idol Rena Nitta is my affianced bride?
She said she is keeping a letter from my parents oversea. but it’s written in code....I can’t read it unless I crack the code! What on Earth will become of me?!!
Tatsuya opens the letter and found it's encrypted and difficult to understand. The beginning of the letter starts with a hint: “ODD,” written in Roman letters. And followed by encrypted letters below:
RieanbaC Biwsu
Looking closely and you realize the meaning behind “ODD” ? it refers to odd numbers. Read the odd-numbered letters in the phrase and you will read:
Rena is
There is more encrypted letters. Use given string S from standard input, and decode encrypted letters and print the results to standard output.
Show less
ミッション1

Please decipher cipher on a letter.
Story changes depends on your programming!

Input value

Input is applied in the following format:
S
S is a string composed of alphabet letters and spaces of length N.

Conditions

The input values have the following constraints for all test cases.
1 ≦ N ≦ 100

Expected output

The output should be the decoded text.
Please add a new line at the end, and do not include any unnecessary characters or empty lines.
Input example 1
PXaeiTzVap
Output example 1
Paiza
Input example 2
abcdefg hijklmn
Output example 2
aceghjln

Answer

Please enter and submit the code that solves the problem above using the text box below.
You can use the following languages: Java, PHP, Ruby, Python2, Python3, Perl, C, C++, C#, JavaScript, Objective-C, Scala, Go, Swift, Kotlin.

To find out about methods for reading values from standard input, please refer to the sample codes shown in the pages below:

Let's take the challenge!!Choose your best programming language and write some code!

Select language

Select your best programming language!

Code execution result

Nickname (Required)
You can use letters and numbers. This nickname may be displayed on our site when we publish your codes as sample solutions, or when we announce the prize winners.
email (Required)
Your registered e-mail address will not be used outside of Paiza Online Hackathon.
Once you submit your code, we will e-mail your results page.
Country to represent (Required)

You can choose a girl you like with your code!?

If it were you, who would you choose? Childhood friend, Minami or affianced one, Rena!?
Fate of Tatsuya changes Depend on outcome of programming challange, Write a smart code with your favorite language(Java,C,C++C#,PHP,Ruby,Python,Perl,JavaScript). Your code will be tested by multiple test cases. You will get a score based on the number of successful answer, and running time.

*We use only one test case for one code execution.

There areseveral programming challangesfor the story. Complete all challanges!

  • POH is a public programming challenge. There is no time limit.
  • You can try these challenges as many times as you want.
  • You can publish your code in public. (Blog, Twitter, Facebook, GitHub)
Do you choose either?

How to play

STEP1 Write code

STEP2 Compile and test the code

STEP3 Submit

STEP4 Then, we will show your score!

STEP5 Fate of Tatsuya changes Depend on outcome of your programming challange.
下へ
参加者の中から抽選で3名様ねるねるねるね10個セットプレゼント!!
参加者の中から抽選で1名様にRaspberry-Piプレゼント!!
  • *Your code may published to the others with your nickname.

Event schedule,

Schedule

Submission Period
April 14 (Thu) - May 19 (Thu)
Examination period
May 20 (Wed) - May 26 (Thu)
Result announcement
May 27 (Wed)

Prize

6 sets of Momoya "Gohandesuyo" for 3.  Intel Edison Kit for Arduino for 1. Winner will be chosen by lottery and only Japanese residents are eligible for the prize.

Events Terms

  •  In this campaign, with problems open to the public, you can take the test without membership registration. However, when submitting, it is assumed that you are familiar with the following important points.
  • *Important Points*
  • (1) Membership registration is not required, but it is necessary to register an email address. However, this company will not use this email address for any other purposes outside of this campaign.
  • (2) Existing members may also take the test in this campaign, but as this has no effect on personal skill ranks, please note this in advance.
  • (3) The copyright for submitted code belongs to the examinee, but this company will make that code open to the public on our website, SNS, etc., and may use it freely. This complies fully with the rules of use, in Article 5, section 2.
  • (4) As there may the case that codes submitted may not be completely preserved, they should be backed personally based on the needs of the examinee, and we ask for the appropriate support.

Our clients

If you register (login) for paiza, you can download wallpapers!

Then user registration (login) can download 5 kinds of wallpaper in paiza!

Wallpaper 1
Wallpaper 2
Wallpaper 3

無料でプログラミングスキルチェックを試してみる(登録は10秒!)
すぐにプログラミング力をはかるスキルチェック問題にチャレンジできます。(想定解答時間20分)

会員登録(無料)

Graph Sum

Top Select Ratio Title

Top Select Ratio Description

Country

Minami Select Ratio

Rena Select Ratio

日本

50 %

50 %

United States

47 %

53 %

China

47 %

53 %

Korea

50 %

50 %

France

67 %

33 %

Thailand

43 %

57 %

Indonesia

49 %

51 %

Italy

0 %

100 %

Russian

33 %

67 %

Malaysia

61 %

39 %

Viet Nam

33 %

67 %

Taiwan

49 %

51 %

Canada

61 %

39 %

Sweden

60 %

40 %

Finland

50 %

50 %

Singapore

53 %

47 %

Philippines

53 %

47 %

Hong Kong

39 %

61 %

Mexico

57 %

43 %

Pakistan

100 %

0 %

other

46 %

54 %

Germany

50 %

50 %

India

100 %

0 %

Saudi Arabia

40 %

60 %

Israel

50 %

50 %

(2015/05/20Sum Update

Language Summary

Language Summary Description

Programming Language

Sum Count

Minami Select

Rena Select

Java

3021 Submit

342 Select

301 Select

PHP

1706 Submit

179 Select

196 Select

Ruby

1608 Submit

207 Select

196 Select

Python2

1970 Submit

234 Select

217 Select

Perl

347 Submit

40 Select

46 Select

C

2130 Submit

201 Select

190 Select

C++

2833 Submit

278 Select

287 Select

C#

1573 Submit

175 Select

185 Select

JavaScript

800 Submit

59 Select

68 Select

Objective-C

22 Submit

2 Select

3 Select

Scala

133 Submit

14 Select

22 Select

Go

136 Submit

14 Select

16 Select

Haskell(Beta)

214 Submit

20 Select

40 Select

CoffeeScript(Beta)

7 Submit

1 Select

1 Select

Bash(Beta)

73 Submit

17 Select

16 Select

Erlang(Beta)

22 Submit

4 Select

4 Select

R(Beta)

31 Submit

1 Select

1 Select

COBOL(Beta)

5 Submit

3 Select

1 Select

VB(Beta)

23 Submit

2 Select

3 Select

F#(Beta)

30 Submit

4 Select

7 Select

Python3

319 Submit

42 Select

39 Select

Clojure(Beta)

71 Submit

7 Select

12 Select

D(Beta)

44 Submit

10 Select

5 Select

(2015/05/20Sum Update

ページの先頭へ戻る