1000: [竞赛入门]简单的a+b 摘要:参考代码:#include<iostream>using namespace std;int main(){ int a,b; while(cin>>a>>b)cout<<(a+b)<<e…… 题解列表 2023年02月09日 0 点赞 0 评论 456 浏览 评分:9.9
数字三角形模型 摘要:## 数字三角形模型 ### 注意事项 1.注意边界问题,第一行和第一列只有一个方向能过来。 2.题目中说的(2N - 1)其实是限制了走的方向。 #### 代码 ``` #i…… 题解列表 2023年02月08日 0 点赞 0 评论 552 浏览 评分:0.0
c++兰顿蚂蚁简单思路 摘要:```cpp #include #include using namespace std; const int N = 105; int g[N][N]; int n,m,x,y,k…… 题解列表 2023年02月08日 0 点赞 0 评论 431 浏览 评分:0.0
2068: [STL训练]Ignatius and the Princess IV (C++) 摘要:解题思路: 读入,排序,最中间的数即为所求注意事项: 无参考代码:#include <iostream> // #include <sstream> // #include <cstdio> #…… 题解列表 2023年02月07日 0 点赞 0 评论 377 浏览 评分:0.0
3060: 合并石子 摘要:## # 合并石子 #### ### 区间dp ------------ ##### 解题思路: ------------ f(i,j)表示将从第i堆石子到第j堆石子…… 题解列表 2023年02月07日 0 点赞 0 评论 573 浏览 评分: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 评论 394 浏览 评分:9.9
2749: Hello, World!(C++代码) 摘要:解题思路:直接输出即可注意事项:1.用英语符号 2.逗号后面有一个空格 3.注意大小写参考代码:#include<iostream>using na…… 题解列表 2023年02月07日 0 点赞 0 评论 772 浏览 评分:9.9
1875: 蓝桥杯2017年第八届真题-小数第n位(c++)10ms 摘要:解题思路:因为相除时每一次的余数要小于除数,即余数的个数是有限的.两个整数相除,商要么是整数,要么有限小数,要么是无限(循环)小数.注意事项:找出循环部分参考代码:#include<iostream>…… 题解列表 2023年02月06日 0 点赞 0 评论 491 浏览 评分: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 评论 459 浏览 评分:9.9
1265: 青年歌手大奖赛_评委会打分 摘要:```cpp #include #include #include using namespace std; int a[99]; int main() { int n; …… 题解列表 2023年02月06日 0 点赞 0 评论 638 浏览 评分:9.9