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, Perl, Python, C, C#, and C++.

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.

Facebook

Twitter

Paiza is a coding career change site for IT/Web engineers.

Coding test supported languages

Expected coding period is 20 minutes! Supported languages are Java, C, C++, C#, PHP, Ruby, Python, Perl, and JavaScript.

Primary interview without document screening, Company inspection

Depending on you scores, you can skip document screening process and can have casual interview, a job offer may be possible by companies seeking workers. Until, applying, results are not reported to companies seeking workers.

Collected job offer tickets from the programmer’s perspective

The thorough collection of development techniques, development environment, tools used, method of evaluation and supervisor profiles necessary for job selection of engineers and programmers.

Automatic scoring

Checking code with several test cases, calculating scores by memory usage and execution speed. At the time of an interview, we will ask about the source code.

Problems are organized by 2 questions per elementary, intermediate, and advance levels.

Problems are organized by rank S,A,B,C,D. Problems can be worked on one at a time. The best algorythym in the time limit!

Possibility of a re-challenge

We update problems every week! It is possible to challenge problems of the same rank when updated. It is also optimum to practice skill-ups.

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

Summary chart

Country selection ratio counting

Ratio of MINAMI or RENA

Country

MINAMI route selection rate

RENA route selection rate

Jp 日本

50 %

50 %

Us United States

47 %

53 %

Cn China

47 %

53 %

Kr Korea

50 %

50 %

Fr France

67 %

33 %

Th Thailand

43 %

57 %

Id Indonesia

49 %

51 %

It Italy

0 %

100 %

Ru Russian

33 %

67 %

My Malaysia

61 %

39 %

Vn Viet Nam

33 %

67 %

Tw Taiwan

49 %

51 %

Ca Canada

61 %

39 %

Se Sweden

60 %

40 %

Fi Finland

50 %

50 %

Sg Singapore

53 %

47 %

Ph Philippines

53 %

47 %

Hk Hong Kong

39 %

61 %

Mx Mexico

57 %

43 %

Pk Pakistan

100 %

0 %

other

46 %

54 %

De Germany

50 %

50 %

In India

100 %

0 %

Sa Saudi Arabia

40 %

60 %

Il Israel

50 %

50 %

(2015/05/20Update)

Summary by language

The number of submissions, and the number of selection for each route.

Language

The number of submission

The number of MINAMI selected

The number of RENA selected

Java

3021 submission

342 select

301 select

PHP

1706 submission

179 select

196 select

Ruby

1608 submission

207 select

196 select

Python2

1970 submission

234 select

217 select

Perl

347 submission

40 select

46 select

C

2130 submission

201 select

190 select

C++

2833 submission

278 select

287 select

C#

1573 submission

175 select

185 select

JavaScript

800 submission

59 select

68 select

Objective-C

22 submission

2 select

3 select

Scala

133 submission

14 select

22 select

Go

136 submission

14 select

16 select

Haskell(Beta)

214 submission

20 select

40 select

CoffeeScript(Beta)

7 submission

1 select

1 select

Bash(Beta)

73 submission

17 select

16 select

Erlang(Beta)

22 submission

4 select

4 select

R(Beta)

31 submission

1 select

1 select

COBOL(Beta)

5 submission

3 select

1 select

VB(Beta)

23 submission

2 select

3 select

F#(Beta)

30 submission

4 select

7 select

Python3

319 submission

42 select

39 select

Clojure(Beta)

71 submission

7 select

12 select

D(Beta)

44 submission

10 select

5 select

(2015/05/20Update)

ページの先頭へ戻る