蓝桥杯2019年第十届国赛真题-最长子序列 摘要:```cpp #include using namespace std; int main() { string s,t; cin>>s>>t; int ps=0,pt=…… 题解列表 2022年06月10日 0 点赞 0 评论 457 浏览 评分:0.0
思维题-解谜游戏 摘要:分为四组,组内互换组间不能互换,因此每组每种颜色数量必为1/4 ```cpp // 外圈:1 2 3 | 4 5 6 | 7 8 9 | 10 11 12 // 中圈:1 2 | 3 4…… 题解列表 2022年06月10日 0 点赞 0 评论 516 浏览 评分:2.0
精度控制到小数点后三位 摘要:解题思路:不需要思路注意事项:会用就好参考代码:#include<iostream>#include<iomanip>using namespace std;int main(){ double i;…… 题解列表 2022年06月10日 0 点赞 0 评论 316 浏览 评分:0.0
小九九简单版(注意题目的格式要求) 摘要:解题思路:循环就完事了注意事项:注意格式参考代码:#include<iostream>#include<iomanip>using namespace std;int main(){ for (int…… 题解列表 2022年06月10日 0 点赞 0 评论 322 浏览 评分:0.0
完数的判断 摘要:解题思路:注意事项:参考了作者SuperJoker的代码,觉得能再优化点,把 i 改为 i/2;参考代码:i#include<bits/stdc++.h>using namespace std;in…… 题解列表 2022年06月09日 0 点赞 0 评论 333 浏览 评分:0.0
编写题解 1631: 蓝桥杯算法训练VIP-数位分离 摘要:解题思路:注意事项:参考代码:#include<iostream> #include<string> using namespace std; int main() { s…… 题解列表 2022年06月09日 0 点赞 0 评论 321 浏览 评分:0.0
编写题解 1622: 蓝桥杯算法训练VIP-字符删除 摘要:解题思路:注意事项:参考代码:#include<iostream> #include<string.h> using namespace std; int main() { char…… 题解列表 2022年06月09日 0 点赞 0 评论 330 浏览 评分:0.0
蓝桥杯2020年第十一届国赛真题-皮亚诺曲线距离 摘要:``` #include #include using namespace std; typedef long long LL; // 初始每个坐标到起点的距离 int d[] = {…… 题解列表 2022年06月08日 0 点赞 0 评论 657 浏览 评分:0.0
自定义函数之字符串反转,C++解题 摘要:解题思路:调用C++自带的reverse函数注意事项:头文件algorithm参考代码:#include <iostream>#include<algorithm>using namespace st…… 题解列表 2022年06月07日 0 点赞 0 评论 327 浏览 评分:0.0
2544: N以内累加求和,C++ 摘要:解题思路:do while求累加注意事项:参考代码:#include <iostream>using namespace std;int main(){ int n; int sum=0;…… 题解列表 2022年06月07日 0 点赞 0 评论 488 浏览 评分:9.9