2014年8月21日

摘要: 1 typedef long long ll; 2 #define MOD 1000000007 3 ll pow_mod(ll a, ll n) 4 { 5 if(n == 0) return 1; 6 ll x = pow_mod(a, n/2); 7 ll ans ... 阅读全文

posted @ 2014-08-21 15:44 LLGemini 阅读(137) 评论(0) 推荐(0) 编辑

摘要: POINT : 质因子分解;(仅给题解)http://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=24&page=show_problem&problem=1721题意:给你两个整数m和n,求最大的k使... 阅读全文

posted @ 2014-08-21 13:30 LLGemini 阅读(164) 评论(0) 推荐(0) 编辑