2068: [STL训练]Ignatius and the Princess IV (C++) 摘要:解题思路: 读入,排序,最中间的数即为所求注意事项: 无参考代码:#include <iostream> // #include <sstream> // #include <cstdio> #…… 题解列表 2023年02月07日 0 点赞 0 评论 176 浏览 评分:0.0
3060: 合并石子 摘要:## # 合并石子 #### ### 区间dp ------------ ##### 解题思路: ------------ f(i,j)表示将从第i堆石子到第j堆石子…… 题解列表 2023年02月07日 0 点赞 0 评论 357 浏览 评分:9.9
1000: [竞赛入门]简单的a+b 标题 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int a,b; while(cin>>a>>b)cout…… 题解列表 2023年02月07日 0 点赞 0 评论 221 浏览 评分:9.9
2749: Hello, World!(C++代码) 摘要:解题思路:直接输出即可注意事项:1.用英语符号 2.逗号后面有一个空格 3.注意大小写参考代码:#include<iostream>using na…… 题解列表 2023年02月07日 0 点赞 0 评论 579 浏览 评分:9.9
1875: 蓝桥杯2017年第八届真题-小数第n位(c++)10ms 摘要:解题思路:因为相除时每一次的余数要小于除数,即余数的个数是有限的.两个整数相除,商要么是整数,要么有限小数,要么是无限(循环)小数.注意事项:找出循环部分参考代码:#include<iostream>…… 题解列表 2023年02月06日 0 点赞 0 评论 238 浏览 评分:9.9
1266: 马拦过河卒 摘要:```cpp #include using namespace std; int dp[17][17]; bool vis[17][17]; int dx[8]={-2,-2,-1,-1,1…… 题解列表 2023年02月06日 0 点赞 0 评论 292 浏览 评分:9.9
1265: 青年歌手大奖赛_评委会打分 摘要:```cpp #include #include #include using namespace std; int a[99]; int main() { int n; …… 题解列表 2023年02月06日 0 点赞 0 评论 444 浏览 评分:9.9
优质题解 1259: 送分题素数 摘要:#####**素数的概念:** 素数又称质数(prime number),有无限个。 一个大于1的自然数,除了1和它本身外, #####**不能被其他自然数(包括其它质数(素数))整除**…… 题解列表 2023年02月06日 0 点赞 2 评论 772 浏览 评分:9.9
记忆化搜索 摘要:解题思路:自顶而下搜索最小值注意事项:记录答案防止时间爆炸参考代码:#include<bits/stdc++.h>#define endl '\n'using namespace st…… 题解列表 2023年02月06日 0 点赞 0 评论 151 浏览 评分:0.0
编写题解 3008: 买笔, 摘要:解题思路:注意事项:只因你太美参考代码:#include <iostream>using namespace std;int main(int argc, char** argv) {int x,y,…… 题解列表 2023年02月06日 0 点赞 2 评论 322 浏览 评分:8.0