Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /*
- Le mode de jeu est REVERSE : Vous n'avez pas accès à l'énoncé.
- Vous devez trouver quoi faire en observant les jeux de tests suivants :
- 01 Test 1
- Entrée:
- WHO AM I
- Sortie attendue:
- I AM WHO
- 02 Test 2
- Entrée:
- My.0name0is0Beedle0The0Bard
- 0
- Sortie attendue:
- Bard The Beedle is name My.
- 03 Test 3
- Entrée:
- need.#in#friend#a#got#you#bet#I#indeed.#friend#a#got#you#need,#in#friend#a#got#You
- #
- Sortie attendue:
- You got a friend in need, you got a friend indeed. I bet you got a friend in need.
- 04 Test 4
- Entrée:
- demi-guy@ordinary@an@just@I'm@welcome@You're@okay@it's@okay,@it's@Hey,@sky@the@sun,@the@tides,@the@For@welcome''@''You're@except,@say@I@can@What@demi-god.@a@at@staring@you're@When@bod@the@hair,@The@lot@a@it's@know@I@in@it@Breathe@Maui@it's@me,@really@it's@Yes,@begin@let's@eyes,@your@Open@change@never@humans@that@see@to@nice@it's@Well,@adorable@It's@feel@you@how@know@even@don't@You@strange@it's@and@greatness,@with@face@to@face@You're@here@happening@what's@see@I@ok,@Ok,
- @
- Sortie attendue:
- Ok, ok, I see what's happening here You're face to face with greatness, and it's strange You don't even know how you feel It's adorable Well, it's nice to see that humans never change Open your eyes, let's begin Yes, it's really me, it's Maui Breathe it in I know it's a lot The hair, the bod When you're staring at a demi-god. What can I say except, ''You're welcome'' For the tides, the sun, the sky Hey, it's okay, it's okay You're welcome I'm just an ordinary demi-guy
- */
- $s1 = stream_get_line(STDIN, 1000 + 1, "\n");
- $s2 = stream_get_line(STDIN, 1 + 1, "\n");
- $r = str_replace($s2, " ", $s1);
- $r = implode(' ', array_reverse(explode(' ', $r)));
- echo $r;
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement