목차

Pride and Prejudice and Zombies

ps
링크acmicpc.net/…
출처BOJ
문제 번호4464
문제명Pride and Prejudice and Zombies
레벨다이아몬드 5
분류

정수론

시간복잡도O(n^1/3 * logn)
인풋사이즈n<=10^18
사용한 언어Python 3.13
제출기록36852KB / 308ms
최고기록308ms
해결날짜2026/02/01

풀이

코드

(다이아몬드 이상은 코드 생략)