特牛网址导航

【精选】每日算法训练(持续更新)-CSDN博客

网友收藏
文章浏览阅读867次,点赞3次,收藏6次。1、最大质因数13195的所有质因数为5、7、13和29。600851最大的质因数是多少?public class Algorithe01 { public static void main(String[] args) { // TODO Auto-generated method stub System.out.println("600851475143的最大质因数:"+primeFactor(600851)); } public static long primeFactor