题解 2214: 蓝桥杯算法提高-快速排序 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int hanshu(int a[],int low,int high){ int pivot=a[low]; while(…… 题解列表 2023年11月04日 0 点赞 0 评论 307 浏览 评分:0.0
二维数组的转置 摘要:解题思路:当j>i时换(等号有没有都行)注意事项:参考代码:#include<stdio.h>int main(){ int i, j; int temp; int arr[3][3…… 题解列表 2023年11月04日 0 点赞 0 评论 196 浏览 评分:0.0
题解 2997: 梯形面积 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ double e; e=150*2/15*(1…… 题解列表 2023年11月04日 0 点赞 0 评论 341 浏览 评分:9.9
题解 2767: 计算多项式的值 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ double a,b,c,d,x,fx; ci…… 题解列表 2023年11月04日 0 点赞 0 评论 302 浏览 评分:9.9
题解 2766: 甲流疫情死亡率 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<iomanip>using namespace std;int main(){ int a,b; cin>>…… 题解列表 2023年11月04日 1 点赞 0 评论 471 浏览 评分:9.9
C语言写冶炼金属(超简便写法) 摘要:解题思路:由题目可知V为最小时向上取整,V为最大时为向下取整:当 V = 20 时,有:⌊75/20⌋ = 3,⌊ 53/20 ⌋ = 2,⌊ 59/20 ⌋ = 2,可以看到符合所有冶炼记录。当 V…… 题解列表 2023年11月04日 0 点赞 1 评论 1306 浏览 评分:9.3
数组插入处理 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int i, j, n, temp, a; int arr[10]; int add[10]…… 题解列表 2023年11月04日 0 点赞 0 评论 131 浏览 评分:0.0
[编程入门]结构体之时间设计-题解(Python代码) 摘要:解题思路:注意事项:参考代码:year,mouth,day=map(int,input().split())list1=[31,28,31,30,31,30,31,31,30,31,30,31]if …… 题解列表 2023年11月04日 1 点赞 0 评论 320 浏览 评分:9.9
巨大的数(因为只需要求个位,那每次的乘积只保留个位就行) 摘要:参考代码: ```c #include int main() { int n; scanf("%d",&n); long long sum=1;//不用在意long long 这是…… 题解列表 2023年11月04日 0 点赞 0 评论 247 浏览 评分:0.0
自定义函数并用数组解菲波那契数列 摘要:解题思路:1.定义函数2.数组注意事项:参考代码:#include <stdio.h> int add(int n) { // 创建一个数组用于存储菲波那契数列 int arr…… 题解列表 2023年11月03日 0 点赞 0 评论 456 浏览 评分:9.3