https://swexpertacademy.com/main/code/problem/problemDetail.do?contestProbId=AXzjvCCq-PwDFASs&categoryId=AXzjvCCq-PwDFASs&categoryType=CODE 

 

SW Expert Academy

SW 프로그래밍 역량 강화에 도움이 되는 다양한 학습 컨텐츠를 확인하세요!

swexpertacademy.com

T = int(input())

for tc in range(1,T+1):
    N = int(input())

    print('#{} {}'.format(tc, N//3))

풀이

나머지를 버림 하거나 몫만 출력할 수 있다면 쉽게 풀 수 있는 문제로

왜 D3인지는 모르겠다

반응형

+ Recent posts