母牛的故事 (C语言代码) 摘要:解题思路:注意事项:参考代码:int nums[54];//存放n的值的数组 double nums1[54] = {1,1,1,1};//顺序存放某一年新增的母牛数量 int i = 0…… 题解列表 2019年02月20日 0 点赞 0 评论 728 浏览 评分:0.0
BREEZE------之这一篇没有小技巧(用的C) 摘要:直接AC就可以了,记得使用whlie方便易懂!#include<stdio.h>int main(){ int a; scanf("%d",&a);while(a!=1) { if(a%2==0)…… 题解列表 2019年02月20日 1 点赞 0 评论 725 浏览 评分:0.0
BREEZE------之这一篇没有小技巧(用的C) 摘要:有任何不懂得请私信,保证及时回复可以换一种思维,只输出字母就可以啦!#include<stdio.h>#include<string.h>int main(){ char a[80]; gets(a)…… 题解列表 2019年02月21日 0 点赞 0 评论 1056 浏览 评分:0.0
。。比较简单的一种方法。。:C语言训练-字符串正反连接 (C语言代码) 摘要:#include<stdio.h> #include<string.h> int main() { int k,i; char str[100]; gets(str); pri…… 题解列表 2019年02月21日 3 点赞 0 评论 922 浏览 评分:0.0
。。中。。:C语言训练-数字母 (C语言代码) 摘要:想了很多种方法还是感觉这种最简单。#include<stdio.h> #include<string.h> int main() { int i,t; char str[100]; …… 题解列表 2019年02月21日 1 点赞 0 评论 698 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题6.7 (C语言代码) 摘要:解题思路: 求解的过程并不难,主要的问题在于如何提高速度。遍历求解,约数缩小范围,约数排序注意事项: 每一次求得的一对约数中的最大值可以作为下一次遍历的阈值参考代码:#include <stdio.h…… 题解列表 2019年02月21日 0 点赞 0 评论 622 浏览 评分: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 评论 861 浏览 评分: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 评论 496 浏览 评分: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 评论 868 浏览 评分:0.0
蓝桥杯基础练习VIP-分解质因数 (C语言代码) 摘要:解题思路:注意事项:参考代码:package day09;import java.util.Scanner;//T1464public class Main { public static void …… 题解列表 2019年02月21日 0 点赞 0 评论 607 浏览 评分:0.0