优质题解 1076: 内部收益率 摘要:解题思路:(1)首先优质题解第一那位的代码是有问题的,我在 debug 卡住的时候试了一下他的代码,结果原封不动贴到 IDE 输出的和标准答案不符。(2)那个兄弟的问题好像是把“判断 NPV 是否接近…… 题解列表 2022年04月23日 1 点赞 2 评论 1027 浏览 评分:10.0
优质题解 1075: 台球碰撞 摘要:解题思路:(1)传送面板:https://blog.dotcpp.com/a/63859思路和这个差不多,这个人写的很详细,而且我 debug 时还参考了这个人的代码,直接看他的就完事了。(2)本题的…… 题解列表 2022年04月23日 1 点赞 1 评论 1893 浏览 评分:9.9
[编程入门]猴子吃桃的问题 摘要:解题思路:从题目中得出,第n天时之剩下1个桃子,我们可以使用倒退法,如“a=(a+1)*2"(a为桃子数)注意事项:天数n要减1参考代码:#include<iostream> using names…… 题解列表 2022年04月22日 0 点赞 0 评论 383 浏览 评分:9.9
C++演示答案 摘要:解题思路: 注意越界判断以及方向符号改变注意事项:参考代码:#include<iostream>using namespace std;const int inf = 1e3;int M,N;int …… 题解列表 2022年04月22日 0 点赞 0 评论 435 浏览 评分:9.9
1009: [编程入门]数字的处理与判断(C++清爽版) 摘要:解题思路:清爽的代码注意事项:注意数据不要越界参考代码:#include<iostream> #include<cstring> using namespace std; int main()…… 题解列表 2022年04月20日 0 点赞 1 评论 314 浏览 评分:9.9
编写题解 1740: 特殊排序 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;#include<deque>#include<algorithm>void print(de…… 题解列表 2022年04月20日 0 点赞 0 评论 265 浏览 评分:0.0
1005: [编程入门]温度转换(C++) 摘要:解题思路:注意事项: 一定要注意输出的格式,是c=xx参考代码:#include<iostream> #include<iomanip> using namespace std; int mai…… 题解列表 2022年04月20日 0 点赞 0 评论 1752 浏览 评分:9.9
数据结构-二叉排序树的基本操作【C++】 摘要:```cpp #include using namespace std; int num[501]; int a[501]; int n, k; typedef struct node {…… 题解列表 2022年04月20日 0 点赞 0 评论 318 浏览 评分:9.9
编写题解 1738: 排序 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;#include<vector>#include<algorithm>void print(v…… 题解列表 2022年04月20日 0 点赞 0 评论 306 浏览 评分:0.0
编写题解 1716: 数据结构-快速排序 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;#include<vector>#include<algorithm>void print(v…… 题解列表 2022年04月20日 0 点赞 0 评论 279 浏览 评分:0.0