1 条题解
-
0
Java :
import java.util.Scanner; public class Main { public static void main(String[] args) { // TODO 自动生成的方法存根 Scanner input=new Scanner(System.in); int n=input.nextInt(); int d=2; while(n!=1){ if(n%d==0){ n=n/d; System.out.print(d+" "); } else{ d=d+1; } } } }
- 1
信息
- ID
- 3360
- 时间
- 1000ms
- 内存
- 128MiB
- 难度
- (无)
- 标签
- 递交数
- 0
- 已通过
- 0
- 上传者