随笔分类 - 洛谷
摘要:#include<bits/stdc++.h> using namespace std; typedef long long ll; #define mem(a) memset(a,0,sizeof(a)) #define sc1(a) scanf("%lld",&a) #define sc2(a,
        阅读全文
                
摘要:#include<bits/stdc++.h> using namespace std; typedef long long ll; ll s,sum,n,k; void smoke(ll i) { if(i>=k) { s=s+floor(i/k); smoke(floor(i/k)+i%k); 
        阅读全文
                
摘要:#include<bits/stdc++.h> using namespace std; const long long maxn=1e7+9; typedef long long ll; ll n,k,a[maxn],b[maxn]; void dfs(ll level) { if(level==
        阅读全文
                
摘要:采用分治思想 #include<bits/stdc++.h> using namespace std; typedef long long ll; typedef unsigned long long ull; double a,b,c,d; double f(double x) { return 
        阅读全文
                
摘要:#include<bits/stdc++.h> using namespace std; int a[105]= {0}; int b[105]; int pd(int q,int l) { int i; for(i=0; i<l; i++) { if(b[i]==q) { return 0; } 
        阅读全文
                
摘要:地址:https://www.luogu.com.cn/problem/P2670 #include<iostream>int a[105][105]={0}; using namespace std; int main() { int n,m; cin>>n>>m; int i,j; char b
        阅读全文
                

浙公网安备 33010602011771号