Logo
(追記) (追記ここまで)

26495번 - Big Number 다국어

시간 제한메모리 제한제출정답맞힌 사람정답 비율
1 초 1024 MB3308105293532.053%

문제

One of the professors at PLU has had a lot of trouble reading student programs. He just cannot read that small print. Your job is to write a program that will read a positive integer and rewrite the number in large block format. The block format for each digit is given below.

0000 1 2222 3333 4 4 5555 6666 7777 8888 9999
0 0 1 2 3 4 4 5 6 7 8 8 9 9
0 0 1 2222 3333 4444 5555 6666 7 8888 9999
0 0 1 2 3 4 5 6 6 7 8 8 9
0000 1 2222 3333 4 5555 6666 7 8888 9 

입력

There will be one positive integer on the first line.

출력

Print each digit of the integer in large block format starting with the leftmost digit. There should be one blank line between each block digit.

제한

예제 입력 1

8436

예제 출력 1

8888
8 8
8888
8 8
8888
4 4
4 4
4444
 4
 4
3333
 3
3333
 3
3333
6666
6
6666
6 6
6666

힌트

출처

School > PLU High School Programming Contest > PLU 2012 > Novice 7번

School > PLU High School Programming Contest > PLU 2018 > Novice 11번

(追記) (追記ここまで)

출처

대학교 대회

  • 사업자 등록 번호: 541-88-00682
  • 대표자명: 최백준
  • 주소: 서울시 서초구 서초대로74길 29 서초파라곤 412호
  • 전화번호: 02-521-0487 (이메일로 연락 주세요)
  • 이메일: contacts@startlink.io
  • 통신판매신고번호: 제 2017-서울서초-2193 호

AltStyle によって変換されたページ (->オリジナル) /