网站首页 站内搜索

搜索结果

查询Tags标签: invf,共有 2条记录
  • [ AGC002 F ] Leftmost Ball

    题目 Atcoder 思路代码 #include <iostream> #include <cstring> #include <algorithm> using namespace std; const int N = 4000010, mod = 1e9 + 7; int n, k, fact[N], invf[N], f[2010][2010]; int qmi(int a, int b) {int res = 1;for (; b; b &g…

    2021/5/3 18:27:07 人评论 次浏览
  • [ AGC001 E ] BBQ Hard

    题目 Atcoder 思路代码 #include <iostream> #include <cstring> #include <algorithm> #define int long long using namespace std; const int N = 4030, M = 200010, D = 2010, mod = 1e9 + 7; int n, m, f[N][N], fact[N << 1], invf[N <&…

    2021/4/26 18:56:56 人评论 次浏览
扫一扫关注最新编程教程