whatfk
whatfk
全部文章
分类
归档
标签
去牛客网
登录
/
注册
whatfk的博客
全部文章
(共8篇)
题解 | 简单计算器
#include <iostream> #include<string> #include <map> #include<stack> using namespace std; void calculate(stack<string> &a...
2025-03-12
0
44
题解 | 堆栈的使用
#include<iostream> #include<stack> using namespace std; int main(){ int n; char a; stack<int> stack1; while(scanf(&q...
2025-03-12
0
44
题解 | 全排列
#include<iostream> #include<string> #include<map> #include<queue> using namespace std; map<string,int> map1; queue<st...
2025-03-10
0
42
题解 | 字母统计
#include<iostream> #include<string> #include<map> using namespace std; int main(){ string s; char a[1000]; scanf("%...
2025-03-07
0
55
题解 | 奥运排序问题
#include<iostream> #include<algorithm> #include<vector> using namespace std; /* 输入描述: 有多组数据。 第一行给出国家数N,要求排名的国家数M,国家号从0到N-1。 第二行开始的N...
2025-03-05
0
45
题解 | 小白鼠排队
#include<iostream> #include<vector> #include<algorithm> #include<string> using namespace std; struct mouse{ int weight; ...
2025-03-04
0
50
题解 | 特殊排序
#include<iostream> #include<algorithm> #include<vector> using namespace std; int main(){ int n; while(cin>>n){ ...
2025-03-04
0
71
题解 | 谁是你的潜在朋友
#include<iostream> #include<cstring> using namespace std; int main(){ int n,m; cin>>n>>m; int reader[n],book[m+1];...
2025-03-02
0
45