很笨的方法,能通过就行,哈哈哈哈哈 摘要:#include<bits/stdc++.h>using namespace std;int main(){ string s; getline(cin,s); vector<pai…… 题解列表 2024年04月05日 0 点赞 1 评论 285 浏览 评分:9.9
结构体之成绩记录(结构体数组) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>struct stu{ char num[20]; char name[20]; int chine…… 题解列表 2024年04月05日 0 点赞 0 评论 298 浏览 评分:0.0
蓝桥杯2022年第十三届省赛真题-全排列的价值(python) 摘要:## 一组逆序、顺序全排列价值和为定值n*(n-1)/2 ## 一共n!/2组全排列(n!种) 参考代码: ## 全排列的价值 n=int(input()) s=n*(n-1)/4 for…… 题解列表 2024年04月05日 0 点赞 0 评论 770 浏览 评分:9.9
c++利用数组记录路径 摘要:解题思路:使用一个bool已经dfs来判断环上点的位置,详细的看代码上的注释注意事项:参考代码:#include<bits/stdc++.h>#define DZT ios::sync_with_st…… 题解列表 2024年04月05日 0 点赞 0 评论 426 浏览 评分:0.0
题解 2825: 计算多项式的值 (记录本题另一种计算结果精度损失的计算方式) 摘要:```c #include int main() { int i,j,n; double x,count=1.0,count_part; scanf("…… 题解列表 2024年04月05日 0 点赞 1 评论 371 浏览 评分:0.0
2814: 正常血压 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ long long a,spring=0,summer…… 题解列表 2024年04月05日 0 点赞 0 评论 529 浏览 评分:9.9
结构体之时间设计 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ struct Date { int year; int month; int day; }s; scanf…… 题解列表 2024年04月05日 0 点赞 0 评论 312 浏览 评分:0.0
2813: 药房管理 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int a,b,sum=0; cin>>a>>b…… 题解列表 2024年04月05日 0 点赞 0 评论 442 浏览 评分:9.9
题解 1234: 检查一个数是否为质数 摘要:解题思路:额…………注意事项:注意事项:注意事项:别抄我的,抄我的人我诅咒他电脑10秒关机参考代码:#include<bits/stdc++.h>using namespace std;int mai…… 题解列表 2024年04月05日 0 点赞 0 评论 378 浏览 评分:0.0
这是一个题解 摘要:#include<stdio.h> #include<stdlib.h> #include<string.h> int main() { int n; scanf("%d", &n)…… 题解列表 2024年04月05日 0 点赞 0 评论 344 浏览 评分:0.0