C语言程序设计教程(第三版)课后习题6.10 (C语言代码) 摘要:解题思路:抓住单位“1”就好做多啦注意事项:参考代码:#include<stdio.h>int main(){ int a=1,n,i; scanf("%d",&n); for(i=1;i<n;…… 题解列表 2018年08月15日 1 点赞 0 评论 726 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题8.5 (C语言代码) 摘要:解题思路:注意事项:代码的空间是个大问题。参考代码:#include<stdio.h>int main(){ char x; int i,item=10000,number,size;//x用来…… 题解列表 2018年08月15日 1 点赞 0 评论 1154 浏览 评分:0.0
printf基础练习2 (C语言代码) 摘要:解题思路:注意事项:注意空格和换行参考代码:#include <stdio.h> int main(){ int n; scanf("%d", &n); //printf…… 题解列表 2018年08月15日 0 点赞 0 评论 926 浏览 评分:0.0
C语言训练-计算1977!* (C语言代码)大数乘法应用,运用三个数组 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#define m 9999void main(){ int a[m]={0},b[m]={0},d[m]={0}; a[0]=2;d[…… 题解列表 2018年08月15日 1 点赞 1 评论 494 浏览 评分:0.0
数据结构-KMP字符串模式匹配算法实现 (C++代码) 摘要:#include <iostream> #include <stdio.h> #include <algorithm> #include <cstring> using namespace s…… 题解列表 2018年08月15日 1 点赞 0 评论 902 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题5.7 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include "stdio.h"int main(){ int num,a[5],count=0; scanf("%d",&num); a[0]=num/10000;…… 题解列表 2018年08月15日 0 点赞 0 评论 956 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题1.6 (C语言初学) 摘要:解题思路:显然这题要用if来写 注意事项:注意到,可以有两种写法 一种就是超级麻烦的一个个情况去列。。。。。。但是你一定要这么做,我也没办法咯 …… 题解列表 2018年08月15日 6 点赞 0 评论 2075 浏览 评分:0.0
蓝桥杯算法提高VIP-乘法运算 (C++代码)按部就班 摘要:解题思路:数字其实都是有4个域宽的,只要知道是4个域宽那就好办了如:域宽我这里用#表示,×这个符号占了2个##### ####× ##   题解列表 2018年08月16日 14 点赞 0 评论 1852 浏览 评分:0.0
蓝桥杯算法提高VIP-递归倒置字符数组 (C语言代码) 摘要:解题思路:参考前一位用c编写的注意事项:奇数偶数,不要在循环末尾输出两排一样的字符串。参考代码:#include<stdio.h>#include<string.h>int main(){int i,…… 题解列表 2018年08月16日 1 点赞 0 评论 1644 浏览 评分:0.0
蓝桥杯2014年第五届真题-分糖果 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n,c=0,i,f; int a[100],b[100];//用a[i]来表示糖果数 scanf("%d…… 题解列表 2018年08月16日 0 点赞 0 评论 838 浏览 评分:0.0