Herman欧y
Herman欧y
全部文章
分类
寒假营2025第一场(5)
题解(19)
归档
标签
去牛客网
登录
/
注册
Herman欧y的博客
Rating+++++
TA的专栏
12篇文章
0人订阅
牛客语法入门班
10篇文章
0人学习
回文对称数#题解
题解#鹏
牛客周赛#题解
1篇文章
0人学习
牛客周赛125#题解#小苯的01合并
2025寒假营第一场
1篇文章
0人学习
题解 | #K-Constructive#
全部文章
(共78篇)
题解 | 明日DISCO
#include <bits/stdc++.h> using namespace std; using ll = long long ; int main() { int n; cin >> n; vector<vector<ll>&...
2026-01-07
0
39
题解 | 小红的01串
#include <bits/stdc++.h> using namespace std; using ll = long long; ll t; void solve() { string s; while(t--){ cin>>s; ...
2026-01-04
0
52
题解 | 构造数列
#include <bits/stdc++.h> using namespace std; using ll = long long; ll t; void solve() { ll n; while(t--){ cin>>n; ...
2026-01-04
0
40
题解 | #[NOIP2004]FBI树#
```#include <bits/stdc++.h> using namespace std; int n; string s; char fbi(int l,int r) { if(l==r) { if(s[l]=='0') { ...
C++
2026-01-02
0
40
题解 | #[NOIP2001]求先序排列#
#include <bits/stdc++.h> using namespace std; string s1, s2; // s1是中序,s2是后序 void solve(int l1, int r1, int l2, int r2) { if (l1 > r1) return...
C++
二叉树
2026-01-02
0
48
题解 | 汉诺塔
#include <bits/stdc++.h> using namespace std; void tower_hanio(int n,char start,char towards,char transport) { if(n==0)return ; tower_ha...
2026-01-02
0
44
题解 | #逆序对#
链接//【模板】逆序对的题解 #include <bits/stdc++.h>/*我们其实学久了就知道,我们排序的过程就是消灭逆序对的过程, 我们通过模拟归并排序,即可得出计算逆序对的方法*/ //旨在帮助大家养成动手模拟的好习惯 const int N = 5e5+10; usin...
C++
双指针
归并排序
数组
2026-01-01
0
61
题解 | 小红取数
#include<iostream> #include <vector> using namespace std; using ll =long long; int main(){ ll n; cin>>n; vector<ll&g...
2025-12-30
0
32
题解 | 多项式输出
#include <iostream> #include <vector> using namespace std; int main() { int n; cin >> n; vector<int>a(n + 1); ...
2025-12-30
0
32
题解 | 构造序列
#include <iostream> #include <cmath> using namespace std; int main(){ int n,m; cin>>n>>m; if(n==m){ cout&l...
2025-12-30
0
42
首页
上一页
1
2
3
4
5
6
7
8
下一页
末页