C语言训练-求矩阵的两对角线上的元素之和 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main() { int arr[100][100]; int n,i,j; int sum…… 题解列表 2023年01月01日 0 点赞 0 评论 351 浏览 评分:0.0
C语言训练-邮票组合问题* 摘要:解题思路:注意事项:参考代码: #include<stdio.h> int main() { printf("19"); return 0; }…… 题解列表 2023年01月01日 0 点赞 0 评论 385 浏览 评分:0.0
二级C语言-自定义函数 摘要:解题思路:注意事项:参考代码:#include<stdio.h> #include<math.h> double fact(long long n); double my_pow(double …… 题解列表 2023年01月01日 0 点赞 0 评论 416 浏览 评分:0.0
[编程入门]结构体之成绩统计2 摘要:解题思路:注意事项:参考代码:#include<stdio.h>typedef struct Student { char num[20]; char name[10]; doubl…… 题解列表 2023年01月01日 0 点赞 0 评论 365 浏览 评分:0.0
编写题解 2828: 与7无关的数 摘要:解题思路:注意事项:参考代码://编写题解 2828: 与7无关的数 //一个正整数,如果它能被7整除,或者它的十进制表示法中某一位上的数字为7,则称其为与7相关的数。现求所有小于等于n(n < 1…… 题解列表 2023年01月01日 0 点赞 0 评论 495 浏览 评分:0.0
利用for循环解决平均值计算 摘要:解题思路:以数组的方式输入一系列数,通过for循环求得平均数,再通过for循环计算大于平均数的个数。注意事项:符号的输入,数据的处理参考代码:#include<stdio.h>int main(){ …… 题解列表 2023年01月01日 0 点赞 0 评论 648 浏览 评分:0.0
编写题解 1952: 求长方形面积 摘要:解题思路:注意事项:参考代码://输入一个长方形的长和宽(整数),输出该长方形的周长C和面积S,要求格式如例(请注意打印“C:”、“S:”,使用半角冒号,参考样例输出)。 #include <std…… 题解列表 2023年01月01日 0 点赞 0 评论 403 浏览 评分:0.0
(C++)剪刀石头布(数组实现) 摘要:解题思路:二维数组存胜负平结果注意事项:参考代码:#include <iostream> using namespace std; int main() { int ap[3][3…… 题解列表 2023年01月01日 0 点赞 0 评论 496 浏览 评分:0.0
(c语言)详细解读 摘要:解题思路:数组对应编号取反注意事项:我自己想的,还有不少可以优化的,注释很详细的解释了我的代码参考代码:#include"stdio.h"void main(){ unsigned int h…… 题解列表 2023年01月02日 0 点赞 0 评论 448 浏览 评分:0.0