Untitled

mail@pastecode.io avatar
unknown
python
2 months ago
417 B
1
Indexable
Never
"""
ID: heidara1
LANG: PYTHON3
TASK: cowsignal
"""

with open("./cowsignal.in", "r") as inp:
    # inp.readline().strip()
    # int(inp.readline().strip())
    m, n, k = map(int, inp.readline().strip().split())
    output = ""
    for _ in range(m):
        line = inp.readline().strip()
        for ch in line:
            output += ch * k
        output += "\n"

    print(output, file=open("./cowsignal.out", "w"))
Leave a Comment