Herman欧y
Herman欧y
全部文章
分类
寒假营2025第一场(5)
题解(18)
归档
标签
去牛客网
登录
/
注册
Herman欧y的博客
Rating+++++
TA的专栏
12篇文章
0人订阅
牛客语法入门班
10篇文章
0人学习
回文对称数#题解
题解#鹏
牛客周赛#题解
1篇文章
0人学习
牛客周赛125#题解#小苯的01合并
2025寒假营第一场
1篇文章
0人学习
题解 | #K-Constructive#
全部文章
(共77篇)
题解 | 出现奇数次的数
#include <bits/stdc++.h> #include <unordered_map> using namespace std; int main() { int n; cin>>n; unordered_map<in...
2026-01-10
0
53
题解 | 二进制不同位数
#include <bits/stdc++.h> using namespace std; int main() { long long m, n; cin >> m >> n; // 计算异或值 long long x...
2026-01-10
0
50
题解 | 二进制位中1的数量
#include <bits/stdc++.h> using namespace std; int main() { int cnt = 0; long long n; cin>>n; while(n>0) { if(n&1)cnt++; n=...
2026-01-10
1
48
题解 | 小红与奇数
#include <bits/stdc++.h> using namespace std; int main() { int x; cin>>x; if(x&1)cout<<"No"<<endl;//...
2026-01-10
0
36
题解 | 【模板】位运算Ⅰ ‖ 整体与、或、异或
#include <bits/stdc++.h> using namespace std; int main() { int t; cin>>t; while(t--) { int x,y; cin>>...
2026-01-10
0
37
题解 | 【模板】位运算Ⅱ ‖ 整体位移
#include <bits/stdc++.h> using namespace std; using ll = long long ; int main() { int t; cin>>t; while(t--) { int ...
2026-01-10
0
40
题解 | 2的n次方计算
#include <bits/stdc++.h> using ll = long long ; using namespace std; int main() { int n; cin>>n; cout<<(1<<n)<&...
2026-01-10
0
44
题解 | 【模板】栈的操作
#include <bits/stdc++.h> using namespace std; using ll = long long; int main() { ll t; cin>>t; stack<ll>z; while(t--...
2026-01-08
0
40
题解 | 狩影·进击
#include <bits/stdc++.h> #include <queue> using namespace std; using ll = long long; int main() { int t; cin>>t; while(t...
2026-01-08
0
39
题解 | 【模板】整数优先队列
#include <bits/stdc++.h> #include <queue> using ll = long long; using namespace std; int main() { ll n; cin>>n; priorit...
2026-01-08
0
35
首页
上一页
1
2
3
4
5
6
7
8
下一页
末页