Kato_Shoko
Kato_Shoko
全部文章
分类
题解(2)
归档
标签
去牛客网
登录
/
注册
Kato_Shoko的博客
TA的专栏
3篇文章
0人订阅
雌小鬼每日一题题解
3篇文章
0人学习
题解 | 中位数之和
题解 | 小红删数字
全部文章
(共87篇)
题解 | 因子区间
注意到因子个数比较少,所以直接暴力的来使用前缀和来查询区间里面有多少个相同的因子,然后组合数学一下,得到共有多少匹配就行了。 #include <bits/stdc++.h> #define il inline using namespace std; using ll = long ...
2025-11-01
1
44
题解 | #Round 99#
有问题请评论区聊喵!!! A.Kato_Shoko 问题回顾 给定长度为 ()的字符串 。 从 中选取一些字符,对其进行任意重排 求能否组成目标字符串 Kato_Shoko, 如果可以,输出 YES 以及需要删除的最少字符数 若无解输出 NO。 核心思路 最终字符串要变成 Kato_Shoko,也...
2025-09-26
10
2024
题解 | 乘法表
#include <bits/stdc++.h> #define il inline using namespace std; using ll = long long; using ull = unsigned long long; using int128=__int128_t; ...
2025-08-23
1
62
题解 | 被打乱的异或和
不难发现n-1个数字的异或和刚好等于最后一个数字,将这个数字放到数组里面后,整个数组异或为0,所以数组里面的任意一个数字都可以是答案,因为它与剩下的数字的异或也是0。 #include <bits/stdc++.h> #define il inline using namespace ...
2025-08-09
0
71
题解 | 最大子段和
#include <bits/stdc++.h> #define il inline using namespace std; using ll = long long; using ull = unsigned long long; using int128=__int128_t; ...
2025-08-09
0
63
题解 | 最长不下降子序列
#include <bits/stdc++.h> #define il inline using namespace std; using ll = long long; using ull = unsigned long long; const ll N = 1e5 + 5, mo...
2025-08-09
0
91
题解 | 【模板】序列操作
#include <bits/stdc++.h> #define il inline using namespace std; using ll = long long; using ull = unsigned long long; using int128=__int128_t; ...
2025-08-06
0
80
题解 | 谐距下标对
#include <bits/stdc++.h> #define il inline using namespace std; using ll = long long; using ull = unsigned long long; using int128=__int128_t; ...
2025-08-04
0
77
题解 | 斗兽棋
#include <bits/stdc++.h> #define il inline using namespace std; using ll = long long; using ull = unsigned long long; using int128=__int128_t; ...
2025-08-04
0
50
题解 | 称砝码
#include <iostream> #include <queue> #include <map> #include <set> #include <cmath> #include <cstring> #include &l...
2025-03-12
0
106
首页
上一页
1
2
3
4
5
6
7
8
9
下一页
末页