标签:inf long code str 技术 class port scanner else
import java.util.Scanner; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); long x = sc.nextLong(); int base = 2; while(x>1){ if(x % base == 0){ System.out.print(base+" "); x /= base; }else { base++; } } sc.close(); } }
标签:inf long code str 技术 class port scanner else
原文地址:https://www.cnblogs.com/bopo/p/9258899.html