C语言程序设计教程(第三版)课后习题11.8 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<malloc.h>typedef struct Lnode{ int no; int num; …… 题解列表 2018年04月04日 0 点赞 0 评论 1095 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题7.1 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int input , i; scanf("%d",&input); for( i = 2 ; i …… 题解列表 2018年04月04日 0 点赞 0 评论 723 浏览 评分:0.0
优质题解 Manchester- 蓝桥杯算法提高VIP-模拟计算器 摘要:解题思路:方法①: switch(choise_F(A)) { case 1:{printf("%d\n\n",x+y);b 题解列表 2018年04月04日 9 点赞 2 评论 4829 浏览 评分:8.2
汽水瓶 (C语言代码) 摘要:解题思路:规律注意我奇偶数情况合并了注意事项:参考代码:#include<stdio.h> int main(){ int n; do { scanf…… 题解列表 2018年04月04日 0 点赞 0 评论 882 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题5.4 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b,c,m; scanf("%d%d%d",&a,&b,&c); m = (a>b?a:b)>c?(…… 题解列表 2018年04月04日 0 点赞 0 评论 781 浏览 评分:0.0
11行代码就解决问题,觉得行的顺手点个赞呗 摘要:#include<stdio.h> #include<string.h> int main() { int i; char a[3]; gets(a); for(i=0;i<4;i++)…… 题解列表 2018年04月04日 2 点赞 0 评论 1156 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题11.3 (Java代码) 摘要:解题思路:注意事项:参考代码:import java.util.Scanner;public class A1050 { public static void main(String args[]) …… 题解列表 2018年04月04日 0 点赞 0 评论 1039 浏览 评分:0.0
简单的a+b (C语言代码) 摘要:解题思路:注意事项:参考代码#include <stdio.h> int main (void) { int a; int b; scanf ("%d%d",&a,&b); p…… 题解列表 2018年04月04日 0 点赞 0 评论 758 浏览 评分:0.0
C语言考试练习题_排列 (C语言代码)思路清晰 但是和答案输出顺序不同 不管了。。 摘要:根据中学排列组合的知识,4个数选3个数排列,结果共有C43乘上A33即4*3*2*1=24中排列方式。于是想到一种输出方法,参考代码如下:#include <stdio.h> int main(…… 题解列表 2018年04月04日 1 点赞 2 评论 550 浏览 评分:0.0
优质题解 蛇行矩阵 (C语言代码)找出首元素之间的规律,以及每一行元素之间的规律,即可求解。注释清晰,欢迎参考! 摘要:这种题目往往都是找出各个元素之间的规律。1 我们可以发现,每一行的首元素之间的规律为: a(n) = a(n - 1) + n - 1; a(1) = 1; 这个结论很容易就用一个for循环实现…… 题解列表 2018年04月04日 6 点赞 33 评论 9796 浏览 评分:9.3