银河护胃队
银河护胃队
全部文章
分类
归档
标签
去牛客网
登录
/
注册
银河护胃队的博客
全部文章
(共166篇)
题解 | 逗号整合器
class Solution { public: /** * 代码中的类名、方法名、参数名已经指定,请勿修改,直接返回方法规定的值即可 * * 整理出一个将序列中的数字以逗号隔开从而得到的字符串 * @param a int整型vector 需要整理的...
2026-01-28
0
21
题解 | 旺仔哥哥挤地铁
class Solution { public: /** * 代码中的类名、方法名、参数名已经指定,请勿修改,直接返回方法规定的值即可 * * 计算旺仔哥哥在地铁上的最长停留时间 * @param t int整型vector 序列 t,表示地铁在相邻...
2026-01-28
0
15
题解 | 向量叉乘
class Solution { public: /** * 代码中的类名、方法名、参数名已经指定,请勿修改,直接返回方法规定的值即可 * * 计算出这两个向量叉乘的结果 * @param vector1 int整型vector * @pa...
2026-01-28
1
22
题解 | 向量点乘
class Solution { public: /** * 代码中的类名、方法名、参数名已经指定,请勿修改,直接返回方法规定的值即可 * * 计算两个三维向量的点乘结果 * @param vector1 int整型vector 第一个向量 ...
2026-01-28
0
20
题解 | 求峰谷点数
class Solution { public: /** * 代码中的类名、方法名、参数名已经指定,请勿修改,直接返回方法规定的值即可 * * 求序列a中的峰、谷点的个数 * @param a int整型vector 序列a * @retur...
2026-01-28
0
15
题解 | 【模板】序列操作
#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
15
题解 | 两直线交点
#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
29
题解 | 直线与圆交点间距
#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
20
题解 | 三角形面积
#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
35
题解 | 点到直线距离
#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
首页
上一页
8
9
10
11
12
13
14
15
16
17
下一页
末页