摘要: 1.花店橱窗 原题链接:https://ac.nowcoder.com/acm/contest/87275/1005 注意放与不放是平行的 查看代码 #include <bits/stdc++.h> #define int long long using namespace std; int va[ 阅读全文
posted @ 2024-07-27 14:48 伊芙加登 阅读(39) 评论(0) 推荐(0)
摘要: 1.快速幂 ll po(ll a,ll b) //快速幂算法 { ll ans = 1; while(b) { if(b & 1) { ans = ans * a % mod; } b >>= 1; a = a * a % mod; } return ans; } 2.组合数 #include<bi 阅读全文
posted @ 2024-07-27 13:45 伊芙加登 阅读(29) 评论(0) 推荐(0)