牛客271438号
牛客271438号
全部文章
题解
归档
标签
去牛客网
登录
/
注册
牛客271438号的博客
全部文章
/ 题解
(共66篇)
题解 | #查找输入整数二进制中1的个数#
#include<iostream> using namespace std; int main() { int d; while(cin>>d) { int op=0x1; int len=sizeof(int)*8;...
C++
2021-10-23
0
399
题解 | #查找两个字符串a,b中的最长公共子串#
#include<iostream> #include<vector> using namespace std; int main() { string s,p; while(cin>>s>>p) { if(s....
C++
2021-10-23
0
340
题解 | #字符串通配符#
#include<iostream> using namespace std; bool isMatch(const char*s,const char*p) { if(*s=='\0'&&*p=='\0') { return true; ...
C++
2021-10-23
0
425
题解 | #计算日期到天数转换#
#include<iostream> #include<vector> #include<map> using namespace std; int main() { int year,month,day; while(cin>>yea...
C++
2021-10-22
0
452
题解 | #参数解析#
#include<iostream> #include<algorithm> #include<vector> using namespace std; int main() { string str; while(getline(cin,str)...
C++
2021-10-22
0
330
题解 | #参数解析#
#include<iostream> #include<algorithm> #include<vector> using namespace std; int main() { string str; while(getline(cin,str)...
C++
2021-10-22
0
356
题解 | #尼科彻斯定理#
#include<iostream> #include<vector> using namespace std; bool isjishu(int d) { if(d%2) { return true; } return fals...
C++
2021-10-22
0
339
题解 | #尼科彻斯定理#
#include<iostream> #include<vector> using namespace std; bool isjishu(int d) { if(d%2) { return true; } return fals...
C++
2021-10-22
0
348
题解 | #整型数组合并#
#include<iostream> #include<set> #include<algorithm> #include<vector> using namespace std; int main() { int d; while(c...
C++
2021-10-21
0
346
题解 | #整型数组合并#
#include<iostream> #include<set> #include<algorithm> #include<vector> using namespace std; bool cmp(const int &a,const int...
C++
2021-10-21
0
355
首页
上一页
1
2
3
4
5
6
7
下一页
末页