Jingen
Jingen
全部文章
分类
归档
标签
去牛客网
登录
/
注册
Jingen的博客
全部文章
(共29篇)
题解 | 求最大连续bit数
#include <iostream> #include <vector> using namespace std; int main() { int a; cin>>a; int cnt=0,c1=0; int num1[1...
2025-04-11
1
18
题解 | 字符串字符匹配
#include <iostream> using namespace std; int main() { string s1,s2; cin>>s1; cin>>s2; //jingen int g=0; for(...
2025-04-07
0
24
题解 | 宝石手串
#include <iostream> #include <vector> using namespace std; int main() { int t; cin>>t; while(t--) { int n; ...
2025-04-07
0
28
题解 | 查找输入整数二进制中1的个数
#include <iostream> using namespace std; int lowbit(int a) { return a&(-a); } int main() { //jingen int T=2; while(T--) {...
2025-04-07
1
22
题解 | 最小循环节
#include <iostream> #include <set> #include <algorithm> using namespace std; int main() { string str; cin>>str; ...
2025-04-06
0
23
题解 | 字符统计
#include <iostream> #include <algorithm> #include <cstring> #include <cctype> #include <vector> using namespace std; b...
2025-04-06
0
22
题解 | 查找组成一个偶数最接近的两个素数
#include <iostream> #include <cmath> using namespace std; bool check(int x) { for(int i=2;i<=x/i;i++) { if(x%i==0) re...
2025-04-06
0
22
题解 | 找出字符串中第一个只出现一次的字符
#include <iostream> #include <vector> #include <cstring> using namespace std; int main() { string str; cin>>str; ...
2025-04-02
0
19
题解 | 活动安排
#include <iostream> #include <algorithm> using namespace std; const int N=2e5; struct p { int l,r; bool operator< (const p &...
2025-04-02
0
25
题解 | 记票统计
#include <iostream> #include <vector> using namespace std; int main() { int a, b; vector<pair<string,int>> str; ...
2025-04-01
0
18
首页
上一页
1
2
3
下一页
末页