随笔分类 - 

上一页 1 ··· 7 8 9 10 11 12 13 14 15 下一页
摘要:这个故事告诉我们,要全心全意赞美太阳。 题解 #include<bits/stdc++.h> using namespace std; const unsigned long long mod=998244353; struct data { int dp[3][3]; inline int* op 阅读全文
posted @ 2024-09-11 19:29 yzc_is_SadBee 阅读(12) 评论(0) 推荐(0)
摘要:树状数组是个好东西 # include <bits/stdc++.h> # define Fill(a, b) memset(a, b, sizeof(a)) using namespace std; const int _(3e5 + 10), INF(2e9), PF(1e5); inline 阅读全文
posted @ 2024-09-11 18:55 yzc_is_SadBee 阅读(11) 评论(0) 推荐(0)
摘要:概率期望谔谔谔。 #include<bits/stdc++.h> using namespace std; double f[1010][1010]; double g[1010][1010]; double C[1010][1010]; int main() { int n = ri, d = r 阅读全文
posted @ 2024-09-10 20:29 yzc_is_SadBee 阅读(18) 评论(0) 推荐(0)
摘要:偷懒的新方法 但vector足以 #include<bits/stdc++.h> using namespace std; vector<int>v; inline int read() { char ch=getchar(); int x=0,f=1; for(; !isdigit(ch); ch 阅读全文
posted @ 2024-09-10 19:50 yzc_is_SadBee 阅读(13) 评论(0) 推荐(0)
摘要:才发现蓝题以下的基本都被菜就多练的我刷掉了 from 0pts to 100pts 所以,这道题就是线段树+dp喽 #include<bits/stdc++.h> #define rep(k,l,r) for(long long k=l;k<=r;++k) #define per(k,r,l) fo 阅读全文
posted @ 2024-09-10 19:08 yzc_is_SadBee 阅读(29) 评论(0) 推荐(0)
摘要:布什各门,阿? 令人惊奇的题解 标程:某个姓组合的数学+高精 here 阅读全文
posted @ 2024-09-09 20:25 yzc_is_SadBee 阅读(16) 评论(0) 推荐(0)

上一页 1 ··· 7 8 9 10 11 12 13 14 15 下一页