蓝桥杯2024年第十五届省赛真题-好数 摘要:解题思路:计算从1到N之间所有“好数”的数量,并将这个数量打印出来。所谓“好数”是指那些其奇数位上的数字是奇数,偶数位上的数字是偶数的数。注意事项:确保 judge 函数的实现正确无误,特别是位数的计…… 题解列表 2024年07月21日 2 点赞 0 评论 669 浏览 评分:10.0
2883: 矩阵加法 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;typedef long long ll;const ll N=1e3;ll a[…… 题解列表 2024年07月21日 0 点赞 0 评论 251 浏览 评分:0.0
2974: 统计字符数 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>typedef long long ll;using namespace std;const int N=1e6;ll t…… 题解列表 2024年07月21日 0 点赞 0 评论 250 浏览 评分:9.9
编写题解 2974: 统计字符数 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;typedef long long ll;const int N=1e5;stri…… 题解列表 2024年07月21日 0 点赞 0 评论 228 浏览 评分:9.9
编写题解 2749: Hello, World! 摘要:解题思路:注意事项:参考代码: #include<iosteam> using namespace std; &nb 题解列表 2024年07月21日 0 点赞 0 评论 593 浏览 评分:9.9
2909: 直方图 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;typedef long long ll;const int N=1e5;ll p…… 题解列表 2024年07月21日 0 点赞 0 评论 325 浏览 评分:9.9
编写题解 2332: 信息学奥赛一本通T1181-整数奇偶排序 摘要:解题思路:先用sort排序,再输出注意事项:参考代码:#include <bits/stdc++.h>using namespace std;typedef long long ll;const in…… 题解列表 2024年07月21日 0 点赞 0 评论 216 浏览 评分:9.9
2332: 信息学奥赛一本通T1181-整数奇偶排序 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;typedef long long ll;const int N=1e5;ll a…… 题解列表 2024年07月21日 0 点赞 0 评论 251 浏览 评分:9.9
计算分数的浮点数值 摘要:解题思路:注意事项:保留九位小数,注意被除数不能为零参考代码:a,b = map(int,input(().split()) if b != 0: result = round(a/b,9) …… 题解列表 2024年07月21日 0 点赞 0 评论 730 浏览 评分:0.0
编写题解 1131: C语言训练-斐波纳契数列 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;typedef long long ll ;const ll N=1e6;ll a…… 题解列表 2024年07月20日 0 点赞 0 评论 283 浏览 评分:9.9