restructure zeta/** to storage/zeta/**
This commit is contained in:
13
storage/zeta/py/completed/1032.py
Normal file
13
storage/zeta/py/completed/1032.py
Normal file
@@ -0,0 +1,13 @@
|
||||
N = int(input())
|
||||
K = [input() for i in range(N)]
|
||||
shared = K[0]
|
||||
|
||||
for k in K:
|
||||
for i, c in enumerate(k):
|
||||
if c == "?":
|
||||
pass
|
||||
elif shared[i] == c:
|
||||
pass
|
||||
else:
|
||||
shared = shared[:i] + "?" + shared[i + 1:]
|
||||
print(shared)
|
||||
Reference in New Issue
Block a user