摘要:
C Looooops Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 23637 Accepted: 6528 Description A Compiler Mystery: We are given a C-language s 阅读全文
posted @ 2016-08-13 17:42
超级学渣渣
阅读(184)
评论(0)
推荐(0)
摘要:
Romantic Time Limit:1000MS Memory Limit:32768KB 64bit IO Format:%I64d & %I64u Submit Status Practice HDU 2669 Romantic Submit Status Practice HDU 2669 阅读全文
posted @ 2016-08-13 17:34
超级学渣渣
阅读(174)
评论(0)
推荐(0)
摘要:
分析: 这道题对我来说简直惊艳: m个x用数学公式表示:[(10^m)-1]/9*x·························@1 所以题目中的问题用数学公式表示: @1%k=c? 因为/9会产生精度的损失,所以我们把上式两边同时乘以9: [(10^m)-1)]*x%9k=9*c?····· 阅读全文
posted @ 2016-08-13 17:29
超级学渣渣
阅读(258)
评论(0)
推荐(0)
摘要:
long long fast_exp(int base,long long exp,int mod) { long long ans=1LL,a=base; while(exp!=0) { if(exp&1LL) ans*=a,ans%=mod; a*=a,a%=mod; exp>>=1; } return ... 阅读全文
posted @ 2016-08-13 14:05
超级学渣渣
阅读(1096)
评论(0)
推荐(0)
摘要:
以上内容引用自百度百科:http://baike.baidu.com/view/2385246.htm 2016/8/13 阅读全文
posted @ 2016-08-13 09:33
超级学渣渣
阅读(1191)
评论(0)
推荐(0)

浙公网安备 33010602011771号