Given any positive integer N, you are supposed to find all of its prime factors, and write them in the format N = p 1 k 1 × p 2 k 2 × ⋅ ⋅ ⋅ × p m k m N=p_1^{k_1}\times p_2^{k_2}\times ···\times p_m^{k_m} N=p1k1×p2k2×
PAT (Advanced Level) Practice 1059 Prime Factors (25 分)
题目Given any positive integer N, you are supposed to find all of its prime factors, and write them in the format N=p1k1×p2k2×⋅⋅⋅×pmkmN=p_1^{k_1}\times p_2^{k_2}\times ···\times p_m^{k_m}N=p1k1×p2k2×⋅⋅⋅×pmkm吐槽点一开始是测试点3通过不了,看网上说是“1=1”没有,但是我当时是有的,具体如代