摘要:
poj3624 01背包 dp+滚动数组Charm BraceletTime Limit:1000MSMemory Limit:65536KTotal Submissions:25458Accepted:11455DescriptionBessie has gone to the mall's je... 阅读全文
摘要:
JAVA——A+B——————我的第一道JAVATime Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 241566Accepted Submission(... 阅读全文
摘要:
bestcoder#33 1002 快速幂取余+模拟乘,组合数学zhx's contestTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 831Ac... 阅读全文
摘要:
快速幂模版快速幂的思想是分治,根据题目的数据要注意long long快速幂普通版,比取余版快,但容易超范围,慎用,一般可用取余版MOD设为INF://快速幂普通版(未取余)long long quickpow(long long n,long long k){ long long res=1;... 阅读全文