1480: 模拟计算器(两种解法) 摘要:解题思路:注意事项:参考代码:Scanner sc=new Scanner(System.in); String str = sc.nextLine(); String[] s = str…… 题解列表 2024年04月05日 1 点赞 0 评论 379 浏览 评分:9.9
C++ BFS解决迷宫问题 摘要:解题思路:本题相比普通的迷宫问题 多了一个无敌道具和陷阱 所以普通的bool数组没办法判断是否应该走这个格子,所以可以改用int 数组记录当前这个格子走过的最大无敌数值(当无敌时间超过这个vis数组记…… 题解列表 2024年04月05日 0 点赞 0 评论 331 浏览 评分:2.0
很笨的方法,能通过就行,哈哈哈哈哈 摘要:#include<bits/stdc++.h>using namespace std;int main(){ string s; getline(cin,s); vector<pai…… 题解列表 2024年04月05日 0 点赞 1 评论 191 浏览 评分:9.9
结构体之成绩记录(结构体数组) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>struct stu{ char num[20]; char name[20]; int chine…… 题解列表 2024年04月05日 0 点赞 0 评论 196 浏览 评分: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 评论 644 浏览 评分:9.9
c++利用数组记录路径 摘要:解题思路:使用一个bool已经dfs来判断环上点的位置,详细的看代码上的注释注意事项:参考代码:#include<bits/stdc++.h>#define DZT ios::sync_with_st…… 题解列表 2024年04月05日 0 点赞 0 评论 332 浏览 评分:0.0
题解 2825: 计算多项式的值 (记录本题另一种计算结果精度损失的计算方式) 摘要:```c #include int main() { int i,j,n; double x,count=1.0,count_part; scanf("…… 题解列表 2024年04月05日 0 点赞 1 评论 251 浏览 评分:0.0
2814: 正常血压 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ long long a,spring=0,summer…… 题解列表 2024年04月05日 0 点赞 0 评论 414 浏览 评分:9.9
结构体之时间设计 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ struct Date { int year; int month; int day; }s; scanf…… 题解列表 2024年04月05日 0 点赞 0 评论 201 浏览 评分: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 评论 340 浏览 评分:9.9