简单易懂,不信你看一眼,而且真的很详细,纯白话,自己是小白,按照自己的理解解释的 摘要:```cpp 解题思路: 首先定义一个数组,将四个数存入数组。 由于是将三个数排列,所以可以先将其中一个数拿走(也就是在排列时不让其中一个参与),这里利用for循环从后往前(因为题中给…… 题解列表 2022年08月19日 0 点赞 0 评论 738 浏览 评分:9.1
冒泡排序的多次使用(C语言) 摘要:解题思路:利用冒泡排序依次对第一关键字 第二关键字 第三关键字进行相关条件排序即可注意事项:参考代码: #include<stdio.h> int main() { …… 题解列表 2022年08月19日 0 点赞 0 评论 560 浏览 评分:9.0
嘿嘿嘿来看看 摘要:#include #include int main(void) { int a[4]; for (int i=0;i…… 题解列表 2022年08月19日 0 点赞 0 评论 455 浏览 评分:0.0
小九九 常规做法 摘要:```c #include int main() { int sum=1,i,j; for(i=1;i…… 题解列表 2022年08月19日 0 点赞 0 评论 518 浏览 评分:0.0
Minesweeper(留个记录) 摘要:解题思路:注意事项:字符输入—scanf(" %c")(空格可换成\n \t),单个字符读取,可忽略掉空格、换行参考代码:#include <stdio.h> //查找周围雷的数量 int min…… 题解列表 2022年08月19日 0 点赞 0 评论 442 浏览 评分:9.9
编写题解 1035: [编程入门]自定义函数之字符类型统计 摘要:```c //自定义函数之字符类型统计 #include #include void StrStatic(){ char s[200]; gets(s);//接受输入的字符串,并保…… 题解列表 2022年08月18日 0 点赞 0 评论 491 浏览 评分:9.9
大家注意坑爹审题 摘要:解题思路:一次for循环轻松解决。注意事项:注意题目要求参考代码:#include<stdio.h>int main(){ int n,i,a=0,Sn=0; scanf("%d",&n); for(…… 题解列表 2022年08月18日 0 点赞 0 评论 572 浏览 评分:0.0
题目 1050: [编程入门]结构体之成绩记录 摘要:```cpp #include #include using namespace std; int n; struct node { string a, b; in…… 题解列表 2022年08月18日 0 点赞 0 评论 561 浏览 评分:9.9
[编程入门]数字逆序输出 摘要:解题思路:简单暴力注意事项:参考代码:int main(){ int a, b,c,d,e,f,g,h,i,j ; scanf("%d %d %d %d %d %d %d %d %d %d", &a,…… 题解列表 2022年08月18日 0 点赞 0 评论 537 浏览 评分:9.9
简单的模拟题,时间复杂度O(n+mlogm) 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;#define maxn 100010#define maxm 100010#def…… 题解列表 2022年08月18日 0 点赞 0 评论 506 浏览 评分:6.0