编写题解 1044: [编程入门]三个字符串的排序,自己造轮子的那种 摘要:~~其实这道题目哈,如果是调用方法,很简单的,但是学习嘛就是要理解其中的原理,今天我用自定义方法来写的。~~ 解题思路: 一看题目,就知道是排序了; 首先我得读取三个字符串数组吧,那我定义一个字…… 题解列表 2021年12月16日 0 点赞 0 评论 522 浏览 评分:9.9
2131-01背包-动态规划 摘要:#include<stdio.h> int a[31][201]; int max(int a,int b) { return a>b?a:b; } void beibao(int M,…… 题解列表 2021年12月16日 0 点赞 0 评论 342 浏览 评分:9.9
编写题解 1019: [编程入门]自由下落的距离计算 摘要:解题思路:for循环注意事项:求总路程的时候要减去最后一次反弹的高度参考代码:#include<stdio.h>int main(){ int n; float h; scanf("…… 题解列表 2021年12月16日 0 点赞 0 评论 201 浏览 评分:9.9
用二维数组解决问题 摘要:解题思路:我们举一个例子设一个二维数组a[i][j],当N=5的时候这个矩阵是这个样子(里面的数字是随便给的) a[0] a[1] a[2] a[3] a[4]a[0] 1 …… 题解列表 2021年12月16日 0 点赞 0 评论 303 浏览 评分:0.0
Minesweeper(c 语言)简单明了 摘要:解题思路:注意事项:参考代码:#include<stdio.h>char sweep(char a[][100],int n,int m){ int i,j,k=0; char coun…… 题解列表 2021年12月16日 0 点赞 1 评论 352 浏览 评分:9.9
构造数字排序(C++) 摘要:解题思路:使用数字排序 控制格式输出注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int a,b,c,…… 题解列表 2021年12月15日 0 点赞 0 评论 460 浏览 评分:9.9
自定义函数之整数处理 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a[10]; shuru(a); xunhuan(a); output(a); return 0;…… 题解列表 2021年12月15日 0 点赞 0 评论 204 浏览 评分:0.0
1113: C语言考试练习题_保留字母 摘要:#include<bits/stdc++.h> using namespace std; int main(){ string s; cin >> s; for…… 题解列表 2021年12月15日 0 点赞 0 评论 261 浏览 评分:0.0
1019: [编程入门]自由下落的距离计算 摘要:解题思路:把球落下和上升看做一个反弹周期,每个反弹周期经过的距离等于每个反弹周期时反弹高度*3参考代码:#includeint main(){ double m,n,sum=0; scan…… 题解列表 2021年12月15日 0 点赞 0 评论 262 浏览 评分:9.9
1480: 蓝桥杯算法提高VIP-模拟计算器 摘要:无脑 switch 就完事儿了。#include<bits/stdc++.h> using namespace std; int main(){ int a,b; cha…… 题解列表 2021年12月15日 0 点赞 0 评论 161 浏览 评分:0.0