목차

Tea time in the grand garden

ps
링크acmicpc.net/…
출처BOJ
문제 번호30359
문제명Tea time in the grand garden
레벨다이아몬드 3
분류

조합론

시간복잡도O(n+k)
인풋사이즈n<=2*10^5, k<=2*10^5
사용한 언어Python 3.13
제출기록62764KB / 532ms
최고기록532ms
해결날짜2026/03/16

풀이

코드