1738: 排序(c++代码) 摘要:sort函数直接排,真不错 ```cpp #include #include using namespace std; int main() { int n; whil…… 题解列表 2023年03月22日 0 点赞 3 评论 528 浏览 评分:9.0
2000: 偶数列举 摘要:```cpp #include using namespace std; int main() { int n; cin>>n; for(int i=2;i…… 题解列表 2023年03月22日 0 点赞 0 评论 356 浏览 评分:9.9
3002: 买图书(不用再抱怨有个测试点出错了,真正的测试点回来了——最新代码) 摘要:```cpp #include #include using namespace std; double n,m; int main() { cin>>n>>m; cout…… 题解列表 2023年03月22日 0 点赞 0 评论 503 浏览 评分:9.9
LikeWater - 1095: The 3n + 1 problem 摘要:#####这题挺搞心态的,题目样例全是a小于b结果提交测试里面会有a大于b的情况,然后导致出错,要是有执拗的人不想看题解真要被折磨半天,题目应该提示一下,不然很烦。 ```cpp #inclu…… 题解列表 2023年03月22日 0 点赞 0 评论 431 浏览 评分:0.0
蓝桥杯2018年第九届真题-全球变暖(BFS) 摘要:####解题思路 BFS每次遍历一座小岛,统计小岛的陆地数量(tot),以及被水淹没的陆地数量(bou),判断小岛陆地数量与被水淹没的陆地数量是否相等(tot == bou),若是相等则小岛被淹没。…… 题解列表 2023年03月22日 0 点赞 0 评论 451 浏览 评分:9.9
优质题解 2997: 梯形面积 摘要:**在梯形中阴影部分面积是150平方厘米,求梯形面积。**  **众所周知…… 题解列表 2023年03月22日 0 点赞 2 评论 2366 浏览 评分:9.0
大数整除:竖式法计算 摘要:  #include #include #include…… 题解列表 2023年03月22日 0 点赞 0 评论 247 浏览 评分:0.0
求和训练C++ 摘要:解题思路:采用多重for循环进行三次循环相加注意事项:结尾输出必须采用精确小数点函数,否则会因为float限制而造成输出一位小数参考代码:#include<bits/stdc++.h>using na…… 题解列表 2023年03月22日 0 点赞 0 评论 231 浏览 评分:0.0
LikeWater - 1094: 字符串的输入输出处理 摘要:```cpp #include #include using namespace std; int main(){ int N; string str; cin>>N; g…… 题解列表 2023年03月22日 0 点赞 0 评论 220 浏览 评分:0.0
1402: 简单的字符串 摘要:```cpp #include using namespace std; int main() { int n; cin>>n; while(n--) …… 题解列表 2023年03月22日 0 点赞 0 评论 649 浏览 评分:9.9