Nitrene
Nitrene
全部文章
分类
归档
标签
去牛客网
登录
/
注册
Nitrene的博客
全部文章
(共53篇)
题解 | 点到直线距离
#include <bits/stdc++.h> using namespace std; struct point{ double x,y; point(double A,double B){ x=A,y=B; } point() = ...
2025-08-19
1
38
题解 | 点到直线距离
#include <bits/stdc++.h> using namespace std; struct point{ double x,y; point(double A,double B){ x=A,y=B; } point() = ...
2025-08-19
3
29
题解 | 学生综合评估系统
#include<bits/stdc++.h> using namespace std; // 定义学生结构体 struct Student { int id; int academic_score; int activity_score; }; // 评估函...
2025-08-17
2
37
题解 | 两点间距离
/** * struct Point { * int x; * int y; * Point(int xx, int yy) : x(xx), y(yy) {} * }; */ class Solution { public: /** * 代码中的类名、方法名、参数名已...
2025-08-17
1
34
题解 | 最厉害的学生
#include<bits/stdc++.h> using namespace std; struct student{ string name; int c1,c2,c3,t; student(string A,int B,int C,int D){ ...
2025-08-17
3
52
题解 | 凯撒解密
class Solution { public: /** * 代码中的类名、方法名、参数名已经指定,请勿修改,直接返回方法规定的值即可 * * 进行凯撒解密 * @param password string字符串 旺仔哥哥的密码 * @par...
2025-08-16
1
58
题解 | 求阶乘
class Solution { public: /** * 代码中的类名、方法名、参数名已经指定,请勿修改,直接返回方法规定的值即可 * * 计算 n 的阶乘 * @param n int整型 * @return int整型 *...
2025-08-16
1
36
题解 | a 乘 b 问题(函数)
class Solution { public: /** * 代码中的类名、方法名、参数名已经指定,请勿修改,直接返回方法规定的值即可 * * 计算两个参数的乘积 * @param Number1 int整型 * @param Number...
2025-08-16
1
48
题解 | 第一宇宙速度
class Solution { public: /** * 代码中的类名、方法名、参数名已经指定,请勿修改,直接返回方法规定的值即可 * * 计算星球的第一宇宙速度 * @param M double浮点型 星球的质量 * @param r...
2025-08-16
1
36
题解 | 一元二次方程
class Solution { public: /** * 代码中的类名、方法名、参数名已经指定,请勿修改,直接返回方法规定的值即可 * * 判断二元一次方程组是否有解 * @param a int整型 二次项系数 * @param b i...
2025-08-16
2
48
首页
上一页
1
2
3
4
5
6
下一页
末页