[编程入门]有规律的数列求和-题解(C语言代码) 摘要:解题思路:一般数列题都死=是有规律的,多试几个方式慢慢找到规律注意事项:由于涉及到除法,设置变量时需要多加注意参考代码:#include <stdio.h>#include <stdlib.h>int…… 题解列表 2020年12月14日 0 点赞 0 评论 332 浏览 评分:0.0
数据结构-字符串插入-题解(C语言代码) 摘要:解题思路:注意事项:参考代码:#include#include#define N 127//限制长度为127int main(){ char a[N],b[N]; int i,n,leng…… 题解列表 2020年12月14日 0 点赞 1 评论 821 浏览 评分:6.0
[编程入门]自定义函数之字符串反转-题解(C语言代码) 摘要:解题思路:用另外一个数组保存从尾至头的数据,判断当前元素不是空格则存储注意事项:用来存储的数组不能跟源数组的下标同时++参考代码:#include "stdio.h"#include "string.…… 题解列表 2020年12月14日 0 点赞 0 评论 587 浏览 评分:0.0
[编程入门]矩阵对角线求和-题解(C语言代码) 摘要:解题思路:注意事项:参考代码:# include<stdio.h>int main(void){ int a[3][3]; int i, j; int sum1=0, sum2=0;…… 题解列表 2020年12月14日 0 点赞 0 评论 345 浏览 评分:0.0
[编程入门]正儿八经的C语言代码,简单易懂。 摘要:解题思路:注意事项:参考代码:#include<stdio.h>struct student { char id[20]; char name[30]; int a[3];};int i, n;str…… 题解列表 2020年12月14日 0 点赞 3 评论 480 浏览 评分:9.9
蓝桥杯算法训练-大小写转换-题解(C++代码) 摘要:解题思路:注意事项:参考代码:#include using namespace std; int main() { char a[21]; cin>>a; int …… 题解列表 2020年12月14日 0 点赞 0 评论 706 浏览 评分:9.9
[编程入门]阶乘求和-题解(C语言代码) 摘要:解题思路:简单清晰的思路!!注意事项:参考代码:#include<stdio.h>int main(){ int n,i; long long a=1,Sn=0; scanf("%d",…… 题解列表 2020年12月14日 0 点赞 0 评论 387 浏览 评分:9.9
蓝桥杯算法提高VIP-前10名-题解(C语言代码)冒泡加调用 摘要:解题思路:注意事项:参考代码: #include <stdio.h> int s(int a[],int n) { int i,j,t; for(i=0;i<n;i++)…… 题解列表 2020年12月14日 1 点赞 0 评论 279 浏览 评分:0.0
C语言训练-自守数问题-题解(C语言代码)简洁代码! 摘要:解题思路:输出空两个空格注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ long long int i,y; for(i=0;…… 题解列表 2020年12月14日 0 点赞 2 评论 934 浏览 评分:9.9
[编程入门]水仙花数判断-题解(C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int num,a,b,c; for(num=100;num<1000;num++) { …… 题解列表 2020年12月14日 0 点赞 0 评论 697 浏览 评分:9.9