Alice, an aspiring artist has recently been trying out ASCII Art. More specifically, she designs art in a 5 by 5 grid using only the characters .
and #
.
She would like to challenge you to draw 4 pieces of art: a heart, an umbrella, a duck and a music note.
She would grade you by the percentage of cells she deem be correct in the art presented.
Input
One of four strings: HEART
, UMBRELLA
, DUCK
or MUSICNOTE
.
Output
Output a 5 by 5 grid using only .
and #
.
Sample Test Cases
Input | Output | |
---|---|---|
HEART | ..... .#.#. .###. ..#.. ..... |
|
This output gives 60 points. |
Scoring: Per Case
Authored by s19x17
Appeared in 中國香港九龍華仁書院電腦科主任李海峻老師精心調製之全校青少年信息學奧林匹克七月愚人節編程競賽二零二四