校门外的树 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<stdlib.h>void sortTwoArray(int* pArrayA,int*pArrayB,int tot…… 题解列表 2023年12月17日 0 点赞 0 评论 403 浏览 评分:0.0
题解 2945: 素数对 ```c#include#include//函数用于检查一个数是否是素数intis_prime(intnum){if(num 题解列表 2023年12月17日 0 点赞 0 评论 722 浏览 评分:0.0
编写题解 3007: 收费 摘要:解题思路:注意事项:不要用int,用double参考代码:#include<bits/stdc++.h>using namespace std;int main(){ double a; …… 题解列表 2023年12月17日 0 点赞 0 评论 586 浏览 评分: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 评论 414 浏览 评分:0.0
直接插入排序,折半插入排序、希尔排序 摘要:直接插入排序#include <stdio.h> int main() { int a[10], key; // 输入已排序的数组 for (int i = 0…… 题解列表 2023年12月17日 0 点赞 0 评论 508 浏览 评分:0.0
题解 1043: [编程入门]三个数字的排序 摘要:解题思路:注意事项:用&&参考代码:#include<iostream>using namespace std;int main(){ int a,b,c; cin>>a>>b>>c; …… 题解列表 2023年12月17日 0 点赞 0 评论 391 浏览 评分:0.0
2780: 奇偶数判断 摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std;int main(){ int a; cin >> a; if(a%2==…… 题解列表 2023年12月17日 0 点赞 0 评论 388 浏览 评分:0.0
2780: 奇偶数判断 摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std;int main(){ int a; cin >> a; if(a%2==…… 题解列表 2023年12月17日 0 点赞 0 评论 560 浏览 评分:0.0
2781: 奇偶ASCII值判断 摘要:解题思路:注意事项:yes、和no是大写的参考代码:#include <iostream>using namespace std;int main(){ char c; cin >>c; …… 题解列表 2023年12月17日 0 点赞 0 评论 425 浏览 评分:0.0
3006: 适合晨练 摘要:解题思路:注意事项:25<=t<=30应为(25<=t && t<=30)参考代码:#include <iostream>using namespace std;int main(){ int …… 题解列表 2023年12月17日 0 点赞 0 评论 453 浏览 评分:0.0