冷意
冷意
全部文章
分类
归档
标签
去牛客网
登录
/
注册
冷意的博客
全部文章
(共69篇)
题解 | 字符串优先队列
#include<bits/stdc++.h> using namespace std; priority_queue<string, vector<string>, greater<string>> s; void insertValue(strin...
2025-06-07
0
4
题解 | 结构体优先队列
#include<bits/stdc++.h> using namespace std; struct node { int chinese, math, english, sum; node(int c, int m, int e) : chinese(c), ma...
2025-06-07
0
5
题解 | 【模板】整数优先队列
#include <functional> #include <iostream> #include <queue> #include <vector> using namespace std; int main() { int n, op,...
2025-06-07
0
5
题解 | 两直线交点
#include<bits/stdc++.h> using namespace std; struct point { double x, y; point(double A, double B) { x = A, y = B; } po...
2025-06-07
0
9
题解 | 直线与圆交点间距
#include <bits/stdc++.h> using namespace std; struct point { double x, y; point(double A, double B) { x = A, y = B; } p...
2025-06-07
0
7
题解 | 三角形面积
#include <bits/stdc++.h> using namespace std; struct point { double x, y; point(double A, double B) { x = A, y = B; } p...
2025-06-07
0
7
题解 | 点到直线距离
#include <bits/stdc++.h> #include <cmath> using namespace std; struct point { double x, y; point(double A, double B) { x ...
2025-06-07
0
7
题解 | 学生综合评估系统
#include<bits/stdc++.h> using namespace std; // 定义学生结构体 struct Student { int id; int academic_score; int activity_score; }; // 评估函...
2025-06-07
0
8
题解 | 两点间距离
/** * struct Point { * int x; * int y; * Point(int xx, int yy) : x(xx), y(yy) {} * }; */ #include <cmath> class Solution { public: ...
2025-06-07
0
9
题解 | 最厉害的学生
#include <iostream> #include <vector> using namespace std; struct student { string name; int c1, c2, c3; int total; }; int m...
2025-06-07
0
7
首页
上一页
1
2
3
4
5
6
7
下一页
末页