C语言程序设计教程(第三版)课后习题6.10 (C语言代码) 摘要:解题思路:注意事项:参考代码#include<stdio.h>int main(){ int N,sum=1;//N天数,sum为水果个数 scanf("%d",&N); for (int i …… 题解列表 2018年06月01日 0 点赞 0 评论 998 浏览 评分:0.0
C语言训练-字符串正反连接 (C++代码) 摘要:注意事项:VS2017是gets_s()不是gets().参考代码:#include<iostream> #include<cstring> using namespace std; int m…… 题解列表 2018年06月01日 1 点赞 0 评论 1556 浏览 评分:6.0
C语言训练-大、小写问题 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h> #include <string.h> int main() { int i; char s[101]; gets…… 题解列表 2018年06月01日 0 点赞 0 评论 1970 浏览 评分:0.0
开心的金明 (C语言代码)------------------C语言——菜鸟级 摘要:解题思路: 经典 01背包问题 注意事项:参考代码:#include <stdio.h> #include <string.h> #define M 30010 #define Max(a,b)…… 题解列表 2018年06月01日 10 点赞 0 评论 3402 浏览 评分:9.1
小O的数字 (C语言代码) 摘要:#include<stdio.h> int main() { int i,n,k,kk,s,x; char a0[5][4]={"***","* *","* *","* *",…… 题解列表 2018年05月31日 0 点赞 0 评论 1498 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题7.5 (C语言代码) 摘要:解题思路:数组双头通过中间值交换就可以;注意事项:参考代码:# include<stdio.h>int main(){ int i = 0, j = 0, temp = 0; int a[…… 题解列表 2018年05月31日 0 点赞 0 评论 1040 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题7.4 (C语言代码) 摘要:解题思路:第一判断在第几个字符插入,然后腾出空间,最后写入。注意事项:参考代码:# include<stdio.h>int main(){ int i = 0, j = 0, temp = 0,…… 题解列表 2018年05月31日 0 点赞 0 评论 1094 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题6.4 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b,c,i; b=0; c=1; scanf ("%d",&a); for…… 题解列表 2018年05月31日 0 点赞 0 评论 1150 浏览 评分:0.0
小O的乘积 (C语言代码) 摘要:#include<stdio.h> int main() { int i,n,a[100000],a1,a2,a3,a4,a5,a6,b1,b2,xb1,xb2; while(scanf(…… 题解列表 2018年05月31日 0 点赞 0 评论 2615 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题7.3 (C语言代码) 摘要:解题思路:简单明了注意事项:参考代码:# include<stdio.h>int main(){ int i=0; int str1[3],str2[3],str3[3]; whil…… 题解列表 2018年05月31日 0 点赞 0 评论 1037 浏览 评分:0.0