<!-- 블로그 운영 규칙은 https://algoshitpo.github.io/2020/02/17/rule/ 에 나와있습니다. 기초 문제의 난이도를 기재하는 것을 권장합니다. (codeforces 난이도, solved.ac 난이도 등) 해당 주제와 관련된 문제가 있다면 링크를 적어주시기 바랍니다. --> ### 주제 이름 * Sprague-Grundy Theorem ### 주제 소개 (관련 자료 링크 포함) 님 게임 등에서 참가자가 최적으로 행동할 때, 이기는 사람을 구하는 방법. https://en.wikipedia.org/wiki/Sprague%E2%80%93Grundy_theorem https://casterian.net/archives/1239 ### 대략적인 난이도 * solved 기준 플레티넘 5~ ### 관련 문제 링크 * https://www.acmicpc.net/problem/11694 * https://www.acmicpc.net/problem/16879 https://tataky.tistory.com/2 참고