编写题解 2749: Hello, World! 摘要:解题思路:注意事项:参考代码: #include<iosteam> using namespace std; &nb 题解列表 2024年07月21日 0 点赞 0 评论 616 浏览 评分:9.9
编写题解 2974: 统计字符数 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;typedef long long ll;const int N=1e5;stri…… 题解列表 2024年07月21日 0 点赞 0 评论 243 浏览 评分:9.9
2974: 统计字符数 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>typedef long long ll;using namespace std;const int N=1e6;ll t…… 题解列表 2024年07月21日 0 点赞 0 评论 268 浏览 评分:9.9
编写题解 2881: 图像相似度 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;const int N=1e3;int a[N][N],b[N][N];int m…… 题解列表 2024年07月21日 0 点赞 0 评论 180 浏览 评分:9.9
猴子吃桃的问题 摘要:解题思路:倒退回去算,思路为: 现在桃子数量 = (现在桃子数量 + 1) * 2;注意事项:按题目的来,第10天没吃。所以有3070个桃子是错的。参考代码:#include <iostream…… 题解列表 2024年07月21日 0 点赞 0 评论 283 浏览 评分:9.9
编写题解 2973: 出现次数超过一半的数 摘要:解题思路:先计数排序 再判断注意事项:参考代码:#include<bits/stdc++.h>using namespace std;typedef long long ll;const int N=…… 题解列表 2024年07月22日 0 点赞 0 评论 262 浏览 评分:9.9
台球碰撞的三种解法(尽量使用c++) 摘要:原题:在平面直角坐标系下,台球桌是一个左下角在(0,0),右上角在(L,W)的矩形。有一个球心在(x,y),半径为R的圆形母球放在台球桌上(整个球都在台球桌内)。受撞击后,球沿极角为a的射线(即:x正…… 题解列表 2024年07月22日 0 点赞 0 评论 706 浏览 评分:9.9
编写题解 2846: 统计数字字符个数 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;typedef long long ll;const int N = 1e7;ch…… 题解列表 2024年07月22日 0 点赞 0 评论 783 浏览 评分:9.9
编写题解 2853: 字符替换 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;typedef long long ll;int main(){ string…… 题解列表 2024年07月22日 0 点赞 0 评论 224 浏览 评分:9.9
编写题解 2749: Hello, World! 摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std;int main(){ cout << "Hello world!" << endl;…… 题解列表 2024年07月23日 0 点赞 0 评论 527 浏览 评分:9.9