Skip to content

Commit a0b580c

Browse files
committed
Python : 뚊(문자열)
1 parent 5e53d5d commit a0b580c

File tree

2 files changed

+44
-17
lines changed

2 files changed

+44
-17
lines changed

.idea/workspace.xml

Lines changed: 18 additions & 17 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

BOJ_Python/11383.py

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# 뚊
2+
n, m = map(int, input().split())
3+
4+
answer = []
5+
for _ in range(n):
6+
sentence = input()
7+
answer.append(sentence)
8+
answer.sort()
9+
10+
compare = []
11+
for _ in range(n):
12+
sentence2 = input()
13+
compare.append(sentence2)
14+
compare.sort()
15+
16+
flag = False
17+
for i in range(n):
18+
tmp = ''
19+
for j in answer[i]:
20+
tmp += j * 2
21+
22+
if tmp != compare[i]:
23+
print("Not Eyfa")
24+
exit(0)
25+
26+
print("Eyfa")

0 commit comments

Comments
 (0)