游夜
游夜
全部文章
分类
归档
标签
去牛客网
登录
/
注册
游夜的博客
全部文章
(共49篇)
题解 | #挑7#
#include <iostream> #include <string> using namespace std; int main() { int num = 0; int sum = 0; cin >> num; //s...
2023-02-15
0
235
题解 | #质数因子#
#include <bits/stdc++.h> using namespace std; typedef long long ll; int main() { int num; while (cin >> num) { for (in...
2023-02-10
0
328
题解 | #质数因子#
#include <iostream> #include <math.h> #include <vector> using namespace std; void InsertSort(vector<int>& ans, int temn); bo...
2023-02-10
0
306
题解 | #公共子串计算#
//https://www.nowcoder.com/practice/98dc82c094e043ccb7e0570e5342dd1b?tpId=37&&tqId=21298&sourceUrl=https%3A%2F%2Fwww.nowcoder.com%2Fexam%2Foj #includ...
2023-02-09
0
213
题解 | #公共子串计算#
//https://www.nowcoder.com/practice/98dc82c094e043ccb7e0570e5342dd1b?tpId=37&&tqId=21298&sourceUrl=https%3A%2F%2Fwww.nowcoder.com%2Fexam%2Foj #includ...
2023-02-09
0
296
题解 | #坐标移动#
#include <iostream> #include <vector> //牛客要包含vector using namespace std; class Solution{ public: Solution(); void coordinate()...
2023-02-03
0
239
题解 | #杨辉三角#
#include <iostream> #include <vector> #include <iomanip> using namespace std; void yh(vector<vector<int>> &vec, int n) ...
2023-01-30
0
437
题解 | #滑动窗口的最大值#
class Solution { public: vector<int> maxInWindows(const vector<int>& num, unsigned int size) { vector<int> res; //未定義大...
2023-01-30
0
317
题解 | #滑动窗口的最大值#
#include <cstddef> #include <stdexcept> typedef struct QNode{ int data; struct QNode *next; }QNode, *QueuePtr; typedef struct{ ...
2023-01-30
0
399
首页
上一页
1
2
3
4
5
下一页
末页