250x250
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 | 29 | 30 | 31 |
Tags
- 파이싼
- 경사하강법
- n과 m
- 1101
- pyenv
- Python
- 가상환경
- N-Queen
- 백준
- streamlit
- 4948
- BOJ
- 손실함수
- 15649
- 개발환경
- Retrieval
- 파이썬
- REST API
- 기계학습
- 9020
- 밑바닥부터 시작하는 딥러닝
- 티스토리챌린지
- 오블완
- 그리디 알고리즘
- 신경망 학습
- video retireval
- 재귀
- 백트래킹
- 1002
- end to end
Archives
- Today
- Total
파이톨치
[백준] 1032 본문
728x90
n = int(input())
l = []
for i in range(n):
l.append(input())
s = ""
for i in range(len(l[0])):
a = l[0][i]
# print(a)
t = 0
for j in range(n):
if a != l[j][i]:
t = 1
if t == 0:
s += a
else:
s += "?"
print(s)
728x90