Rosetta Problems

P-power divisor

https://kep.uz/practice/problems/problem/2029