牛客596495425号
牛客596495425号
全部文章
分类
归档
标签
去牛客网
登录
/
注册
牛客596495425号的博客
全部文章
(共74篇)
题解 | Primary Arithmetic
#include <iostream> #include <cstring> #include <algorithm> #include <vector> using namespace std; int add(vector<int>...
2025-03-16
0
14
题解 | 子串计算
#include <iostream> #include<map> using namespace std; map<string, int>countt; int main() { string str; while (cin >>...
2025-03-16
0
15
题解 | 点菜问题
#include<iostream> using namespace std; const int N = 110; int f[N * 10]; int v[N], w[N]; int main() { int c, n; cin >> c >> n;...
2025-03-16
0
15
题解 | 买房子
#include <iostream> using namespace std; int main() { int n; double k; while (cin >> n >> k) { int price = 200;...
2025-03-16
0
16
题解 | 放苹果
#include <iostream> #include<cstring> using namespace std; const int N = 30; int f[N][N];//f[i][j]i个苹果放入j个盘子 //分成没有空盘子和有空盘子 //有空盘子f[i][j]=...
2025-03-16
0
17
题解 | 学分绩点
#include <functional> #include <iostream> #include<vector> #include<sstream> #include<string> using namespace std; cons...
2025-03-16
0
15
题解 | 神奇的口袋
#include <iostream> using namespace std; const int N = 25; int a[N]; int f[N];//f[i][j]代表从前i个物品中选有几种方 int main() { int n; cin >> ...
2025-03-16
0
17
题解 | Repeater
#include <iostream> #include <cstring> #include <algorithm> #include <vector> #include<string> //本题主要是在考递归的思想 using name...
2025-03-16
0
19
题解 | 首字母大写
#include <iostream> #include<sstream> using namespace std; int main() { string str; while (getline(cin, str)) { //先判断第一个字...
2025-03-16
0
17
题解 | 数制转换
#include <iostream> #include<algorithm> using namespace std; //由于本题不涉及长整数,所以可以先转换为10进制,再转换为要得到的进制 int ctoi(char c) { if (c <= '9')...
2025-03-16
0
14
首页
上一页
1
2
3
4
5
6
7
8
下一页
末页