# | Problem | Pass Rate (passed user / total user) |
---|---|---|
13250 | Incense Sticks |
|
13561 | To Binary |
|
Description
Taiwanese people burn incense sticks at Chungyuan Pu Tu.
However, due to COVID-19, we may need to burn incense sticks on the internet.
This is how we do it:
\|/ \|/ \|/
("_____")
The incense sticks consist of three lines :
The first line includes four whitespaces and three pairs of (\|/).
The second line includes a pair of brackets(()
), a pair of quotation marks ("
), and 5 underscores (_).
The third line includes 4 whitespaces, two pairs of brackets(()
), and two pairs of carets(^).
Remember to put a new line character in the end of each line.
(gray dots represent whitespace characters)
Very Important Notes
-
Getting compile error? Having problem printing quotation mark (
"
)? Maybe this link can help you. -
Getting Wrong Answer? Make sure you don't miss any whitespace (
\n
) character.
Input
Output
Print the incense sticks.
Sample Input Download
Sample Output Download
Tags
Discuss
Description
Given a decimal number, please convert it to a 4-digit binary representation.
For example, given 9, please print 1001; given 3, please print 0011.
Input
A decimal integer D (0<= D <= 15).
Output
B, the 4-digit binary representation of D.
Note that you have to print "\n" in the end.