Moyoj
Moyoj
全部文章
分类
归档
标签
去牛客网
登录
/
注册
Moyoj的博客
全部文章
(共5篇)
题解 | #进制转换2#
#include <iostream> #include<algorithm> using namespace std; int chartoint(char c){ if('0'<=c&&c<='9') return c-'0'; ...
2024-03-12
0
168
题解 | #Median#
#include <iostream> #include <vector> using namespace std; vector<int> vec1; vector<int> vec2; int solution(int begin1,int end...
2024-03-07
0
206
题解 | #Graduate Admission#
#include <iostream> #include<algorithm> #include <vector> using namespace std; struct ApplicantInfo{ int id; int rank; i...
2024-03-07
0
199
题解 | #最大报销额#
#include <iostream> #include <iterator> #include <vector> using namespace std; int main() { double Q; int N; while (cin...
2024-03-06
0
188
题解 | #八皇后#
#include <iostream> #include <vector> using namespace std; //同一斜对角线皇后行差值绝对值等于列差值绝对值 vector<int> pos(9);//八个皇后的列位置,下标代表第几行皇后 vector&l...
2024-03-01
0
182