UTPC Contest 9-11-20 Div. 2 |
---|
Finished |
The other day, your friend was sharing their screen over Zoom. They pulled up their terminal and typed in cowsay "hello world" and an ascii art cow appeared that said "hello world"! Seeing this, you were inspired to make a slightly different version of this with your favorite animal, an elephant. In your version, you have input with the words that the elephant is saying as well as the ascii art for the elephant. Your job is to output this information.
Tips on using input:
- If you're using Java or C++, be sure to clear your buffer after reading in an int!
The first line of input will contain a string $$$S$$$ containing the text that the elephant will be saying.
The second line of input will contain an integer $$$N$$$, the number of lines of ascii art to follow.
The following $$$N$$$ lines of input will each contain a string containing a line of ascii art. These lines will be in the order such that they form an elephant.
$$$1 \leq N \leq 50$$$
Output the text that the elephant is saying followed by a new line and then each line of the ascii elephant in the order that it was given.
Hello World 15 __ '. \ '- \ / /_ .---. / | \\,.\/--.// ) | \// )/ / \ ' ^ ^ / )____.----.. 6 '.____. .___/ \._) .\/. ) '\ / _/ \/ ). ) ( /# .! | /\ / \ C// # /'-----''/ # / . 'C/ | | | | | , \), .. .'OOO-'. ..'OOO'OOO-'. ..\(,
Hello World __ '. \ '- \ / /_ .---. / | \\,.\/--.// ) | \// )/ / \ ' ^ ^ / )____.----.. 6 '.____. .___/ \._) .\/. ) '\ / _/ \/ ). ) ( /# .! | /\ / \ C// # /'-----''/ # / . 'C/ | | | | | , \), .. .'OOO-'. ..'OOO'OOO-'. ..\(,
Hope you're having an elephantastic day! 4 _____ ( . . ) / |_| \, |_| |_|
Hope you're having an elephantastic day! _____ ( . . ) / |_| \, |_| |_|
Name |
---|