2017年4月6日

1751:分解因数

摘要: 总时间限制:1000ms 内存限制:65536kB描述给出一个正整数a,要求分解成若干个正整数的乘积,即a = a1 * a2 * a3 * ... * an,并且1 2 #include 3 using namespace std; 4 int sum=0; 5 void recur(int N,int i) 6 { 7 if(N==1) sum++; 8 wh... 阅读全文

posted @ 2017-04-06 10:47 华山青竹 阅读(992) 评论(0) 推荐(0)

导航