打卡喵
from math import * n = int(input()) i = 2 while i <= n / i: while n % (i * i) == 0: n /= i * i i += 1 print(int(n))
By signing up a 追梦算法网 universal account, you can submit code and join discussions in all online judging services provided by us.
Using your 追梦算法网 universal account