add: swea/5356.py
This commit is contained in:
13
swea/5356.py
Normal file
13
swea/5356.py
Normal file
@@ -0,0 +1,13 @@
|
||||
t=int(input())
|
||||
for tc in range(1,t+1):
|
||||
arr=[]
|
||||
s=""
|
||||
mx=0
|
||||
for i in range(5):
|
||||
arr.append(list(input()))
|
||||
mx=max(len(arr[-1]),mx)
|
||||
for i in range(mx):
|
||||
for j in range(5):
|
||||
if len(arr[j])>i:
|
||||
s+=arr[j][i]
|
||||
print("#"+str(tc),s)
|
||||
Reference in New Issue
Block a user