missay情玖
missay情玖
全部文章
分类
日常(4)
未归档(1)
题解(13)
归档
标签
去牛客网
登录
/
注册
missay情玖的博客
全部文章
(共23篇)
题解 | #请客吃饭#
#include <iostream> #include <vector> #include <algorithm> using namespace std; typedef long long ll; bool check(const vector<p...
2024-12-03
0
31
题解 | #小红的小踏前斩#
#include <algorithm> #include <climits> #include <iostream> #include <vector> #include <cmath> using namespace std; int...
2024-12-01
0
34
题解 | #小红和小紫的取素因子游戏#
#include <iostream> using namespace std; const int N = 1e5+10; int decompose(int x){ int count = 0; int cnt = x; for(int i = 2 ;i*i<=x...
2024-11-27
0
29
题解 | #小红的取模构造#
# include<bits/stdc++.h> using namespace std; int t,a,b; int main(){ cin>>t; while(t--){ cin>>a>>b; ...
2024-11-26
1
25
题解 | #小苯的数字权值#
#include <iostream> #include <vector> # include<bits/stdc++.h> using namespace std; const int MAX = 200010; // 最大值 2 * 10^5 int a...
2024-11-26
0
23
题解 | #小红的数字删除#
#include <iostream> #include <string> using namespace std; // 判断一个数字是否是3的倍数 bool isDivisibleBy3(int sum) { if(sum == 0){ retu...
2024-11-21
1
50
题解 | #小红的字符生成#
#include <iostream> using namespace std; int n ; int main() { cin>>n; // 把这个数字拆分成2的n次方 因为 x 是1000 最多是 2 的10次方 直接判断就行 while(n...
2024-11-21
0
32
题解 | #小红的字符串构造#
#include <iostream> #include <string> #include <unordered_set> #include <vector> using namespace std; int main() { strin...
2024-11-19
0
31
题解 | #游游的整数切割#
#include <iostream> #include <string> using namespace std; int main() { string number; cin >> number; int n = number....
2024-11-19
0
25
题解 | #二叉搜索树与双向链表# 层序遍历 非递归
package main import . "nc_tools" /* * type TreeNode struct { * Val int * Left *TreeNode * Right *TreeNode * } */ /** * * @pa...
2023-09-02
0
302
首页
上一页
1
2
3
下一页
末页