银河护胃队
银河护胃队
全部文章
分类
归档
标签
去牛客网
登录
/
注册
银河护胃队的博客
全部文章
(共50篇)
题解 | 两直线交点
#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
19
题解 | 直线与圆交点间距
#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
15
题解 | 三角形面积
#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
23
题解 | 点到直线距离
#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
18
题解 | 学生综合评估系统
#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
16
题解 | 两点间距离
/** * struct Point { * int x; * int y; * Point(int xx, int yy) : x(xx), y(yy) {} * }; */ class Solution { public: /** * 代码中的类名、方法名、参数名已...
2026-01-22
0
14
题解 | 最厉害的学生
#include<bits/stdc++.h> using namespace std; const int N=1e3+10; struct Students{ string name; int c1,c2,c3,t,number; }s[N]; bool cmp(Stud...
2026-01-22
0
14
题解 | 凯撒解密
class Solution { public: /** * 代码中的类名、方法名、参数名已经指定,请勿修改,直接返回方法规定的值即可 * * 进行凯撒解密 * @param password string字符串 旺仔哥哥的密码 * @par...
2026-01-22
0
14
题解 | 求阶乘
class Solution { public: /** * 代码中的类名、方法名、参数名已经指定,请勿修改,直接返回方法规定的值即可 * * 计算 n 的阶乘 * @param n int整型 * @return int整型 *...
2026-01-22
0
17
题解 | 第一宇宙速度
class Solution { public: /** * 代码中的类名、方法名、参数名已经指定,请勿修改,直接返回方法规定的值即可 * * 计算星球的第一宇宙速度 * @param M double浮点型 星球的质量 * @param r...
2026-01-22
0
13
首页
上一页
1
2
3
4
5
下一页
末页