蓝桥杯历届试题-翻硬币(贪心) 摘要:#include <iostream> #include <cstring> using namespace std; const int N = 110; int n; char …… 题解列表 2024年04月12日 0 点赞 0 评论 224 浏览 评分:0.0
数字统计(c++) 摘要:#include <iostream> #include <cmath> using namespace std; /* 统计两个区间内,数字2出现的个数 2 - 22 总共出现了…… 题解列表 2024年04月12日 0 点赞 0 评论 315 浏览 评分:0.0
小白随便写的,记录一下 摘要:> 由递推关系式可知 f(n) = f(n - 1)+ f(n - 3) > > 数据范围不大时可以开一个数组把所有可能的输入对应的 f(n) 求出 (就是打表嘛) > > 数据范围大时可以考…… 题解列表 2024年04月12日 0 点赞 0 评论 443 浏览 评分:0.0
较简单的思路 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main() { int N,a[100],b[100]; scanf_s("%d", &N); int i,j; int ma…… 题解列表 2024年04月12日 0 点赞 0 评论 252 浏览 评分:0.0
1130: C语言训练 数字母 ctype快速计数 摘要:解题思路:注意事项:参考代码:#include <stdio.h> #include <string.h> #include <math.h> #include <stdlib.h> #inc…… 题解列表 2024年04月12日 0 点赞 0 评论 269 浏览 评分:0.0
字串简写——前缀和+回溯 摘要:#include<bits/stdc++.h>#include<cstdio> #include<cstring>using namespace std;typedef long long LL;LL…… 题解列表 2024年04月12日 2 点赞 0 评论 514 浏览 评分:0.0
蓝桥杯算法训练VIP-整数平均值 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a[100]; int i; int b; int c=0; scanf("%…… 题解列表 2024年04月12日 0 点赞 0 评论 225 浏览 评分:0.0
暴力画矩形 【简单易懂】 摘要:#include <iostream> #include <cmath> using namespace std; /* 画矩形 */ int main() { // …… 题解列表 2024年04月12日 1 点赞 0 评论 182 浏览 评分:0.0
一些强迫症的输出 摘要:## 浏览了一些题解,发现输出格式与题目要求不一致,多加了一些代码,调成了与题目要求一致的输出格式//勿喷 ## 代码 #include #include usin…… 题解列表 2024年04月12日 0 点赞 0 评论 203 浏览 评分:0.0