C语言程序设计教程(第三版)课后习题8.4 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdlib.h>#include<stdio.h>int main(){ int a,b,c,d,e,f,g,h,i; scanf("%…… 题解列表 2018年09月01日 0 点赞 0 评论 712 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题8.3 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <stdlib.h>int ISPRIME(int n){ for(int i=2;i<=n/2;i++) …… 题解列表 2018年09月01日 0 点赞 0 评论 693 浏览 评分:0.0
求两个集合交集 (Java代码) 摘要:解题思路:注意事项:参考代码:Scanner sc=new Scanner(System.in); int n=sc.nextInt(); int m=sc.nextInt…… 题解列表 2018年09月01日 1 点赞 0 评论 989 浏览 评分:0.0
Tom数 (C语言代码) 摘要:解题思路:注意事项:注意sum重新置为零,注意字符类型为long long参考代码:#include<stdio.h>int main(){ int long long n,m,sum=0; whi…… 题解列表 2018年09月01日 0 点赞 0 评论 847 浏览 评分:0.0
C语言考试练习题_保留字母 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<ctype.h>int main(){ char a[1000]; gets(a); for(int i=0;a[i]…… 题解列表 2018年09月01日 0 点赞 0 评论 731 浏览 评分:0.0
数据结构-双向循环链表 (C语言代码) 摘要:解题思路:真是坑人啊!明明是对的就是提交了好几次。注意事项:注意得有return 0;还有就是想开头说的开始必须得是空表。还有代码不能加注释的我就加了出错了。参考代码:#include<stdio.h…… 题解列表 2018年08月31日 0 点赞 1 评论 672 浏览 评分:0.0
蓝桥杯算法训练VIP-删除多余括号 (C语言代码) 摘要:解题思路: 详见T1194。参考代码:#include<stdio.h> #include<string.h> int level[123] = { 0 }; // 返回值…… 题解列表 2018年08月31日 0 点赞 0 评论 1723 浏览 评分:9.9
区间中最大的数 (Java代码) 摘要:Scanner sc=new Scanner(System.in); int n=sc.nextInt(); int arr[]=new int[n]; for(int a=0;a<…… 题解列表 2018年08月31日 0 点赞 0 评论 1134 浏览 评分:0.0
与2无关的数 (Java代码) 摘要:Scanner sc=new Scanner(System.in); int n=sc.nextInt(); int sum=0; for(int a=1;a<=n;a++) { …… 题解列表 2018年08月31日 0 点赞 0 评论 1212 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题7.5 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <stdlib.h>int main(){ int a[10]; for(int i=0;i<=9;i+…… 题解列表 2018年08月31日 0 点赞 0 评论 814 浏览 评分:0.0