银河护胃队
银河护胃队
全部文章
分类
归档
标签
去牛客网
登录
/
注册
银河护胃队的博客
全部文章
(共214篇)
题解 | 向量叉乘
class Solution { public: /** * 代码中的类名、方法名、参数名已经指定,请勿修改,直接返回方法规定的值即可 * * 计算出这两个向量叉乘的结果 * @param vector1 int整型vector * @pa...
2026-01-28
1
27
题解 | 向量点乘
class Solution { public: /** * 代码中的类名、方法名、参数名已经指定,请勿修改,直接返回方法规定的值即可 * * 计算两个三维向量的点乘结果 * @param vector1 int整型vector 第一个向量 ...
2026-01-28
0
23
题解 | 求峰谷点数
class Solution { public: /** * 代码中的类名、方法名、参数名已经指定,请勿修改,直接返回方法规定的值即可 * * 求序列a中的峰、谷点的个数 * @param a int整型vector 序列a * @retur...
2026-01-28
0
20
题解 | 【模板】序列操作
#include<bits/stdc++.h> using namespace std; const int N=7e3+10; int a[N],p; //降序 bool cmp(int x,int y){ return x>y; } int main(){ int q...
2026-01-28
0
20
题解 | 两直线交点
#include <bits/stdc++.h> using namespace std; struct point { double x, y; point(double A, double B) { x = A, y = B; } p...
2026-01-23
1
39
题解 | 直线与圆交点间距
#include <bits/stdc++.h> using namespace std; struct point{ double x,y; point(double A,double B){ x=A,y=B; } point() = ...
2026-01-23
0
27
题解 | 三角形面积
#include <bits/stdc++.h> using namespace std; struct point{ double x,y; point(double A,double B){ x=A,y=B; } point() = ...
2026-01-23
0
47
题解 | 点到直线距离
#include <bits/stdc++.h> using namespace std; struct point{ double x,y; point(double A,double B){ x=A,y=B; } point() = ...
2026-01-23
0
30
题解 | 学生综合评估系统
#include<bits/stdc++.h> using namespace std; const int N=1e3+10; // 定义学生结构体 struct Student{ int id; int academic_score; int activit...
2026-01-22
0
32
题解 | 两点间距离
/** * struct Point { * int x; * int y; * Point(int xx, int yy) : x(xx), y(yy) {} * }; */ class Solution { public: /** * 代码中的类名、方法名、参数名已...
2026-01-22
0
25
首页
上一页
13
14
15
16
17
18
19
20
21
22
下一页
末页