番禺小韭菜
番禺小韭菜
全部文章
分类
归档
标签
去牛客网
登录
/
注册
番禺小韭菜的博客
全部文章
(共93篇)
题解 | 构造A+B
#include <iostream> using namespace std; int main() { int n, k; cin >> n >> k; if(k <= n-1){ cout << &...
2025-03-03
0
32
题解 | Redraiment的走法
#include<iostream> #include<vector> using namespace std; int biSearch(int x, vector<int>& dp) { //二分查找函数 int left = 0, righ...
2025-03-03
0
25
题解 | Redraiment的走法
#include<iostream> #include<vector> using namespace std; int biSearch(int x, vector<int>& dp) { //二分查找函数 int left = 0, righ...
2025-03-03
0
24
题解 | 喜欢切数组的红
#include <algorithm> #include <iostream> #include <vector> #include <queue> using namespace std; bool havePositive(vector<...
2025-03-03
0
23
题解 | 喜欢切数组的红
#include <iostream> #include <vector> using namespace std; int main() { int n; cin >> n; vector<int> nums(n + 1);...
2025-03-03
0
27
题解 | 数组分组
#include<iostream> #include<algorithm> #include<vector> #include<math.h> using namespace std; bool judge(int i, vector<int...
2025-03-03
0
25
题解 | 数组分组
#include <algorithm> #include <iostream> #include <vector> #include <unordered_set> using namespace std; int main() { int...
2025-03-03
0
24
题解 | 自守数
#include<iostream> using namespace std; bool check(int i) { int temp1 = i, temp2 = i * i; while (temp1) { //验证后几位 if (temp2 % 1...
2025-03-02
0
20
题解 | 字符统计
#include <map> #include <iostream> #include <string> #include <vector> #include <algorithm> #include <iterator> us...
2025-03-02
0
20
题解 | 小心火烛的歪
#include <iostream> #include <bitset> using namespace std; int main() { int n, m, q; cin >> n >> m >> q; bi...
2025-03-02
1
28
首页
上一页
1
2
3
4
5
6
7
8
9
10
下一页
末页