Submission
Status:
Compilation Error
Subtask/Task Score:
Score: 0
User: agnes_chan
Problemset: แยกตัวประกอบ
Language: python
Time: 0.000 second
Submitted On: 2026-05-06 11:52:16
N = int(input())
for c in range(2,1+int(N**0.5)):
if N%c: continue
if N<c*c: exit()
print(c,end='^')
k = 0
while N%C==0: N , k += N//c , k+1
print(k,end=' ')