首页
Python
Java
前端
数据库
Linux
Chatgpt专题
开发者工具箱
101550f专题
Fleecing the Raffle Gym - 101550F(概率)
题意: 所有数选p个,但你可以加入a个自己的数。求选到的数中你加入数的个数恰好为1个的概率 思路: #include <cstdio>#include <cstring>#include <vector>#include <map>using namespace std;typedef long long ll;const int maxn = 1e7 + 7;double C
阅读更多...