题解 2020: 快速排序练习 摘要:解题思路:注意事项:参考代码:# include <stdio.h> void QuickSort(int a[], int left, int right) { if(left >…… 题解列表 2022年03月26日 0 点赞 0 评论 355 浏览 评分:0.0
利息计算-初学写法 摘要:解题思路:注意事项:题目长一点,其实不难,这种写法稍微有些麻烦。参考代码:#include<stdio.h>int main(){ int b; float l,z,sum; scanf("%d %f…… 题解列表 2022年03月26日 0 点赞 0 评论 341 浏览 评分:0.0
编写题解 1027: [编程入门]自定义函数处理最大公约数与最小公倍数 摘要:## 原题链接 **https://www.dotcpp.com/oj/problem1028.html** ## 解题思路(有两整数a和b) ### 一、最大公约数GCD #…… 题解列表 2022年03月26日 0 点赞 0 评论 479 浏览 评分:0.0
1119水仙花数求解 摘要:解题思路:有点复杂,但比较基础,就是用每个位数的立方来写!注意事项:参考代码:#include<stdio.h>int main(){ int i,j; scanf("%d",&i); …… 题解列表 2022年03月26日 0 点赞 0 评论 356 浏览 评分:0.0
矩形面积交 摘要:解题思路:注意事项:import java.util.Scanner; public class Main { public static void main(String[] arg…… 题解列表 2022年03月26日 0 点赞 0 评论 284 浏览 评分:0.0
C++代码简便 摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std;int main() { int H = 0, M = 0, S = 0; int t; c…… 题解列表 2022年03月26日 0 点赞 0 评论 234 浏览 评分:0.0
利用最大公因数来求解 摘要:解题思路:注意事项:参考代码:# 求最大公因数 def cal(temp_1, temp_2): if(temp_1 == temp_2): return(temp_1)…… 题解列表 2022年03月26日 0 点赞 0 评论 324 浏览 评分:0.0
编写题解 1028: [编程入门]自定义函数求一元二次方程 摘要:## 1028: [编程入门]自定义函数求一元二次方程 https://www.dotcpp.com/oj/problem1028.html ## 解题思路 ax*x+b*x+c=0这个…… 题解列表 2022年03月26日 0 点赞 0 评论 389 浏览 评分:0.0
编写题解 1029: [编程入门]自定义函数处理素数 摘要:# 编写题解 1029: [编程入门]自定义函数处理素数 **https://www.dotcpp.com/oj/problem1029.html** ## 解题思路 1. 素数…… 题解列表 2022年03月26日 0 点赞 0 评论 463 浏览 评分:0.0
编写题解 1030: [编程入门]二维数组的转置(原数组改变) 摘要:# 1030: [编程入门]二维数组的转置 **https://www.dotcpp.com/oj/problem1030.html** ## 解题思路 注意: 1. **列必须要…… 题解列表 2022年03月26日 0 点赞 0 评论 375 浏览 评分:0.0