众数问题 (C语言代码) 摘要:解题思路:记录每一个数字的出现次数并比较注意事项:参考代码:#include <stdio.h>int main(void){ int i, j, n, count, min, digit, coun…… 题解列表 2017年12月18日 0 点赞 0 评论 1930 浏览 评分:6.5
回文数(一) (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 评论 1011 浏览 评分: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 评论 1063 浏览 评分:0.0
马拦过河卒 (C语言代码) 摘要:解题思路:用递归遍历每一种情况,并且根据马的位置去掉不能走过的点注意事项:参考代码:#include <stdio.h>int computer(int x1, int y1, int x, int …… 题解列表 2017年12月18日 0 点赞 0 评论 1418 浏览 评分:0.0
剔除相关数 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <math.h>typedef struct Node{ int pre; int change; int flag…… 题解列表 2017年12月18日 0 点赞 0 评论 812 浏览 评分:0.0
优质题解 Manchester-求矩阵的两对角线上的元素之和(一维数组代替二维数组) 摘要:解题思路:1.用一维数组代替二维数组;2.设Length为二维数组中每行的长度;3.对应一维数组长度为pow(Length,2);4.设i代表行数,从1开始;(也可以从0开始,但下面关系式要变)5.则…… 题解列表 2017年12月18日 14 点赞 2 评论 3107 浏览 评分:9.1
花落的新手写法(C语言代码)~ 摘要:解题思路:注意事项:会超时参考代码:#include<stdio.h>#include<stdlib.h>#include<string.h>int pow(int n){ int i,sum=1; …… 题解列表 2017年12月18日 0 点赞 0 评论 957 浏览 评分:0.0
花落的新手写法 (C语言代码)~ 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<stdlib.h>#include<string.h>int kow(int n){ int i,sum=1; for…… 题解列表 2017年12月18日 2 点赞 0 评论 1366 浏览 评分:7.0
WU-C语言考试练习题_保留字母 (C语言代码) 摘要:参考代码:#include<stdio.h> int main() { char str[80],*p; int i; p=str; gets(str); for(i=0;st…… 题解列表 2017年12月18日 3 点赞 0 评论 1250 浏览 评分:0.0
2003年秋浙江省计算机等级考试二级C 编程题(2) (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int is_prime(int x){ int i; if(x<=1) return 0; for(…… 题解列表 2017年12月18日 0 点赞 0 评论 770 浏览 评分:0.0