马拦过河卒 (C语言代码) 摘要:解题思路:用递归遍历每一种情况,并且根据马的位置去掉不能走过的点注意事项:参考代码:#include <stdio.h>int computer(int x1, int y1, int x, int …… 题解列表 2017年12月18日 0 点赞 0 评论 1456 浏览 评分:0.0
检查金币 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <math.h>int main(void){ int num[10]; int i, j, k, l, q, w,…… 题解列表 2017年12月18日 0 点赞 0 评论 1144 浏览 评分:0.0
回文数(一) (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <math.h>int main(void){ int i, j, l, k, m, x, y, z, h, gao…… 题解列表 2017年12月18日 0 点赞 0 评论 1049 浏览 评分:0.0
众数问题 (C语言代码) 摘要:解题思路:记录每一个数字的出现次数并比较注意事项:参考代码:#include <stdio.h>int main(void){ int i, j, n, count, min, digit, coun…… 题解列表 2017年12月18日 0 点赞 0 评论 1984 浏览 评分:6.5
Manchester-求函数值 摘要:解题思路:如果x大于0,则执行函数:如果x==1返回10;如果x>1,递归x-1,返回f(x-1)+2;输出f(x);参考代码:#include <stdio.h> int f( int x );…… 题解列表 2017年12月18日 21 点赞 4 评论 1064 浏览 评分:9.3
Manchester- 求具有abcd=(ab+cd)2性质的四位数 摘要:解题思路:判断所有四位数,满足条件输出该四位数加两空格;参考代码:#include <stdio.h> #include <math.h> int main() { for ( i…… 题解列表 2017年12月18日 20 点赞 1 评论 1269 浏览 评分:9.5
C语言程序设计教程(第三版)课后习题10.7 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <string.h>char b[80];void cp(int n,char s[],int m){ int…… 题解列表 2017年12月17日 0 点赞 0 评论 876 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题11.3 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#define N 100struct student{ char num[10]; char name[10]; i…… 题解列表 2017年12月17日 0 点赞 0 评论 916 浏览 评分:0.0
WU-C语言考试练习题_一元二次方程 (C语言代码) 摘要:参考代码:#include<stdio.h> #include<math.h> int main() { double a,b,c; scanf("%lf%lf%lf",&a,&b,&c…… 题解列表 2017年12月17日 9 点赞 1 评论 1323 浏览 评分:9.2
蓝桥杯算法提高VIP-数组替换 (C++代码) 摘要:#include<iostream> using namespace std; void add(int a[], int e, int b[], int f){ …… 题解列表 2017年12月17日 0 点赞 0 评论 1265 浏览 评分:0.0