wyk233
wyk233
全部文章
分类
题解(1)
归档
标签
去牛客网
登录
/
注册
wyk233的博客
全部文章
(共4篇)
题解 | 手机键盘
#include <iostream> using namespace std; //构建判定分组的辅助数组和判定次数的辅助数组 int main() { string str; while (cin >> str) { int len = s...
2024-12-24
0
30
题解 | 约数的个数
#include <bits/stdc++.h> using namespace std; int main() { int n;cin>>n; while(n--){ int num;cin>>num; int ...
2024-12-24
0
27
题解 | 成绩排序
#include <bits/stdc++.h> using namespace std; struct stu{ string name; int score; int sequence; }; bool cmp0(stu a,stu b){ if(a...
2024-12-24
0
39
题解 | #Mocha and Railgun#
给定一点Q(x,y),连接OQ,取距离Q为d的两点A,B(丨AB丨=2d),过A,B点分别作垂线交圆O于点E,F。EF长度即为题目所求(证明略) #include <bits/stdc++.h> using namespace std; const double pi=3.1415926...
2022-07-18
5
595