扎男_
扎男_
全部文章
分类
题解(3)
归档
标签
去牛客网
登录
/
注册
扎男_的博客
无人问津的港口总会开满鲜花
全部文章
(共64篇)
题解 | 查找输入整数二进制中1的个数
// 活动地址: 牛客春招刷题训练营 - 编程打卡活动 #include<iostream> #include<algorithm> #include<set> using namespace std; void solve(){ int n,m; ...
2025-04-07
0
21
题解 | 字符串字符匹配
// 活动地址: 牛客春招刷题训练营 - 编程打卡活动 #include<iostream> #include<algorithm> #include<set> using namespace std; void solve(){ string a,b;...
2025-04-07
0
15
题解 | 求最大连续bit数
活动地址: 牛客春招刷题训练营 - 编程打卡活动 #include<iostream> #include<algorithm> using namespace std; // 这题一眼 就是跟位运算有关 刚好 煮波最近位运算的题做的多 // 简单直接模拟 然后保存最大值...
2025-04-07
0
21
题解 | 表示数字
活动地址: 牛客春招刷题训练营 - 编程打卡活动 #include<iostream> #include<algorithm> using namespace std; void solve(){ string s; cin>>s; /...
2025-04-07
0
18
题解 | 记负均正
活动地址: 牛客春招刷题训练营 - 编程打卡活动#include<iostream>#include<iomanip> // 小数规范的头文件using namespace std;int a[2000];int main(){ int n; cin>>...
2025-04-07
0
19
题解 | 仰望水面的歪
活动地址: 牛客春招刷题训练营 - 编程打卡活动#include<stdio.h>long long gcdh(long long a, long long b) { // 辗转相除法球最大公约数 long long t = a % b; while (t) { ...
2025-04-05
0
20
题解 | 密码强度等级
活动地址: 牛客春招刷题训练营 - 编程打卡活动while 1: try:# 先判断密码长度 score = 0 s = input() if len(s) <= 4: score += 5 elif len(...
2025-04-05
0
20
题解 | 记票统计
活动地址: 牛客春招刷题训练营 - 编程打卡活动 #include<bits/stdc++.h> #include<iostream> #include<algorithm> #include <iterator> #include<map>...
2025-04-05
0
20
题解 | 字符统计
活动地址: 牛客春招刷题训练营 - 编程打卡活动#include<iostream>#include<algorithm>#include<map>using namespace std;#define int long long const int N =2e...
2025-04-05
0
24
题解 | 最小循环节
活动地址: 牛客春招刷题训练营 - 编程打卡活动#include <iostream>#include<set>using namespace std;int main() { string s; cin>>s; set<char>s...
2025-04-04
0
31
首页
上一页
1
2
3
4
5
6
7
下一页
末页