银河护胃队
银河护胃队
全部文章
分类
归档
标签
去牛客网
登录
/
注册
银河护胃队的博客
全部文章
(共214篇)
题解 | 玩家积分榜系统
#include <iostream> #include <string> #include <map> using namespace std; map<string,int> mp; void insertOrUpdateScore(const...
2026-02-14
0
32
题解 | 特殊城市
#include<bits/stdc++.h> using namespace std; int n; multiset<string> mst; int main(){ cin>>n; string name,zhou; int res=0;...
2026-02-14
0
40
题解 | 生词篇章查询
#include<bits/stdc++.h> using namespace std; const int N=1e3+10; vector<map<string,int>> v_m(N); int n,m; int main(){ ios::sync_w...
2026-02-13
0
42
题解 | 字符串构造判定
class Solution { public: /** * 代码中的类名、方法名、参数名已经指定,请勿修改,直接返回方法规定的值即可 * * * @param ransomNote string字符串 * @param magazine...
2026-02-13
0
34
题解 | 两个数组的交集
class Solution { public: /** * 代码中的类名、方法名、参数名已经指定,请勿修改,直接返回方法规定的值即可 * * * @param nums1 int整型vector * @param nums2 int整型...
2026-02-13
0
31
题解 | 字母异位词的长度
class Solution { public: /** * 代码中的类名、方法名、参数名已经指定,请勿修改,直接返回方法规定的值即可 * * * @param s string字符串 * @param c string字符串 ...
2026-02-12
0
31
题解 | 大整数哈希
#include<bits/stdc++.h> using namespace std; unsigned long long n; unordered_map<unsigned long long,unsigned long long> um; unsigned long...
2026-02-12
0
33
题解 | 字符串哈希
#include<bits/stdc++.h> using namespace std; int n; unordered_set<string> us; int main(){ ios::sync_with_stdio(false); cin.tie(0); ...
2026-02-12
0
31
题解 | 两数之和
class Solution { public: /** * 代码中的类名、方法名、参数名已经指定,请勿修改,直接返回方法规定的值即可 * * * @param nums int整型vector * @param target int整型...
2026-02-12
0
35
题解 | 插队
#include<bits/stdc++.h> using namespace std; const int N=2e5+10; map<string,int> name_to_id; vector<string> id_to_name(N); int n,m...
2026-02-11
0
28
首页
上一页
8
9
10
11
12
13
14
15
16
17
下一页
末页