909090909090909090909090909 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int a[15][15],c=0;void f(int x,int y){ if(…… 题解列表 2024年08月24日 0 点赞 0 评论 153 浏览 评分:9.9
909090909090909090909090909 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<queue>using namespace std;const int n=10;int a[n+5][n+5];i…… 题解列表 2024年08月24日 0 点赞 0 评论 159 浏览 评分:9.9
红红火火恍恍惚惚或或或或或或或或或或或或或或或或或或或或或或或 摘要:解题思路:注意事项:1492(题号)参考代码:#include<iostream>#include<cstring>using namespace std;int tag[10][10],d[10],…… 题解列表 2024年08月24日 0 点赞 0 评论 243 浏览 评分: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 评论 267 浏览 评分:9.9
1492 蓝桥杯算法提高VIP-产生数 摘要:解题思路:无注意事项:无参考代码:#include<iostream>#include<cstring>using namespace std;int tag[10][10],d[10],p[1000…… 题解列表 2024年08月24日 0 点赞 0 评论 239 浏览 评分:10.0
铺地毯 利用二维数组 易懂 摘要:解题思路:利用二维数组形成矩阵,答案中感觉比较少提到这种方法,在这里我来给出,请不吝赐教。参考代码: int n; scanf("%d",&n); …… 题解列表 2024年08月23日 1 点赞 0 评论 184 浏览 评分:6.0
结构体数组解决(c语言代码) 摘要:```c #include #include #define MAX 101 typedef struct { // 定义一个结构体 char s[MAX];…… 题解列表 2024年08月23日 0 点赞 0 评论 195 浏览 评分:0.0
[编程入门]自定义函数求一元二次方程 摘要:解题思路:定义三个子函数,分别求取判别式(b^2-4*a*c)在>0(两个不同根),=0(两个相同根),<0(无实数根,输出虚数根)时的根,并输出就可以了注意事项:1.使用函数pow(x,n)和sqr…… 题解列表 2024年08月23日 0 点赞 0 评论 311 浏览 评分:0.0
排序(n个数从小到大) 摘要: [========] #include void sort(int a[],int n) //定义一个排序函数sort { …… 题解列表 2024年08月23日 1 点赞 0 评论 575 浏览 评分:4.0
菜鸟编程,高手勿看 摘要:解题思路:利用while 循环来进行元素逆置注意事项:参考代码:#include<iostream>using namespace std;int main(){ int arr[10]; for (…… 题解列表 2024年08月23日 0 点赞 0 评论 227 浏览 评分:9.9