帅呆呆~
帅呆呆~
全部文章
分类
题解(41)
归档
标签
去牛客网
登录
/
注册
帅呆呆~的博客
全部文章
(共41篇)
题解 | #查找(散列查找方法)#
#include<iostream> #include<cstdio> #include<algorithm> #include<cstring> using namespace std; const int RANGE = 1e6; const...
C++
2022-03-06
1
389
题解 | #查找#
#include<cstdio> #include <algorithm> #include <string> #include <iostream> #include <cstring> using namespace std; con...
C++
2022-03-06
2
466
题解 | #整数奇偶排序#
#include<iostream> #include<cstdio> #include<algorithm> using namespace std; int arr[10]; bool Compare(int x,int y) { if(x % 2 =...
C++
2022-03-05
1
355
题解 | #成绩排序#
#include<iostream> #include<cstdio> #include<algorithm> using namespace std; //定义学生结构体 struct Student { int number; int score; ...
C++
2022-03-05
2
457
题解 | #排序#
#include<iostream> #include<cstdio> #include<algorithm> using namespace std; const int MAXN = 100 + 10; int arr[MAXN]; int main(...
C++
2022-03-05
3
387
题解 | #手机键盘#
#include<iostream> #include<cstdio> #include<string> using namespace std; //定义数组用来预处理按动不同字母所花费的时间 int keyTable[26] = {1,2,3,1,2,3,...
C++
2022-03-05
0
371
题解 | #打印日期#
#include<cstdio> #include<iostream> using namespace std; int dayTable[2][13] = { {0,31,28,31,30,31,30,31,31,30,31,30,31}, {0,31,29,31,...
C++
2022-03-05
1
381
题解 | #今年的第几天?#
">#include<cstdio> using namespace std; int dayTable[2][13]= { {0,31,28,31,30,31,30,31,31,30,31,30,31}, //平年每月天数 {0,31,29,31,30,31,30,31,...
C++
2022-03-05
6
361
题解 | #反序数#
">#include<cstdio> using namespace std; int Reverse(int x) { int revx = 0; while(x != 0){ revx *= 10; revx += x % 10; x /= 10; } ret...
C++
2022-03-04
1
320
题解 | #反序数#
">#include<iostream> using namespace std; int Reverse(int n){ int fir = n % 10; //个位 int sec = n / 10 % 10; //十位 int thir = n / 100 % ...
C++
2022-03-04
0
323
首页
上一页
1
2
3
4
5
下一页
末页