2780: 奇偶数判断 摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std;int main(){ int a; cin >> a; if(a%2==…… 题解列表 2023年12月17日 0 点赞 0 评论 585 浏览 评分:0.0
2780: 奇偶数判断 摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std;int main(){ int a; cin >> a; if(a%2==…… 题解列表 2023年12月17日 0 点赞 0 评论 416 浏览 评分:0.0
题解 1050: [编程入门]结构体之成绩记录(超超超级简短) ```c#include#includestructstudent{charshuju[20];charname[20];intchinese;intenglish;intmath;};structstudenta[100];voidinput(inti){scanf("%s%s%d%d%d", 题解列表 2023年12月17日 0 点赞 0 评论 520 浏览 评分:6.0
题解 1043: [编程入门]三个数字的排序 摘要:解题思路:注意事项:用&&参考代码:#include<iostream>using namespace std;int main(){ int a,b,c; cin>>a>>b>>c; …… 题解列表 2023年12月17日 0 点赞 0 评论 420 浏览 评分:0.0
直接插入排序,折半插入排序、希尔排序 摘要:直接插入排序#include <stdio.h> int main() { int a[10], key; // 输入已排序的数组 for (int i = 0…… 题解列表 2023年12月17日 0 点赞 0 评论 540 浏览 评分:0.0
题解 1050: [编程入门]结构体之成绩记录(超超超级简单) ```c#include#includestructstudent{charshuju[20];charname[20];intchinese;intenglish;intmath;};structstudenta[100];voidinput(inti){scanf("%s%s%d%d%d", 题解列表 2023年12月17日 0 点赞 0 评论 448 浏览 评分:0.0
编写题解 3007: 收费 摘要:解题思路:注意事项:不要用int,用double参考代码:#include<bits/stdc++.h>using namespace std;int main(){ double a; …… 题解列表 2023年12月17日 0 点赞 0 评论 615 浏览 评分: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 评论 1146 浏览 评分:5.6
题解 2945: 素数对 ```c#include#include//函数用于检查一个数是否是素数intis_prime(intnum){if(num 题解列表 2023年12月17日 0 点赞 0 评论 751 浏览 评分:0.0
题解 2944: 图像旋转翻转变换 ```c#include#include#defineMAX_SIZE100voidrotate90Clockwise(intmat[MAX_SIZE][MAX_SIZE],int*m,int*n){intret[MAX_SIZE][MAX_SIZE];for(inti=0;i<*n;++i){for 题解列表 2023年12月17日 0 点赞 0 评论 673 浏览 评分:6.0