粉詹眉
粉詹眉
全部文章
分类
归档
标签
去牛客网
登录
/
注册
粉詹眉的博客
全部文章
(共128篇)
题解 | #日志排序#
#include <iostream> #include <sstream> #include <algorithm> using namespace std; const int N=10010; struct record{ string name; ...
2024-02-04
0
222
题解 | #10进制 VS 2进制#
#include <iostream> #include <vector> #include <algorithm> using namespace std; vector<int> div(vector<int> &A,int ...
2024-02-02
0
170
题解 | #进制转换#
#include <iostream> #include <vector> using namespace std; void div(vector<int>& A, int b, vector<int>& res) { i...
2024-02-01
0
175
题解 | #谁是你的潜在朋友#
#include <iostream> using namespace std; const int N=210; int book[N];//存储每本书有多少人喜欢 int read[N];//存储每个人最喜欢的书 int main() { int n,m; cin...
2024-02-01
0
156
题解 | #谁是你的潜在朋友#
#include <iostream> using namespace std; const int N=210; int read[N];//存储每个读者最喜欢的图书编号 int res[N];//存储每个读者的潜在朋友的个数 bool vis[N]; int main() { ...
2024-02-01
0
177
题解 | #查找学生信息#
#include <iostream> using namespace std; const int N=1010; struct stu{ string number; string name; string sex; int old; }a[N]; ...
2024-02-01
0
154
题解 | #N的阶乘#
#include <iostream> #include <vector> using namespace std; const int N=1010; vector<int> f[N];//存储每个数的阶乘 vector<int> mul(vec...
2024-02-01
0
162
题解 | #N的阶乘#
#include <iostream> #include <string> #include <vector> using namespace std; vector<int> mul(vector<int> A, int b) { ...
2024-02-01
0
178
题解 | #完数VS盈数#
#include <iostream> using namespace std; const int N=60; int w[N],y[N]; int index_w,index_y; bool is_wanshu(int x,bool &flag){//&会改变传过...
2024-01-31
0
237
题解 | #今年的第几天?#
#include <iostream> using namespace std; bool is_run(int year){ if(year%4==0&&year%100!=0||year%400==0) return true; return fal...
2024-01-31
0
162
首页
上一页
4
5
6
7
8
9
10
11
12
13
下一页
末页