728x90
SW Expert Academy
SW 프로그래밍 역량 강화에 도움이 되는 다양한 학습 컨텐츠를 확인하세요!
swexpertacademy.com
※ SW Expert 아카데미의 문제를 무단 복제하는 것을 금지합니다.
T = int(input())
for test_case in range(1, T + 1):
a, b = map(int, input().split())
print("#{} {} {}".format(test_case, a // b, a % b))728x90
'Problem Solving > SWEA' 카테고리의 다른 글
| [SW Expert Academy, SWEA 2025] N줄덧셈 (python) (0) | 2022.05.06 |
|---|---|
| [SW Expert Academy, SWEA 2027] 대각선 출력하기 (python) (0) | 2022.05.06 |
| [SW Expert Academy, SWEA 2043] 서랍의 비밀번호 (python) (0) | 2022.05.06 |
| [SW Expert Academy, SWEA 2046] 스탬프 찍기 (python) (0) | 2022.05.06 |
| [SW Expert Academy, SWEA 2047] 신문 헤드라인 (python) (0) | 2022.05.06 |