罐头小哥
罐头小哥
全部文章
分类
代码库(1)
题解(1)
归档
标签
去牛客网
登录
/
注册
罐头小哥的博客
要努力一点
全部文章
(共2篇)
快速幂和快速乘
1.1快速幂 ll quick_pow(ll a,ll b,ll mod) { ll res=1; a%=mod; while(b) { if(b&1)(res*=a)%=mod; (a*=a)%=mod;b>>=1; ...
快速幂
数学
快速乘
2020-09-09
0
269
团队队列(队列和映射)
队列 In a team queue each element belongs to a team. If an element enters the queue, it first searches the queue from head to tail to check if some of i...
C++
队列
2020-08-29
1
403