SMALL 간단한 압축 풀기1 [SW Expert Academy] 간단한 압축 풀기 *문제의 저작권은 SW Expert에 있습니다. 문제 링크 : https://swexpertacademy.com/main/code/problem/problemDetail.do?contestProbId=AV5PmkDKAOMDFAUq&categoryId=AV5PmkDKAOMDFAUq&categoryType=CODE T = int(input()) for test_case in range(1, T + 1): lines = int(input()) #라인 개수 입력 a = "" for line in range(0,lines): #각 라인의 단어와 개수를 입력받아 문자열에 저장 word,cnt = map(str,input().strip().split()) a+=word*int(cnt) print(f"#{test_ca.. 2021. 1. 27. 이전 1 다음