小白随便写的,记录一下 摘要:> 由递推关系式可知 f(n) = f(n - 1)+ f(n - 3) > > 数据范围不大时可以开一个数组把所有可能的输入对应的 f(n) 求出 (就是打表嘛) > > 数据范围大时可以考…… 题解列表 2024年04月12日 0 点赞 0 评论 585 浏览 评分: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 评论 370 浏览 评分:0.0
1130: C语言训练 数字母 ctype快速计数 摘要:解题思路:注意事项:参考代码:#include <stdio.h> #include <string.h> #include <math.h> #include <stdlib.h> #inc…… 题解列表 2024年04月12日 0 点赞 0 评论 372 浏览 评分:0.0
字串简写——前缀和+回溯 摘要:#include<bits/stdc++.h>#include<cstdio> #include<cstring>using namespace std;typedef long long LL;LL…… 题解列表 2024年04月12日 2 点赞 0 评论 648 浏览 评分:0.0
最长单词2,简单方法 摘要:解题思路:从找到第一个字母开始计数,并记录位置,直到找到空格或者‘。’,不断更新注意事项:参考代码:#include<bits/stdc++.h>using namespace std;typedef…… 题解列表 2024年04月12日 1 点赞 0 评论 567 浏览 评分:9.9
蓝桥杯算法训练VIP-整数平均值 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a[100]; int i; int b; int c=0; scanf("%…… 题解列表 2024年04月12日 0 点赞 0 评论 303 浏览 评分:0.0
暴力画矩形 【简单易懂】 摘要:#include <iostream> #include <cmath> using namespace std; /* 画矩形 */ int main() { // …… 题解列表 2024年04月12日 1 点赞 0 评论 282 浏览 评分:0.0
编写题解 2784 收集瓶盖赢大奖 摘要:解题思路:注意事项:参考代码:a,b=map(int,input().split(" "))if a>=10 or b>=20: print('1')else: print…… 题解列表 2024年04月12日 0 点赞 0 评论 580 浏览 评分:9.9
一些强迫症的输出 摘要:## 浏览了一些题解,发现输出格式与题目要求不一致,多加了一些代码,调成了与题目要求一致的输出格式//勿喷 ## 代码 #include #include usin…… 题解列表 2024年04月12日 0 点赞 0 评论 312 浏览 评分:0.0