摘要: //跟沈爷学的 传送门http://www.cnblogs.com/Xiper/p/4639636.html 1 #include 2 #include 3 #include 4 #include 5 #include 6 #include 7 #include 8 #include 9 #incl... 阅读全文
posted @ 2015-07-14 21:29 鼠宝宝 阅读(137) 评论(0) 推荐(0) 编辑
摘要: //昨天把一个i写成1了 然后挂了一下午首先进行质因数分解g=a1^b1+a2^b2...... l=a1^b1'+a2^b2'.......,然后判断两种不可行情况:1,g的分解式中有l的分解式中没有的质因子 2,存在bi>bi',然后剩下的都是可行解,对于每一个质因子三个数中有两个分别bi,bi... 阅读全文
posted @ 2015-07-14 14:01 鼠宝宝 阅读(235) 评论(0) 推荐(0) 编辑