二级C语言-分段函数 摘要:解题思路:可以调用数学库函数:平方根函数sqrt(x)(x开根号), 绝对值函数fabs(x)(x取绝对值), 幂函数 pow(x,n)(x的n次幂)注意事项:使用时需包含头文件#…… 题解列表 2024年01月31日 0 点赞 0 评论 220 浏览 评分:0.0
二级C语言-温度转换 摘要:解题思路:利用for循环根据题意求解即可注意事项:参考代码:#include<iostream>using namespace std;void dfs(int c){ int F = 0; …… 题解列表 2024年01月31日 0 点赞 0 评论 415 浏览 评分:0.0
寻找矩阵最值 摘要:解题思路:用两个for循环拿到二位数组中的所有元素在拿到的过程中找到最大值与最大值的行列下标,最后输出即可注意事项:参考代码:#include<iostream>using namespace std…… 题解列表 2024年01月31日 0 点赞 0 评论 140 浏览 评分:0.0
二级C语言-成绩归类 摘要:解题思路:定义数组用于接收数据,在接收的时候判断是否符合要求,符合要求则进行计数,遇到退出条件时则退出并输出最后结果注意事项:参考代码:#include<iostream>using namespac…… 题解列表 2024年01月31日 0 点赞 0 评论 132 浏览 评分:0.0
阶乘公式求值 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;double fact(double k){ double sum = 0; do…… 题解列表 2024年01月31日 0 点赞 0 评论 348 浏览 评分:0.0
蓝桥杯2013年第四届真题-打印十字图 题解 摘要:import java.util.Scanner; public class 打印十字图 { public static void main(String[] args) { //…… 题解列表 2024年01月31日 0 点赞 1 评论 176 浏览 评分:0.0
2833: 金币2833: 金币2833: 金币 摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std;int main(){ int x=0,d=0,n; cin>>n; fo…… 题解列表 2024年01月31日 0 点赞 0 评论 134 浏览 评分:0.0
分解因数分解因数分解因数 摘要:解题思路:注意事项:参考代码://因数分解 #include<iostream> using namespace std; int ans,n,t; void f(int a,int b) …… 题解列表 2024年01月31日 0 点赞 0 评论 328 浏览 评分:0.0
编写题解 1043: [编程入门]三个数字的排序 选择排序 摘要: #include int main() { int arr[3] = { 0 }; scanf("%d %d %d", &arr[0] ,&arr[…… 题解列表 2024年01月31日 0 点赞 0 评论 142 浏览 评分:0.0
明明随机数 摘要:解题思路:首先对数据进行排序(冒泡),然后判断重复数据并输出处理后的数组(一个大一菜鸟的思路)注意事项:注意排过重复数据的数据个数参考代码:#include<stdio.h> int main()…… 题解列表 2024年01月31日 0 点赞 0 评论 74 浏览 评分:0.0