题解 1025: [编程入门]数组插入处理(C) 摘要:解题思路:本题中,我没有对数组进行任何改变,只是通过控制输出,达到题目要求,参见代码:#include<stdio.h> int main(void){ int array[9]; in…… 题解列表 2022年08月08日 0 点赞 0 评论 258 浏览 评分:0.0
11111111111111111111111111111111111111111111111 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ string str1="0",str; int n; ci…… 题解列表 2022年08月08日 0 点赞 0 评论 396 浏览 评分:0.0
1111111111111111111111111111111111111111111111111111 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int n,m,suma=0,sumb=0; cin>>n>…… 题解列表 2022年08月08日 0 点赞 0 评论 394 浏览 评分:0.0
1111111111111111111111111111111111111111 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n,t=1,sum=0; scanf("%d",&n); for(int i=1;i<=n/2;i++)…… 题解列表 2022年08月08日 0 点赞 0 评论 351 浏览 评分:0.0
11111111111111111111111111111111111111111111111 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n; scanf("%d",&n); for(int i=1;i<=n;i++) { if(n%i==…… 题解列表 2022年08月08日 0 点赞 0 评论 298 浏览 评分:0.0
11111111111111111111111111111111111111111111111111 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b,c; scanf("%d%d%d",&a,&b,&c); for(int i=a;i<=b;i+…… 题解列表 2022年08月08日 0 点赞 0 评论 486 浏览 评分:0.0
新手,希望大佬能看看我的短处 摘要:解题思路:注意事项:参考代码:#include <stdio.h>char* liu_0(char* arr){for(int i=0;i<4;i++){printf("%c",arr[i]);for…… 题解列表 2022年08月08日 0 点赞 0 评论 267 浏览 评分:0.0
蓝桥杯2017年第八届真题-发现环(并查集, DFS) 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;const int N = 1e5 + 7;int p[N];bool vis[N]…… 题解列表 2022年08月08日 0 点赞 0 评论 413 浏览 评分:0.0
1059: 二级C语言-等差数列 摘要:解题思路:sum=2+5+8+11+14+…,输入正整数n,求sum的前n项和。根据题目要求,我们需要 元素个数 元素各值 数列之和 三个量 以及通项公式的计算(笑)注意事项:当for语句中i…… 题解列表 2022年08月08日 0 点赞 0 评论 368 浏览 评分:0.0
蓝桥杯2017年第八届真题-合根植物(C++) 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;const int N = 1e6 + 5;int p[N];int getFath…… 题解列表 2022年08月08日 0 点赞 0 评论 365 浏览 评分:0.0