3019: 约瑟夫问题 摘要:```cpp #include using namespace std; int main() { int n,m,i,j=1,count=0,a[10001],b[10001]; …… 题解列表 2023年01月09日 0 点赞 0 评论 529 浏览 评分:9.0
2769: 计算并联电阻的阻值 摘要:```cpp #include #include using namespace std; int main() { double r1,r2; cin>>r1>>r2;…… 题解列表 2023年01月11日 0 点赞 0 评论 480 浏览 评分:9.0
1313: 字符串的距离 摘要:```cpp #include #include #include using namespace std; int A[2010][2010],len1,len2,k; char s1[…… 题解列表 2023年01月12日 0 点赞 0 评论 483 浏览 评分:9.0
题解:蓝桥杯2020年第十一届省赛真题-成绩分析 摘要:#### 简单思路:使用整数`mx=0`筛选`n`个数中的最大值,`mn=100`筛选出`n`个数中的最小值,浮点数`avg=0`累加`n`个数的和 ##### 注意事项:求最大值,初始值设定为…… 题解列表 2023年01月14日 0 点赞 0 评论 399 浏览 评分:9.0
题解 2841: 大整数加法 (c++)string解题 摘要:解题思路:用string把输入的数字倒叙存入在数组里面,然后进行对位相加,再倒叙输出参考代码:#include <iostream> using namespace std; string s1,…… 题解列表 2023年01月19日 1 点赞 0 评论 507 浏览 评分:9.0
输出第n名的排序程序 摘要:```c #include int main() { int sum, rank, r[100] = { 0 }, num[100];//r[]数组存放排名,num[]数组存放学号 fl…… 题解列表 2023年01月20日 0 点赞 1 评论 458 浏览 评分:9.0
利用scanf的特性 摘要:解题思路:注意事项:注意最后一个单词有 . 号参考代码:#include<stdio.h>#include<string.h>int main(){ char str[1000][500]; int …… 题解列表 2023年01月23日 0 点赞 0 评论 497 浏览 评分:9.0
python两行代码通过 摘要:##### 关于找到规律之后python两行代码通过这件事 ```python n,s=map(int,input().split()) print ((int(s)+int(2**(n+1)-…… 题解列表 2023年02月01日 0 点赞 0 评论 449 浏览 评分:9.0
<循环>求平均年龄(C语言) 摘要:#include<stdio.h> int main() { int n, age=0,sum=0; double average; scanf("%d", &n); for (i…… 题解列表 2023年02月10日 0 点赞 0 评论 785 浏览 评分:9.0
判决素数个数(C语言) 摘要:#include<stdio.h> int main() { int X, Y,x=1,count=0,k; scanf("%d%d", &X, &Y); for (int j = X…… 题解列表 2023年02月12日 0 点赞 0 评论 720 浏览 评分:9.0