已标记为作弊_歪比八卜
已标记为作弊_歪比八卜
全部文章
分类
寒假营2025第一场(5)
题解(19)
归档
标签
去牛客网
登录
/
注册
已标记为作弊_歪比八卜的博客
Rating+++++
TA的专栏
12篇文章
0人订阅
牛客语法入门班
10篇文章
0人学习
回文对称数#题解
题解#鹏
牛客周赛#题解
1篇文章
0人学习
牛客周赛125#题解#小苯的01合并
2025寒假营第一场
1篇文章
0人学习
题解 | #K-Constructive#
全部文章
(共83篇)
题解 | 汉诺塔
#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
62
题解 | #逆序对#
链接//【模板】逆序对的题解 #include <bits/stdc++.h>/*我们其实学久了就知道,我们排序的过程就是消灭逆序对的过程, 我们通过模拟归并排序,即可得出计算逆序对的方法*/ //旨在帮助大家养成动手模拟的好习惯 const int N = 5e5+10; usin...
C++
双指针
归并排序
数组
2026-01-01
0
83
题解 | 小红取数
#include<iostream> #include <vector> using namespace std; using ll =long long; int main(){ ll n; cin>>n; vector<ll&g...
2025-12-30
0
57
题解 | 多项式输出
#include <iostream> #include <vector> using namespace std; int main() { int n; cin >> n; vector<int>a(n + 1); ...
2025-12-30
0
53
题解 | 构造序列
#include <iostream> #include <cmath> using namespace std; int main(){ int n,m; cin>>n>>m; if(n==m){ cout&l...
2025-12-30
0
60
题解 | 【模板】队列操作
#include <iostream> #include <string> #include <queue> using namespace std; int main() { int n; cin >> n; queue&...
2025-12-29
0
81
题解 | 清楚姐姐买竹鼠
#include <iostream> #include <algorithm> #include <climits> using namespace std; using ll = long long; int main() { ll a, b, x;...
2025-12-28
3
59
题解 | 灵异背包?
#include <iostream> #include <vector> #include <algorithm> using namespace std; using ll = long long; int main() { ll n; ci...
2025-12-28
0
55
题解 | 长方体
#include <iostream>//不妨假设长方体的长宽高为x,y,z;通过给出的a,b,c,设a=x*y,b=y*z,c=x*z,解出x,y,z #include <cmath> using namespace std; int main() { int a...
2025-12-27
0
68
题解 | 旅游观光
#include <iostream>//通过观察样例我们不难发现,在最小花费下那个奇数边花费总为0,偶数变为一,所以我们直接计算偶数个数就可以了 using ll = long long; using namespace std; int main() { ll n; ...
2025-12-27
0
66
首页
上一页
1
2
3
4
5
6
7
8
9
下一页
末页