牛客用户098471297
牛客用户098471297
全部文章
分类
归档
标签
去牛客网
登录
/
注册
牛客用户098471297的博客
全部文章
(共17篇)
题解 | 牛牛的并联电路
#include <iostream> using namespace std; int main() { int r1,r2; cin>>r1>>r2; double ans=1.0/((1.0/r1)+(1.0/r2)); p...
2025-12-04
0
5
题解 | 岛屿数量
#include<bits/stdc++.h> using namespace std; #define int long long #define endl '\n' #define quick ios::sync_with_stdio(false);cin.tie(0);cout.t...
2025-12-04
0
6
题解 | 走迷宫
#include<bits/stdc++.h> using namespace std; #define int long long #define endl '\n' #define quick ios::sync_with_stdio(false);cin.tie(0);cout.t...
2025-12-04
0
6
题解 | 【模板】巴什博弈
#include<bits/stdc++.h> using namespace std; #define int long long #define endl '\n' #define quick ios::sync_with_stdio(false);cin.tie(0);cout.t...
2025-12-04
0
5
题解 | 斐波那契数列
#include <bits/stdc++.h> using namespace std; void tui(){ int n;cin>>n; vector<int>arr(n+1); arr[0]=0;arr[1]=1; for(...
2025-12-03
0
7
题解 | 【模板】位运算Ⅱ ‖ 整体位移
#include<bits/stdc++.h> using namespace std; #define int long long #define endl '\n' #define quick ios::sync_with_stdio(false);cin.tie(0);cout.t...
2025-12-03
0
6
题解 | 最大子数组和
#include<bits/stdc++.h> using namespace std; #define int long long #define endl '\n' #define quick ios::sync_with_stdio(false);cin.tie(0);cout.t...
2025-12-02
0
6
题解 | 数字三角形
#include<bits/stdc++.h> using namespace std; #define int long long #define endl '\n' #define quick ios::sync_with_stdio(false);cin.tie(0);cout.t...
2025-12-02
0
5
题解 | 反向输出一个四位数
#include <bits/stdc++.h> using namespace std; int main() { string a; while (cin >> a) { // 注意 while 处理多个 case reverse(a.b...
2025-11-28
0
6
题解 | 出现奇数次的数
#include<bits/stdc++.h> using namespace std; #define int long long #define endl '\n' #define quick ios::sync_with_stdio(false);cin.tie(0);cout.t...
2025-11-28
0
9
首页
上一页
1
2
下一页
末页