摘要:
水题,一起切了 #include<bits/stdc++.h> using namespace std; int a[5000010]; int main(){ ios::sync_with_stdio(0); cin.tie(0); cout.tie(0); int n,k; cin>>n>>k; 阅读全文
posted @ 2024-10-14 20:20
yzc_is_SadBee
阅读(12)
评论(0)
推荐(0)
摘要:
st表。(还是半懂不懂) #include <bits/stdc++.h> using namespace std; int n,m,x,y,l,a[100010],f[100010][20]; int main(){ cin>>n>>m; a[1]=0; for(int i=2;i<=n;i++) 阅读全文
posted @ 2024-10-14 20:20
yzc_is_SadBee
阅读(11)
评论(0)
推荐(0)
摘要:
把exgcd忘光了QAQ #include<bits/stdc++.h> using namespace std; long long ans,x1,y1; long long exgcd(long long a,long long b,long long &x1, long long &y1){ 阅读全文
posted @ 2024-10-14 18:44
yzc_is_SadBee
阅读(22)
评论(0)
推荐(0)

浙公网安备 33010602011771号