暮色回响_
暮色回响_
全部文章
分类
归档
标签
去牛客网
登录
/
注册
暮色回响_的博客
全部文章
(共11篇)
题解 | 二进制不同位数
#include<bits/stdc++.h> using namespace std; int main(){ long long m,n,x=0; cin >> m >> n; x = m^n; int cnt = 0; ...
2026-02-02
0
7
题解 | 小红的排列构造①
#include<bits/stdc++.h> using namespace std; int main(){ int n; cin >> n; vector<int> arr(n+1); if(n<=2) { ...
2026-02-01
0
6
题解 | 构造数对
# include<bits/stdc++.h> using namespace std; int main(){ int x; cin >> x; if(x == 1) cout << "-1"; else c...
2026-02-01
0
5
题解 | 三角形取数(Hard Version)
#include<bits/stdc++.h> using namespace std; const long long INF = -1e18; #define ll long long int main(){ ios::sync_with_stdio(false); ...
2026-01-31
0
9
题解 | 最大子段和
#include<bits/stdc++.h> using namespace std; int main(){ int n; cin >> n; vector<int> a; a.resize(n); for(int i=...
2026-01-31
0
8
题解 | 撞车
#include<bits/stdc++.h> using namespace std; #define ll long long int main(){ int n; cin >> n; vector<ll> x(n),v(n); ...
2026-01-31
0
8
题解 | 【模板】01背包
#include<bits/stdc++.h> using namespace std; const int neg = -1000000; int main(){ int n,V; cin >> n >> V; vector<int...
2026-01-30
0
9
题解 | 植树节
#include<bits/stdc++.h> using namespace std; #define ll long long int main(){ ll n; cin >> n; vector<ll> diff(1000000,0)...
2026-01-30
0
8
题解 | 舞萌时间到!
#include<bits/stdc++.h> using namespace std; int check(char s){ if(s=='P') return 3; if(s=='p') return 2; if(s=='G') return 1; i...
2026-01-30
0
10
题解 | 分解质因数
#include<bits/stdc++.h> using namespace std; bool check(long long n){ if(n<=1) return false; if(n<=3) return true; if(n%2==0 |...
2026-01-28
0
9
首页
上一页
1
2
下一页
末页