谜一样的Andy
谜一样的Andy
全部文章
分类
归档
标签
去牛客网
登录
/
注册
谜一样的Andy的博客
全部文章
(共43篇)
题解 | 有效括号序列
class Solution { public: /** * 代码中的类名、方法名、参数名已经指定,请勿修改,直接返回方法规定的值即可 * * * @param s string字符串 * @return bool布尔型 */ ...
2025-09-29
0
28
题解 | 吐泡泡
#include<bits/stdc++.h> #include <iostream> using namespace std; int T,si;string s[11];stack<char>S[11];stack<char>t[11]; int ...
2025-09-29
0
22
题解 | 好串
#include<bits/stdc++.h> using namespace std; string s;stack<char>S; int main(){ cin>>s; for (char c:s) { if (c=='a') { ...
2025-09-29
0
34
题解 | 括号配对问题
#include<bits/stdc++.h> #include <iostream> using namespace std; string S,s;stack<char>t; int main(){ cin>>S; for (int...
2025-09-29
0
28
题解 | 括号配对问题
#include<bits/stdc++.h> #include <iostream> using namespace std; string S,s;stack<char>t; int main(){ cin>>S; for (int...
2025-09-29
0
27
题解 | 向量点乘
class Solution { public: /** * 代码中的类名、方法名、参数名已经指定,请勿修改,直接返回方法规定的值即可 * * 计算两个三维向量的点乘结果 * @param vector1 int整型vector 第一个向量 ...
2025-09-28
0
35
题解 | 【模板】序列操作
#include <algorithm> #include<bits/stdc++.h> #include <functional> #include <iostream> #include <vector> using namespace...
2025-09-28
0
21
题解 | 直线与圆交点间距
#include <bits/stdc++.h> #include <math.h> using namespace std; struct point{ double x,y; point(double A,double B){ x=A,y...
2025-09-24
0
26
题解 | 三角形面积
#include <bits/stdc++.h> #include <math.h> using namespace std; struct point{ double x,y; point(double A,double B){ x=A,y...
2025-09-24
0
34
题解 | 凯撒解密
class Solution { public: /** * 代码中的类名、方法名、参数名已经指定,请勿修改,直接返回方法规定的值即可 * * 进行凯撒解密 * @param password string字符串 旺仔哥哥的密码 * @par...
2025-09-21
0
30
首页
上一页
1
2
3
4
5
下一页
末页