Sqrt Decomposition

 

제곱근 분할법

Example