[编程入门]矩阵对角线求和 (C语言代码)来来,写题解混经验!! 摘要:解题思路:随便你注意事项:无参考代码:#include<stdio.h>int main(){ int a[3][3]; int i,j; int sum1,sum2; sum1=sum2=0; fo…… 题解列表 2019年05月12日 0 点赞 0 评论 506 浏览 评分:0.0
矩阵最大值 (C语言代码)嗯。。。。这题我没写题解?? 摘要:解题思路:随便吧。。。注意事项:多组输入!!!参考代码:#include<stdio.h>#define N 100int main(){ int a[N][N],sum[N]; int m,n; i…… 题解列表 2019年05月12日 0 点赞 0 评论 1078 浏览 评分:0.0
蓝桥杯算法提高VIP-模拟计算器 (C语言代码) 摘要:#include<stdio.h> int main() { int a,b; char ch; //a=b=2; scanf("%d %d %c",&a,&b,&ch); …… 题解列表 2019年05月12日 0 点赞 0 评论 1382 浏览 评分:0.0
[编程入门]宏定义之找最大数 (C语言代码) 摘要:解题思路:注意事项:参考代码: #include <stdio.h> float MAX(float a,float b,float c); #define max(a,b,c) (a>b…… 题解列表 2019年05月12日 2 点赞 0 评论 703 浏览 评分:6.0
蓝桥杯算法提高VIP-数组输出 (C语言代码) 摘要:解题思路:这一题应该是表述有误,应该是输出绝对值最大的那个行下标最小列下标最小的数注意事项:参考代码:#include<stdio.h>#include<math.h>int abs(int x);i…… 题解列表 2019年05月12日 0 点赞 0 评论 729 浏览 评分:0.0
2006年春浙江省计算机等级考试二级C 编程题(2) (C语言代码) 摘要:解题思路:首先定义函数fact(k);计算数的阶乘,然后在主函数调用,用for循环计算数的阶乘分之一的和注意事项:定义函数时要注意sum,sum1要初始化,还有要注意sum的返回值类型,以及参与到运算…… 题解列表 2019年05月12日 1 点赞 6 评论 2954 浏览 评分:9.9
C语言训练-自守数问题 (C语言代码) 摘要:解题思路:传统小白思维只为给小白看:1.先判断是几位数,2.然后将数平方用‘%’取余,3.判断最后几位数是否与原数相等注意事项:用VC6编译容易出现的问题:1.数据过大int 装不下解决办法,使用lo…… 题解列表 2019年05月12日 0 点赞 0 评论 1637 浏览 评分:0.0
[编程入门]结构体之成绩记录 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#define n 100#include<string.h>struct input{ char num[20]; char name…… 题解列表 2019年05月12日 0 点赞 0 评论 669 浏览 评分:0.0
数组待定选择 摘要:解题思路:把每个月之前的月份天数之和加起来待用注意事项:取值的时候由于数组的特性需要在月份上减1参考代码:#include<stdio.h>int run(int a);int main(){ …… 题解列表 2019年05月12日 0 点赞 0 评论 908 浏览 评分:0.0
小九九 (C++代码)C14标准--大R一波流 摘要:解题思路: C14标准的C++提供了一个魔性的输出方式,大R一波流,可以自带回车,直接拿换行当输出。参考代码:#include<iostream> using namespace std; …… 题解列表 2019年05月12日 0 点赞 1 评论 1030 浏览 评分:6.6