C语言程序设计教程(第三版)课后习题7.3 (C语言代码) 摘要:解题思路:定义一个二维数组注意事项:二维数组是先行后列,列比行变化的快;参考代码:#include<stdio.h>int main(){ int a[3][3];//定义个二维数组,先行后列; i…… 题解列表 2018年01月29日 0 点赞 0 评论 720 浏览 评分:0.0
2005年春浙江省计算机等级考试二级C 编程题(3) (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ int n,i,j,a[7][7]={0},x,y; scanf("%d",&n…… 题解列表 2018年01月29日 0 点赞 0 评论 752 浏览 评分:0.0
蓝桥杯历届试题-数字游戏 (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 评论 2141 浏览 评分: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 评论 632 浏览 评分: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 评论 2130 浏览 评分:8.9
蓝桥杯算法提高VIP-产生数 (C++代码) 摘要:解题思路:注意事项:参考代码:不解释#include <iostream> #include <algorithm> #include <cstring> #include <cstdio> …… 题解列表 2018年01月28日 2 点赞 0 评论 1289 浏览 评分: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 评论 3401 浏览 评分:9.9
最高的海拔 (C++代码) 摘要:解题思路:注意事项:此题很多样性,多种方法均可破参考代码:easy#include<cstdio> #include<stdio.h> int main() { int a,n,f=0; …… 题解列表 2018年01月28日 0 点赞 0 评论 1016 浏览 评分:9.9
C语言程序设计教程(第三版)课后习题5.7 (C语言代码) 摘要:解题思路:一言不合直接上代码!注意事项: 鄙人代码能力有限,这个有一定的局限性,只是用来针对5位数的!参考代码:#include<stdio.h>int main(){ char a[6]; in…… 题解列表 2018年01月28日 1 点赞 0 评论 518 浏览 评分:0.0
数字整除 (C语言代码) 摘要:解题思路:最大数字有100多个零 ,没有这么大还能存进 int 或 long int的 只能用 字符数组 每一个元素存进一位但是怎么 算呢,其实就是一位位的削减 ,看代码吧!#include<stdi…… 题解列表 2018年01月28日 2 点赞 1 评论 837 浏览 评分:0.0