摘要: hdoj 1299 Diophantus of Alexandria链接:http://acm.hdu.edu.cn/showproblem.php?pid=1299题意:求 1/x + 1/y = 1/n (x 2 #include 3 #include 4 #include 5 using namespace std; 6 7 typedef long int LL; 8 const int maxv = 35000; 9 int prime[4000], num[maxv];10 11 void prim() //筛法求素数12 {13 int i, j, k = 1;... 阅读全文
posted @ 2013-07-21 20:19 妮king狼 阅读(245) 评论(0) 推荐(0)