红红火火恍恍惚惚或或或或或或或或或或或或或或或或或或或或或或或 摘要:解题思路:注意事项:1492(题号)参考代码:#include<iostream>#include<cstring>using namespace std;int tag[10][10],d[10],…… 题解列表 2024年08月24日 0 点赞 0 评论 287 浏览 评分:9.9
1011: [编程入门]最大公约数与最小公倍数 摘要:参考代码:#include<bits/stdc++.h>using namespace std;typedef int ll;ll n,m;int main(){ cin>>n>>m; int mx=…… 题解列表 2024年08月24日 0 点赞 1 评论 304 浏览 评分:9.9
1492 蓝桥杯算法提高VIP-产生数 摘要:解题思路:无注意事项:无参考代码:#include<iostream>#include<cstring>using namespace std;int tag[10][10],d[10],p[1000…… 题解列表 2024年08月24日 0 点赞 0 评论 282 浏览 评分:10.0
铺地毯 利用二维数组 易懂 摘要:解题思路:利用二维数组形成矩阵,答案中感觉比较少提到这种方法,在这里我来给出,请不吝赐教。参考代码: int n; scanf("%d",&n); …… 题解列表 2024年08月23日 1 点赞 0 评论 212 浏览 评分:6.0
结构体数组解决(c语言代码) 摘要:```c #include #include #define MAX 101 typedef struct { // 定义一个结构体 char s[MAX];…… 题解列表 2024年08月23日 0 点赞 0 评论 230 浏览 评分:0.0
[编程入门]自定义函数求一元二次方程 摘要:解题思路:定义三个子函数,分别求取判别式(b^2-4*a*c)在>0(两个不同根),=0(两个相同根),<0(无实数根,输出虚数根)时的根,并输出就可以了注意事项:1.使用函数pow(x,n)和sqr…… 题解列表 2024年08月23日 0 点赞 0 评论 357 浏览 评分:0.0
排序(n个数从小到大) 摘要: [========] #include void sort(int a[],int n) //定义一个排序函数sort { …… 题解列表 2024年08月23日 1 点赞 0 评论 631 浏览 评分:4.0
菜鸟编程,高手勿看 摘要:解题思路:利用while 循环来进行元素逆置注意事项:参考代码:#include<iostream>using namespace std;int main(){ int arr[10]; for (…… 题解列表 2024年08月23日 0 点赞 0 评论 260 浏览 评分:9.9
白细胞计数 学习新函数 摘要:解题思路:利用冒泡排序,直接从小到大排好数组顺序(或者利用algorithm库的sort函数排序)再利用cmath库求绝对值和较大的数省去重复利用if-else函数,使代码更简洁客观参考代码:int …… 题解列表 2024年08月23日 0 点赞 0 评论 249 浏览 评分:9.9
2875: 回文子串 摘要:解题思路:注意事项:参考代码:#include <stdlib.h> #include <stdio.h> #include <iostream> #include <string.h> us…… 题解列表 2024年08月23日 0 点赞 0 评论 175 浏览 评分:9.9