C语言程序设计教程(第三版)课后习题5.7 C语言 摘要:解题思路:注意事项:注意,strlen是量字符串的长度的,小心。参考代码:#include<stdio.h>#include<string.h>int main(void){ char val[…… 题解列表 2019年02月18日 0 点赞 0 评论 731 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题11.1 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>struct date{ int year; int month; int day;}aa;void main(){ int a[12]…… 题解列表 2019年02月18日 0 点赞 0 评论 823 浏览 评分:0.0
题解1136 你猜这次有没有小技巧呢?(C语言代码) 摘要:利用循环,然后注意一下取位的方法就ojbk了!这次没有小技巧唔!#include<stdio.h>int main(){ int a;for(int a=1000;a<10000;a++){ int …… 题解列表 2019年02月18日 0 点赞 0 评论 881 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题7.2 (C语言代码)冒泡选择排序 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(void){ int vals[10]; int i, j, t; for (i = 0; i < …… 题解列表 2019年02月19日 0 点赞 0 评论 1182 浏览 评分:0.0
核电站问题 (C语言代码) 摘要:解题思路:a[i]=a[i-1]*2-a[i-4]注意事项:参考代码:#include<stdio.h>int main(){int a[41],i,y;while(scanf("%d",&y)!= …… 题解列表 2019年02月19日 0 点赞 0 评论 1256 浏览 评分:0.0
用筛法求之N内的素数。 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <math.h>int xt(int x);int main(){ int i, n; scanf("%d", &n…… 题解列表 2019年02月19日 0 点赞 0 评论 588 浏览 评分:0.0
C语言训练-大、小写问题 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <ctype.h>int main(){ char a[100]; int i; gets(a); for (i =…… 题解列表 2019年02月19日 0 点赞 0 评论 867 浏览 评分:0.0
杨辉三角 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int i, j, k, n, a[100][100]; while (scanf("%d", &n) != …… 题解列表 2019年02月19日 0 点赞 0 评论 920 浏览 评分:0.0
蓝桥杯算法提高VIP-大数加法 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h> // 个人认为最好理解的大数加法#include <string.h>int main(){ char a[1000], b[10…… 题解列表 2019年02月19日 0 点赞 0 评论 1008 浏览 评分:0.0
蓝桥杯算法训练VIP-调和数列问题 (C语言代码) 摘要:解题思路:循环加法注意事项:实数类型注意数据细节就行了参考代码:#include <stdio.h>int main(){ double x, t, s; int i, j, ok, a; while…… 题解列表 2019年02月19日 0 点赞 0 评论 1171 浏览 评分:0.0