알고리즘/SWEA
SWEA D3 13218. 조별과제 (python)
개발하는 호랑이
2024. 2. 28. 12:52
조별과제
풀이
이게 왜 D3?라는 생각이 드는 문제이다.
몫과 나머지를 계산할 줄 안다면 금방 풀린다.
T = int(input())
for testcase in range(1, T + 1):
N = int(input())
answer = N // 3
print(f'#{testcase} {answer}')