A+B for Input-Output Practice-题解(C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n, x, i, y, sum = 0; scanf("%d", &n); while…… 题解列表 2020年12月15日 0 点赞 0 评论 287 浏览 评分:0.0
二级C语言-平均值计算-题解(C语言代码) 摘要:解题思路:注意事项:参考代码: #include<stdio.h> int main(){ int a[10],i,n,s=0,t=0; for(i=0;i<10;i+…… 题解列表 2020年12月14日 0 点赞 0 评论 233 浏览 评分:0.0
[编程入门]有规律的数列求和-题解(C语言代码) 摘要:解题思路:一般数列题都死=是有规律的,多试几个方式慢慢找到规律注意事项:由于涉及到除法,设置变量时需要多加注意参考代码:#include <stdio.h>#include <stdlib.h>int…… 题解列表 2020年12月14日 0 点赞 0 评论 242 浏览 评分:0.0
数据结构-字符串插入-题解(C语言代码) 摘要:解题思路:注意事项:参考代码:#include#include#define N 127//限制长度为127int main(){ char a[N],b[N]; int i,n,leng…… 题解列表 2020年12月14日 0 点赞 1 评论 639 浏览 评分:6.0
[编程入门]自定义函数之字符串反转-题解(C语言代码) 摘要:解题思路:用另外一个数组保存从尾至头的数据,判断当前元素不是空格则存储注意事项:用来存储的数组不能跟源数组的下标同时++参考代码:#include "stdio.h"#include "string.…… 题解列表 2020年12月14日 0 点赞 0 评论 450 浏览 评分: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 评论 239 浏览 评分: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 评论 425 浏览 评分:9.9
蓝桥杯算法训练-大小写转换-题解(C++代码) 摘要:解题思路:注意事项:参考代码:#include using namespace std; int main() { char a[21]; cin>>a; int …… 题解列表 2020年12月14日 0 点赞 0 评论 567 浏览 评分:9.9
[编程入门]阶乘求和-题解(C语言代码) 摘要:解题思路:简单清晰的思路!!注意事项:参考代码:#include<stdio.h>int main(){ int n,i; long long a=1,Sn=0; scanf("%d",…… 题解列表 2020年12月14日 0 点赞 0 评论 273 浏览 评分: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 评论 221 浏览 评分:0.0