1720: 数据结构-基数排序 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;typedef long long ll;const int N=1e5;ll a…… 题解列表 2024年07月20日 0 点赞 0 评论 236 浏览 评分:0.0
2917: 奇数单增序列 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;typedef long long ll;const int N=1e3;ll a…… 题解列表 2024年07月20日 0 点赞 0 评论 373 浏览 评分:0.0
计算分数的浮点数值 摘要:解题思路:注意事项:保留九位小数,注意被除数不能为零参考代码:a,b = map(int,input(().split()) if b != 0: result = round(a/b,9) …… 题解列表 2024年07月21日 0 点赞 0 评论 672 浏览 评分:0.0
2883: 矩阵加法 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;typedef long long ll;const ll N=1e3;ll a[…… 题解列表 2024年07月21日 0 点赞 0 评论 235 浏览 评分:0.0
用快读scanf别用cin 摘要:解题思路:/*带权并查集模板*/注意事项:参考代码:#include<bits/stdc++.h>typedef long long ll;using namespace std;int fa[100…… 题解列表 2024年07月21日 0 点赞 0 评论 291 浏览 评分:0.0
判断数正负 摘要:解题思路:注意事项:参考代码:N = int(input())if N > 0: print("positive")elif N == 0: print("zero")elif N < 0…… 题解列表 2024年07月22日 0 点赞 0 评论 497 浏览 评分:0.0
vector写数组 摘要:#include<bits/stdc++.h> using namespace std; int main() { int n; cin>>n; vector<in…… 题解列表 2024年07月22日 0 点赞 0 评论 189 浏览 评分:0.0
优先队列的使用 摘要:#include<bits/stdc++.h> using namespace std; priority_queue<int>v;//大根堆 int main() { int n,…… 题解列表 2024年07月22日 0 点赞 0 评论 180 浏览 评分:0.0
编写题解 2236: 蓝桥杯算法训练-大小写转换 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;typedef long long ll;const int N = 1e7;ch…… 题解列表 2024年07月22日 0 点赞 0 评论 442 浏览 评分:0.0