摘要:
A. Shovels and Swords Polycarp plays a well-known computer game (we won't mention its name). In this game, he can craft tools of two types — shovels a 阅读全文
posted @ 2020-06-13 21:13
棉被sunlie
阅读(286)
评论(0)
推荐(0)
摘要:
直接求解 LL factor(LL x){ LL cnt = 0; for(int i=1;i<=sqrt(x);i++){ if(x%i==0){ if(x/i == i) cnt += i; // ex: 9 = 3 * 3 else cnt += i + x/i; } } return cnt 阅读全文
posted @ 2020-06-13 20:32
棉被sunlie
阅读(417)
评论(0)
推荐(0)

浙公网安备 33010602011771号