Hifipsysta-1106-奖学金(C++代码)结构体排序 摘要:```cpp #include #include using namespace std; const int MAXN=1000; struct student{ int…… 题解列表 2022年02月07日 0 点赞 0 评论 402 浏览 评分:0.0
优质题解 公交汽车(C++) 摘要:- 定义变量 题目中说明有需要10个整数代表不同路程的费用,于是先声明一个数组(名为worth,长度为11,worth[0]为空,worth[1~10]表示一次性行走1~10公里所需费用) 接着定…… 题解列表 2022年02月07日 0 点赞 0 评论 1063 浏览 评分:9.6
Hifipsysta-1096-Minesweeper(C++代码)空间搜索法 摘要:```cpp #include using namespace std; const int MAXN=100; struct node{ int x; int y…… 题解列表 2022年02月07日 0 点赞 0 评论 421 浏览 评分:0.0
优质题解 python-最优包含 摘要:解题思路:动态规划。①创建一个大小为(n+1)*(m+1)的二维数组,命名为dp,n和m分别为字符串s、t的长度。 其中dp[i][j]表示s中的前i个字符要想包含t的前j个字符最少需要修改几次。…… 题解列表 2022年02月07日 0 点赞 0 评论 720 浏览 评分:9.9
编写题解 1011: [编程入门]最大公约数与最小公倍数 摘要:解题思路:其中有为最大公因数,最小公倍数的先讨论;eg 6 2然后是找最小数的因数再找共同的因数注意事项:参考代码:def f(a,b): yinshu=[] gys=[] q=0 …… 题解列表 2022年02月07日 0 点赞 0 评论 395 浏览 评分:0.0
【C语言】简单的排序问题 摘要:解题思路: 这题考察的就是排序问题,不过这里的排序对象变成了字符串 所以我们要使用 strcmp(str1,str2); 如果str1 > str2 则函数返回 > 0 的值…… 题解列表 2022年02月07日 0 点赞 0 评论 380 浏览 评分:0.0
【C语言】简单的输出 摘要:解题思路: 直接按照题目需求输出就行了 不过有一个需要注意的地方:就是数字之前除了占位符的空隙外,还有一个空格参考代码: 简单的输出:#include<stdio.h…… 题解列表 2022年02月07日 0 点赞 0 评论 318 浏览 评分:0.0
Hifipsysta-1976-蓝桥杯算法提高VIP-删除重复元素(C++代码)频数统计法,扫描两遍就出来了 摘要:```cpp #include #include using namespace std; const int MAXN=128; int table[MAXN]; int mai…… 题解列表 2022年02月07日 0 点赞 0 评论 393 浏览 评分:0.0
蓝桥杯2013年第四届真题-打印十字图(C语言版)简单找规律 摘要:# 解题思路: 根据图片找规律  #具体代码: ```c #include void…… 题解列表 2022年02月07日 0 点赞 0 评论 467 浏览 评分:9.9
明明白白的 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ long int n; while (scanf("%d", &n) != EOF) { long int s…… 题解列表 2022年02月07日 0 点赞 0 评论 337 浏览 评分:0.0