摘要:
卡特兰数 #include<bits/stdc++.h> using namespace std; long long mp[2000005],p[200005],cnt[2000005],r; long long qpow(long long a,long long b) { long long 阅读全文
posted @ 2024-10-02 19:29
yzc_is_SadBee
阅读(13)
评论(0)
推荐(0)
摘要:
如果不能越级打怪还叫什么主角 #include<bits/stdc++.h> namespace my_std { using namespace std; #define rep(i,x,y) for (int i=(x);i<=(y);i++) #define drep(i,x,y) for ( 阅读全文
posted @ 2024-10-02 19:18
yzc_is_SadBee
阅读(13)
评论(0)
推荐(0)
摘要:
好久没发博客了(因为在家) 看到大家都是用后缀数组+莫队的,于是模仿题解搞了一搞 #include<bits/stdc++.h> using namespace std; int blk[200005]; struct ques { int l,r,id; inline friend bool op 阅读全文
posted @ 2024-10-02 18:48
yzc_is_SadBee
阅读(11)
评论(0)
推荐(0)

浙公网安备 33010602011771号