C二级辅导-同因查找 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main( ){ int a; for (a = 10;a <= 1000;a++) { if ((a % 2 == 0 &…… 题解列表 2018年04月23日 1 点赞 0 评论 563 浏览 评分:0.0
C语言训练-亲密数 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int A,B,s1=0,s2=0,i,j; for(A=1;A<=3000;A++) { …… 题解列表 2018年04月23日 0 点赞 0 评论 577 浏览 评分:0.0
C二级辅导-等差数列 (C语言代码) 摘要:解题思路:算前n项的值我们可以用递归来做请详见代码。注意事项:参考代码:#include <stdio.h>double Ri(int nlm, int c, int n);int main(){ i…… 题解列表 2018年04月23日 0 点赞 0 评论 793 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题5.7 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<iostream>const int maxn =1e2+10;using namespace std;int nixu(int a)//逆序{ …… 题解列表 2018年04月23日 0 点赞 0 评论 683 浏览 评分:0.0
简单的a+b (C语言代码) 摘要:解题思路:###注意事项:符号别写漏参考代码:#includeint main (){ int a,b,c; c=a+b; printf("%d\n",c);} …… 题解列表 2018年04月23日 0 点赞 0 评论 736 浏览 评分:0.0
C语言训练-8除不尽的数 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int x,a,t; if(x%8==1) { t=(x-1)/8; …… 题解列表 2018年04月23日 0 点赞 0 评论 964 浏览 评分:6.0
简单的a+b (C语言代码) 摘要:解题思路:注意事项:参考代码:# include <stdio.h>int main (){int a ,b ;printf("enter a , b:") ;scanf ("%d",a,b):int…… 题解列表 2018年04月23日 0 点赞 0 评论 591 浏览 评分:0.0
C语言训练-最大数问题 (C语言代码) 摘要:解题思路:写一个死循环,一直输入数字,当不是-1的时候判断,max和num的大小,如果num大则max=num;如果等于-1,退出循环。注意事项:参考代码:#include <stdio.h>int …… 题解列表 2018年04月22日 0 点赞 0 评论 532 浏览 评分:0.0
C语言训练-阶乘和数* (Java代码)逗比答案 摘要:解题思路:abcde分别代表个十百千万注意事项:如何输出排序?原有数组处理后比较,再输出参考代码:public class m { public static void main(String ar…… 题解列表 2018年04月22日 0 点赞 0 评论 731 浏览 评分:0.0
优质题解 Manchester-定位子串(朴素串模式匹配) 摘要:解题思路:1):设主串为A B C D E F G H I G K2):设模式串为E F G3):①:开始,先从主串的第一个字符开始匹配A B C D E F G …… 题解列表 2018年04月22日 9 点赞 1 评论 1146 浏览 评分:9.9