洒脱的劳伦斯在找内推
洒脱的劳伦斯在找内推
全部文章
分类
归档
标签
去牛客网
登录
/
注册
洒脱的劳伦斯在找内推的博客
全部文章
(共24篇)
题解 | 两直线交点
#include<bits/stdc++.h> using namespace std; struct point { double x,y; point(double A,double B){ x = A, y = B; } point(...
2025-09-27
0
64
题解 | 三角形面积
#include<bits/stdc++.h> using namespace std; int main(){ int x1,x2,x3,y1,y2,y3; cin >> x1>> y1; cin >> x2 >>...
2025-09-22
0
44
题解 | 凯撒解密
class Solution { public: /** * 代码中的类名、方法名、参数名已经指定,请勿修改,直接返回方法规定的值即可 * * 进行凯撒解密 * @param password string字符串 旺仔哥哥的密码 * @par...
2025-09-13
0
47
题解 | 一元二次方程
class Solution { public: /** * 代码中的类名、方法名、参数名已经指定,请勿修改,直接返回方法规定的值即可 * * 判断二元一次方程组是否有解 * @param a int整型 二次项系数 * @param b i...
2025-09-13
0
63
题解 | a 乘 b 问题(函数)
class Solution { public: long long aTimesB(int Number1, int Number2) { return (long long)Number1*Number2; } };
2025-09-13
0
47
题解 | 添加逗号
#include <bits/stdc++.h> using namespace std; int main(){ string N,res; //这种情况下确实用刀字符串 cin >> N; reverse(N.begin(),N.end());...
2025-09-07
0
43
题解 | 记数问题
#include<bits/stdc++.h> using namespace std; int main(){ int n,num; cin >> n >> num; int i,count=0; for(i=0;i<=n;i++) { i...
2025-09-03
0
38
题解 | 神秘石像的镜像序列
#include<bits/stdc++.h> using namespace std; int main(){ vector <int> nums; int num; while(cin >> num){ if(num =...
2025-09-01
0
49
题解 | 牛牛学数列6
#include <bits/stdc++.h> using namespace std; int main(){ int n; cin >> n; int a=0,b=1,c=1,d; if(n==1){ cout <&...
2025-08-31
0
56
题解 | 牛牛数数
#include <bits/stdc++.h> using namespace std; bool foo(int a){ if(a%4==0){ return false; } while(a>0){ if(a%10==4...
2025-08-30
0
43
首页
上一页
1
2
3
下一页
末页