钉钉铛铛
钉钉铛铛
全部文章
分类
归档
标签
去牛客网
登录
/
注册
钉钉铛铛的博客
TA的专栏
1篇文章
0人订阅
stm32
0篇文章
0人学习
C/C++
1篇文章
634人学习
全部文章
(共22篇)
题解 | 【模板】静态区间和(前缀和)
#include <iostream> #include <vector> using namespace std; using ll=long long; int main() { ll n,q; cin>>n>>q; ve...
2025-11-17
0
36
题解 | 二进制数1
#include <iostream> using namespace std; int main() { long long x;cin>>x; int count=0; while(x) { count++; ...
2025-11-17
0
26
题解 | 【模板】二维前缀和
#include <iostream> #include <vector> using namespace std; using ll=long long; int main() { int n,m,q;cin>>n>>m>>q;...
2025-11-12
0
30
题解 | 【模板】前缀和
#include <iostream> using namespace std; using ll=long long; const int N=1e5+10; ll dp[N]={0}; ll arr[N]={0}; int main() { int n,m;cin>&...
2025-11-12
0
39
题解 | 生词篇章查询
#include <iostream> #include <unordered_map> #include <set> #include <string> using namespace std; int main() { int n;cin...
2025-10-28
0
33
题解 | 动态整数集最近值提取
#include <iostream> #include <set> #include <cmath> #include <climits> using namespace std; int main() { set<int> s...
2025-10-13
0
28
题解 | 队列消数
class Solution { public: /** * 代码中的类名、方法名、参数名已经指定,请勿修改,直接返回方法规定的值即可 * * * @param tickets int整型vector * @param k int整型 ...
2025-10-08
0
36
题解 | 牛牛与后缀表达式
class Solution { public: /** * 代码中的类名、方法名、参数名已经指定,请勿修改,直接返回方法规定的值 * * 给定一个后缀表达式,返回它的结果 * @param str string字符串 * @return ...
2025-09-06
0
44
题解 | 吐泡泡
#include <iostream> #include <stack> using namespace std; int main() { int t; cin >> t; for (int i = 0; i < t; i++) ...
2025-09-05
0
38
题解 | 括号配对问题
#include <iostream> #include <string> #include <stack> using namespace std; int main() { string s; getline(cin,s); stac...
2025-09-05
0
33
首页
上一页
1
2
3
下一页
末页