摘要:
D题 生成函数,计数问题 #include<bits/stdc++.h> using namespace std; typedef long long ll; const int N=2e6+10; const int mod=1e9+7; int T,n,m; ll f[N]; ll qmod(l 阅读全文
摘要:
HashMap的规约 JavaDocs中HashMap的spec是这么写的: Hash table based implementation of the Map interface. This implementation provides all of the optional map oper 阅读全文
摘要:
BigInteger部分 import java.math.BigInteger; import java.util.Scanner; public class BI { public static void main(String[] args) { // TODO Auto-generated 阅读全文
摘要:
感谢绿哥 /* author: purinliang */ const int MAXLOGN = 20; const int MAXN = 1 << MAXLOGN; const int MOD = 998244353; const int G = 3; inline int qadd(const 阅读全文