随笔分类 - 基础算法-二分
摘要:1 #include<bits/stdc++.h> 2 using namespace std; 3 inline int re_ad() { 4 char ch=getchar(); int x=0,f=1; 5 while(ch<'0' || '9'<ch) { if(ch=='-') f=-1
阅读全文
摘要:1 #include<bits/stdc++.h> 2 #define ll long long 3 using namespace std; 4 const ll N=51; 5 ll n,m,a[N],lj[N],ans,sum,len,tmp; 6 7 inline ll re_ad() {
阅读全文
摘要:1 #include<bits/stdc++.h> 2 #define int long long 3 using namespace std; 4 const int N=1e5+11; 5 int n,h[N],a[N],ans[N]; 6 int sta[N],top; 7 8 inline
阅读全文
摘要:1 #include<bits/stdc++.h> 2 using namespace std; 3 const int N=5011,mod=1e9+7; 4 int n,m,dp[N][N],g[N][N]; 5 char s[N],t[N]; 6 int main() 7 { 8 scanf(
阅读全文

浙公网安备 33010602011771号