Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
Tags
- 백준
- HackCTF
- php
- N0Named
- Forensics
- Digital Forensics
- 써니나타스
- 문자열
- C
- Text
- xcz.kr
- misc
- Network
- 그리디 알고리즘
- wargame
- cryptography
- CTF
- 인코그니토
- Incognito
- MySQL
- SuNiNaTas
- Web Hacking
- 구현
- 사칙연산
- Web
- 정렬
- Python
- 수학
- Database
- writeup
Archives
- Today
- Total
보안을 그리다, 훈이
[Baekjoon/Python3] 3035번 스캐너 본문
[Baekjoon/Python3] 3035번 스캐너
3035번: 스캐너
첫째 줄에 R, C, ZR, ZC가 주어진다. R과 C는 1과 50 사이의 정수이고, ZR과 ZC는 1과 5 사이의 정수이다. 다음 R개 줄에는 신문 기사가 주어진다.
www.acmicpc.net
i = 0
new = []
res = ''
a, b, c, d = map(int, input().split())
for i in range(a):
article = input()
for k in range(c):
for j in range(b):
res += article[j] * d
new.append(res)
res = ''
for i in new:
print(i)
i = 0
a, b, c, d = map(int, input().split())
for i in range(a):
article = input()
for k in range(c):
for j in range(b):
res = article[j] * d
print(res, end='')
print()
'Programming > Python & Data Structures' 카테고리의 다른 글
[Baekjoon/Python3] 3046번 R2 (0) | 2020.12.04 |
---|---|
[Baekjoon/Python3] 3036번 링 (0) | 2020.12.04 |
[Baekjoon/Python3] 3009번 네 번째 점 (0) | 2020.12.04 |
[Baekjoon/Python3] 2965번 캥거루 세마리 (0) | 2020.12.04 |
[Baekjoon/Python3] 2954번 창영이의 일기장 (0) | 2020.12.04 |
Comments