Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 9d0c88c

Browse files
solve-PHPAtcoder
1 parent c2401c7 commit 9d0c88c

File tree

2 files changed

+15
-14
lines changed

2 files changed

+15
-14
lines changed

‎.idea/workspace.xml

Lines changed: 5 additions & 14 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎Atcoder/PHP/218.ABC/B.php

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<?php
2+
3+
$number = explode("", fgets(STDIN));
4+
$change = array_flip($number);
5+
6+
$alphabet = ["a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z"];
7+
8+
foreach($change as $key => $value) {
9+
echo $alphabet[$key-1];
10+
}

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /