2545 - I2P(I)2022_Hu_Hw1 Scoreboard

Time

2022/09/12 21:00:00 2022/09/19 18:00:00

Clarification

# Problem Asker Description Reply Replier Reply Time For all team

# Problem Pass Rate (passed user / total user)
13250 Incense Sticks
13561 To Binary

13250 - Incense Sticks   

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 ( ) or new line (\n) character.

Input

Output

Print the incense sticks.

Sample Input  Download

Sample Output  Download

Tags




Discuss




13561 - To Binary   

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.

binary

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.

Sample Input  Download

Sample Output  Download

Tags




Discuss