题解 1050: [编程入门]结构体之成绩记录(超超超级简短) 摘要:```c #include #include struct student { char shuju[20]; char name[20]; int chines…… 题解列表 2023年12月17日 0 点赞 0 评论 204 浏览 评分:6.0
题解 1043: [编程入门]三个数字的排序 摘要:解题思路:注意事项:用&&参考代码:#include<iostream>using namespace std;int main(){ int a,b,c; cin>>a>>b>>c; …… 题解列表 2023年12月17日 0 点赞 0 评论 152 浏览 评分:0.0
直接插入排序,折半插入排序、希尔排序 摘要:直接插入排序#include <stdio.h> int main() { int a[10], key; // 输入已排序的数组 for (int i = 0…… 题解列表 2023年12月17日 0 点赞 0 评论 204 浏览 评分:0.0
题解 1050: [编程入门]结构体之成绩记录(超超超级简单) 摘要:```c #include #include struct student { char shuju[20]; char name[20]; int chinese; int …… 题解列表 2023年12月17日 0 点赞 0 评论 168 浏览 评分:0.0
编写题解 3007: 收费 摘要:解题思路:注意事项:不要用int,用double参考代码:#include<bits/stdc++.h>using namespace std;int main(){ double a; …… 题解列表 2023年12月17日 0 点赞 0 评论 274 浏览 评分:0.0
数学问题:牛吃牧草 摘要:解题思路:设原本牧草量为z,每头牛每天吃x,每天生长为y15*x*20=20*y+z20*x*10=10*y+zz为无关变量消去z100x=10y10x=y所以够10头牛吃1天注意事项:参考代码:…… 题解列表 2023年12月17日 0 点赞 0 评论 639 浏览 评分:6.5
题解 2945: 素数对 摘要:```c #include #include // 函数用于检查一个数是否是素数 int is_prime(int num) { if (num …… 题解列表 2023年12月17日 0 点赞 0 评论 331 浏览 评分:0.0
题解 2944: 图像旋转翻转变换 摘要:```c #include #include #define MAX_SIZE 100 void rotate90Clockwise(int mat[MAX_SIZE][MAX_S…… 题解列表 2023年12月17日 0 点赞 0 评论 299 浏览 评分:6.0
2939: 最匹配的矩阵(超详解) 摘要:```c #include #include #include #include // 计算矩阵A的子矩阵与矩阵B的差值绝对和 int calculate_diff(int **A…… 题解列表 2023年12月17日 0 点赞 0 评论 431 浏览 评分:9.9
以自己理解写的,比较简单 摘要:解题思路:注意事项:尽量在b[y][x] = a[y][x]时把a[x][y]改掉参考代码:#include<stdio.h>int main(){ int x, y; int a[3…… 题解列表 2023年12月17日 0 点赞 0 评论 143 浏览 评分:9.9