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 评论 371 浏览 评分:9.9
1265: 青年歌手大奖赛_评委会打分 摘要:```cpp #include #include #include using namespace std; int a[99]; int main() { int n; …… 题解列表 2023年02月06日 0 点赞 0 评论 539 浏览 评分:9.9
优质题解 1259: 送分题素数 摘要:#####**素数的概念:** 素数又称质数(prime number),有无限个。 一个大于1的自然数,除了1和它本身外, #####**不能被其他自然数(包括其它质数(素数))整除** …… 题解列表 2023年02月06日 0 点赞 2 评论 878 浏览 评分:9.9
记忆化搜索 摘要:解题思路:自顶而下搜索最小值注意事项:记录答案防止时间爆炸参考代码:#include<bits/stdc++.h>#define endl '\n'using namespace st…… 题解列表 2023年02月06日 0 点赞 0 评论 223 浏览 评分:0.0
编写题解 3008: 买笔, 摘要:解题思路:注意事项:只因你太美参考代码:#include <iostream>using namespace std;int main(int argc, char** argv) {int x,y,…… 题解列表 2023年02月06日 0 点赞 2 评论 380 浏览 评分:8.0
2790: 分段函数(c++) 摘要:解题思路:注意事项:保留3位浮点小数参考代码:#include<bits/stdc++.h>using namespace std;int main(){ float x; cin>>x;…… 题解列表 2023年02月06日 0 点赞 0 评论 441 浏览 评分:9.9
1842: 蓝桥杯2017年第八届真题-对局匹配 c++ 摘要:解题思路:注意事项:参考代码:#include<iostream> #include<algorithm> #include<cmath> #include<vector> #define F…… 题解列表 2023年02月05日 0 点赞 0 评论 451 浏览 评分:9.9
1027 题解 摘要:参考代码:#include<iostream> using namespace std; int add(int a,int b,int c) { if(a>b) { while(a%b!…… 题解列表 2023年02月05日 0 点赞 0 评论 185 浏览 评分:0.0
1043: [编程入门]三个数字的排序 摘要:解题思路:哔哔哔注意事项:bibibi参考代码:#include<iostream>using namespace std;int main(){ int a,b,c,x1,x2,x3,x4; …… 题解列表 2023年02月05日 0 点赞 0 评论 299 浏览 评分:2.0
编写题解 1206: 字符串问题 摘要:##编写题解 1206: 字符串问题 ```cpp #include using namespace std; int main() { string s; cin>>s; fo…… 题解列表 2023年02月04日 0 点赞 0 评论 300 浏览 评分:0.0