尤姆
尤姆
全部文章
分类
归档
标签
去牛客网
登录
/
注册
尤姆的博客
全部文章
(共48篇)
题解 | #二叉树#
#include<cstdio> #include<vector> using namespace std; int main(){ long long x, y; while (scanf("%lld %lld", &x, &y) != EOF){ vector&l...
2023-03-01
0
317
题解 | #小白鼠排队#
#include<cstdio> #include<algorithm> using namespace std; struct mouse{ int weight; char colour[10]; }; bool comp(mouse lhs, mouse rhs){...
2023-02-28
0
228
题解 | #中位数#
#include<cstdio> #include<algorithm> using namespace std; int a[1000]; bool comp(int lhs, int rhs){ if (lhs > rhs){ return true; } ...
2023-02-28
0
242
题解 | #最简真分数#
#include<cstdio> #include<vector> using namespace std; int GYS(int x, int y){ if (y == 0)return x; else return(GYS(y, x%y)); } int main(...
2023-02-28
0
191
题解 | #谁是你的潜在朋友#
#include<cstdio> #include<vector> using namespace std; int main(){ int m, n; scanf("%d %d", &m, &n); vector<int>vec; int k; for...
2023-02-28
0
224
题解 | #完数VS盈数#
#include<cstdio> #include<vector> using namespace std; vector<int>vec1; vector<int>vec2; int main(){ for (int i = 1; i < 6...
2023-02-28
0
245
题解 | #今年的第几天?#
#include<cstdio> int main(){ int year, month, day; while (scanf("%d %d %d", &year, &month, &day) != EOF){ int mon[13] = { 0, 31, 28, 31, 30,...
2023-02-28
0
230
题解 | #特殊乘法#
#include<cstdio> #include<vector> using namespace std; int main(){ long long n, m; vector<int>vec1; vector<int>vec2; while...
2023-02-28
0
191
首页
上一页
1
2
3
4
5
下一页
末页