C语言程序设计教程(第三版)课后习题6.7 (C语言代码) 摘要:解题思路: 求解的过程并不难,主要的问题在于如何提高速度。遍历求解,约数缩小范围,约数排序注意事项: 每一次求得的一对约数中的最大值可以作为下一次遍历的阈值参考代码:#include <stdio.h…… 题解列表 2019年02月21日 0 点赞 0 评论 716 浏览 评分:0.0
巨大的数 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n; scanf("%d",&n); int x[n]; int i; int nb …… 题解列表 2019年02月21日 0 点赞 0 评论 1025 浏览 评分:0.0
蓝桥杯算法提高VIP-Pascal三角 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main() { int a[100][100]={0,0}, i, j, n, i1; scanf(…… 题解列表 2019年02月21日 2 点赞 0 评论 624 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题5.7 (C语言代码) 摘要:参考代码:#include<stdio.h>int main(){ int x,y,a,b,c,d,e; scanf("%d",&x); a=x%10; b=x/10%10; c=x/100%10; …… 题解列表 2019年02月21日 1 点赞 0 评论 1002 浏览 评分:0.0
蓝桥杯基础练习VIP-分解质因数 (C语言代码) 摘要:解题思路:注意事项:参考代码:package day09;import java.util.Scanner;//T1464public class Main { public static void …… 题解列表 2019年02月21日 0 点赞 0 评论 740 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题6.2 (Java代码) 摘要:解题思路:注意事项:参考代码:public static void main(String[] args) { int shuzhi=0; int zhimu =0; i…… 题解列表 2019年02月21日 0 点赞 0 评论 1136 浏览 评分:0.0
DNA (Java代码) 摘要:解题思路:注意事项:参考代码:import java.util.Scanner;public class Main3 { public static void main(String[] args) …… 题解列表 2019年02月21日 0 点赞 0 评论 859 浏览 评分:0.0
字符串中间和后边*号删除 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>void fun(char *a);int main(){ char s[81]; gets(s); fun(s); …… 题解列表 2019年02月21日 0 点赞 0 评论 589 浏览 评分:0.0
蓝桥杯算法提高VIP-林丹大战李宗伟 (C语言代码) 摘要:解题思路:注意事项:注意清空缓冲区就行了参考代码:#include <stdio.h>int main(){ int a = 0, t = 0; char x; while (x = getchar(…… 题解列表 2019年02月21日 0 点赞 0 评论 970 浏览 评分:0.0
汽水瓶 (C语言代码) 摘要:解题思路:构造一个函数,输入处理空瓶数,返回能喝多少瓶参考代码:#include <stdio.h>int chuli(int n){ int shang=0, yu=0; …… 题解列表 2019年02月21日 0 点赞 0 评论 617 浏览 评分:0.0