又是我,这个更好理解 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n,i; scanf("%d",&n); int a[n]; double price=0.1; dou…… 题解列表 2023年02月09日 0 点赞 0 评论 484 浏览 评分:0.0
第一次打卡 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int ff(int n){ int i=0; while(n) { i=i*10+n%10; n/=10; } return i…… 题解列表 2023年02月09日 0 点赞 0 评论 338 浏览 评分:0.0
最长上升子序列问题 摘要:## 最长上升子序列问题 #### 注意事项 1.需要做两遍(从左开始,从右开始)。 2.数据范围较小,不用优化 ****** ##### 代码 ``` #include #in…… 题解列表 2023年02月09日 0 点赞 0 评论 540 浏览 评分:0.0
最长上升子序列问题3 摘要:## 最长上升子序列问题 #### 注意事项 1.与登山问题相同[https://www.dotcpp.com/oj/problem3051.html](https://www.dotcpp.…… 题解列表 2023年02月09日 0 点赞 0 评论 480 浏览 评分:0.0
最简单的方法 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n; scanf("%d",&n); int i; int s=1; for(i=1;i<=n;i++)…… 题解列表 2023年02月09日 0 点赞 0 评论 325 浏览 评分:0.0
有详解 简单易懂 摘要:```cpp //目标:计算每个科目的平均分以及输出总分最高的学生的信息 #include #include using namespace std; struct student{ s…… 题解列表 2023年02月09日 0 点赞 0 评论 662 浏览 评分:0.0
刷题统计Pthon 摘要:解题思路:注意事项:参考代码:a,b,n=map(int,input().split())week=5*a+2*bdays=(n//week)*7n%=weekif n<=a*5: day=0 …… 题解列表 2023年02月09日 0 点赞 0 评论 420 浏览 评分:0.0
2805: 乘方计算 快速幂方法 摘要:解题思路: 快速幂注意事项:参考代码:#include <iostream> // #include <sstream> #include <cstdio> // #include <algor…… 题解列表 2023年02月09日 0 点赞 0 评论 589 浏览 评分:0.0
2808: 买房子 (中关村怎么可能有这么便宜的房子) 摘要:解题思路:注意事项:参考代码:#include <iostream> // #include <sstream> #include <cstdio> // #include <algorithm…… 题解列表 2023年02月10日 0 点赞 0 评论 498 浏览 评分:0.0
编写题解 1025: [编程入门]数组插入处理 -- 冒泡排序原理 摘要:解题思路:运用冒泡排序的原理,将插入的数据,与排好顺序的数组,依次比大小。 ```c #include int main(void) { int a[10]; //插入数据后的数组长度。…… 题解列表 2023年02月10日 0 点赞 0 评论 331 浏览 评分:0.0