蓝桥杯2013年第四届真题-核桃的数量 (C语言代码) 摘要:解题思路:求3个数的最小公倍数,即可以转换为求最大公因数。注意事项:参考代码://1446: 分核桃 //即求三个数的最小公倍数 #include <stdio.h> int find…… 题解列表 2019年03月14日 0 点赞 0 评论 867 浏览 评分:0.0
发工资咯 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include "stdio.h"int qianshu(int n);int main(){ int n; while(scanf("%d",&n)&&n) { i…… 题解列表 2019年03月14日 0 点赞 0 评论 1054 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题8.4 (C语言代码) 摘要:解题思路:这道题是3X3的矩阵,如果换成4X4或者N X N的矩阵,用同样的思路也可以解题注意事项:参考代码:#include <stdio.h> #include <math.h> int …… 题解列表 2019年03月14日 0 点赞 0 评论 485 浏览 评分:0.0
整除的尾数 (Java代码) 摘要:解题思路:注意事项:参考代码:import java.util.Scanner; public class Main { public static void main(String[] arg…… 题解列表 2019年03月14日 0 点赞 0 评论 1000 浏览 评分:0.0
C二级辅导-等差数列 (Java代码) 摘要:解题思路:注意事项:参考代码:import java.util.Scanner; public class Main { public static int f(int n) { if(n…… 题解列表 2019年03月15日 0 点赞 0 评论 991 浏览 评分:0.0
蓝桥杯2013年第四届真题-打印十字图 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main() { int n,i,j; scanf("%d",&n); char a[126][126]; …… 题解列表 2019年03月15日 0 点赞 0 评论 520 浏览 评分:0.0
【回文数(二)】 (C语言代码),思路记录 摘要:解题思路:首先明确题意,回文检查就是对一个数进行来回相加并对结果进行来回相加,直到结果中出现回文数(判断成功)或者计算步骤超过30(判断失败)结束,并输出相应的结果。提供int类型的两个数组用来存储用…… 题解列表 2019年03月15日 0 点赞 0 评论 822 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题6.9 (C语言代码) 摘要:解题思路: 小球每次弹起的高度都是上一次的一半,但小球走过的距离除了第一次弹起外,其余都是两段路程参考代码:#include<stdio.h> int main(){ double n =…… 题解列表 2019年03月15日 0 点赞 0 评论 528 浏览 评分:0.0
校门外的树 (C++代码) 摘要:解题思路:注意事项:参考代码:#include "iostream"#include "cstring"using namespace std;int main(){ int l,m,sum; sum…… 题解列表 2019年03月15日 0 点赞 0 评论 748 浏览 评分:0.0
Tom数 (C语言代码) 摘要:解题思路:不知道错哪了注意事项:参考代码:#include <stdio.h>#include <stdlib.h>#include <string.h> int main() { long lon…… 题解列表 2019年03月15日 0 点赞 0 评论 1089 浏览 评分:0.0