小花Student
小花Student
全部文章
分类
归档
标签
去牛客网
登录
/
注册
小花Student的博客
全部文章
(共23篇)
题解 | #数制转换#
#include<iostream> #include<cmath> #include<algorithm> int main() { char sys[16]={'0','1','2','3','4','5','6','7','8','9','A','B...
2024-03-19
0
173
题解 | #大整数的因子#
#include<iostream> #include<string> //大整数减法 std::string Substract(std::string s1, std::string s2) { std::string result; int carry ...
2024-03-10
0
213
题解 | #最简真分数#
#include<iostream> bool func(int a, int b) { int min = a < b ? a : b; for(int i=2;i<=min;i++) { if(a%i == 0 &&...
2024-03-05
0
225
题解 | #日志排序#
#include<iostream> #include<vector> #include<algorithm> //hs_10000_p 2007-01-17 19:22:53,315 253.035(s) std::string Start(std...
2024-03-04
0
233
题解 | #谁是你的潜在朋友#
#include<iostream> #include<vector> int main() { int n, m; int book[201]; std::vector<int> v; while (std::cin >&...
2024-03-03
0
192
题解 | #I Wanna Go Home#
#include<iostream> #include<algorithm> const int MAX = 1024; const int INF = 1e9; class Solution { public: int n; int G[MAX]...
2024-03-02
0
209
题解 | #N的阶乘#
#include<iostream> #include<algorithm> std::string MultiLongInt(const std::string& s1, const std::string& s2) { std::string r...
2024-02-28
0
186
题解 | #最大序列和#
#include<iostream> int main() { int N; while (std::cin >> N) { long long int dp[N]; for(int i=0;i<N;i++) ...
2024-02-24
0
159
题解 | #成绩排序#
#include<iostream> #include<algorithm> #include<vector> struct Student { int num; int grade; Student(int n, int g) ...
2024-02-23
0
176
题解 | #手机键盘#
#include<iostream> struct Key { int same;//判断字符是否在同一按键上 int rank;//通过字符排列的位置定义需要按几次 Key(int x, int y) : same(x), rank(y) ...
2024-02-20
0
189
首页
上一页
1
2
3
下一页
末页