新鑫念念啥都整
新鑫念念啥都整
全部文章
分类
归档
标签
去牛客网
登录
/
注册
新鑫念念啥都整的博客
全部文章
(共94篇)
题解 | 向量点乘
/** * 代码中的类名、方法名、参数名已经指定,请勿修改,直接返回方法规定的值即可 * * 计算两个三维向量的点乘结果 * @param vector1 int整型一维数组 第一个向量 * @param vector1Len int vector1数组长度 * @param vecto...
2025-09-11
0
46
题解 | 求峰谷点数
/** * 代码中的类名、方法名、参数名已经指定,请勿修改,直接返回方法规定的值即可 * * 求序列a中的峰、谷点的个数 * @param a int整型一维数组 序列a * @param aLen int a数组长度 * @return int整型 */ #include <...
2025-09-11
0
33
题解 | 【模板】序列操作
#include <iostream> #include <vector> #include <algorithm> #include <functional> using namespace std; int main() { int q;...
2025-09-11
0
35
题解 | 两直线交点
#include<bits/stdc++.h> #include <ios> #include <iostream> using namespace std; struct point{ double x,y; point(double A,do...
2025-09-10
0
43
题解 | 直线与圆交点间距
#include <bits/stdc++.h> using namespace std; struct point{ double x,y; point(double A,double B){ x=A,y=B; } point() = ...
2025-09-10
0
40
题解 | 三角形面积
#include <bits/stdc++.h> #include <cmath> #include <math.h> using namespace std; struct point { double x, y; point(double A...
2025-09-09
0
43
题解 | 点到直线距离
#include <bits/stdc++.h> #include <cmath> using namespace std; struct point{ double x,y; point(double A,double B){ x=A,y=...
2025-09-09
0
67
题解 | 学生综合评估系统
#include<bits/stdc++.h> #include <cstdio> using namespace std; // 定义学生结构体 struct Student{ int id; int academic_score; int act...
2025-09-09
0
34
题解 | 两点间距离
/** * struct Point { * int x; * int y; * Point(int xx, int yy) : x(xx), y(yy) {} * }; */ #include <cmath> class Solution { public: /**...
2025-09-09
0
45
题解 | 最厉害的学生
#include <stdio.h> int main() { int N; scanf("%d", &N); int i = 0; int jilu[100]; int jilushu; int max =...
2025-09-09
0
34
首页
上一页
1
2
3
4
5
6
7
8
9
10
下一页
末页