蓝桥杯历届试题-数字游戏 (C语言代码) 摘要:解题思路:第一次:1+(1+2+3+4+5)=16第二次:16+(6+7+8+9+10)=56第三次:56+(11+12+13+14+15)=?第x次:s[x-1]+((x-1)*n+1+x*n)*n…… 题解列表 2018年01月29日 6 点赞 7 评论 2213 浏览 评分:9.9
蓝桥杯算法提高VIP-Pascal三角 (C语言代码) 摘要:注意事项:该死的空格!参考代码:#include <stdio.h> int main() { int a[50][50]={0},i,j,s,x,t,n; scanf("%d…… 题解列表 2018年01月28日 0 点赞 0 评论 762 浏览 评分:0.0
蓝桥杯历届试题-核桃的数量 (C语言代码) 摘要:#include <stdio.h> int main(void){ int a, b, c, num, i = 1; scanf("%d%d%d", &a, &b, &c); num …… 题解列表 2018年01月28日 65 点赞 0 评论 2584 浏览 评分:8.9
蓝桥杯算法提高VIP-产生数 (C++代码) 摘要:解题思路:注意事项:参考代码:不解释#include <iostream> #include <algorithm> #include <cstring> #include <cstdio> …… 题解列表 2018年01月28日 2 点赞 0 评论 1580 浏览 评分:2.7
加油 !有解析(C语言代码) 摘要:解题思路:定义一个空数组b,将a数组m位给b【1】注意事项:参考代码:#include<stdio.h>main(){ int i,n,m,j,k=0; char a[100],b[10]…… 题解列表 2018年01月28日 14 点赞 5 评论 3505 浏览 评分:9.9
最高的海拔 (C++代码) 摘要:解题思路:注意事项:此题很多样性,多种方法均可破参考代码:easy#include<cstdio> #include<stdio.h> int main() { int a,n,f=0; …… 题解列表 2018年01月28日 0 点赞 0 评论 1182 浏览 评分:9.9
C语言程序设计教程(第三版)课后习题5.7 (C语言代码) 摘要:解题思路:一言不合直接上代码!注意事项: 鄙人代码能力有限,这个有一定的局限性,只是用来针对5位数的!参考代码:#include<stdio.h>int main(){ char a[6]; in…… 题解列表 2018年01月28日 1 点赞 0 评论 632 浏览 评分:0.0
数字整除 (C语言代码) 摘要:解题思路:最大数字有100多个零 ,没有这么大还能存进 int 或 long int的 只能用 字符数组 每一个元素存进一位但是怎么 算呢,其实就是一位位的削减 ,看代码吧!#include<stdi…… 题解列表 2018年01月28日 2 点赞 1 评论 937 浏览 评分:0.0
tony同学思路 稍作修改(C语言代码) 摘要:解题思路:注意事项:参考代码: 参考tony 同学的思路#include<stdio.h>/*一圈人说的就是一个循环抽象来说就是一圈循环要T了多少个成员,不妨把T掉的…… 题解列表 2018年01月28日 14 点赞 0 评论 1295 浏览 评分:2.0
The 3n + 1 problem (C语言代码) 摘要:解题思路:注意事项:参考代码:import java.util.Scanner;public class Demo { public static int print(int n) { …… 题解列表 2018年01月28日 0 点赞 0 评论 699 浏览 评分:0.0