小白随便写的,记录一下 摘要:> 由递推关系式可知 f(n) = f(n - 1)+ f(n - 3) > > 数据范围不大时可以开一个数组把所有可能的输入对应的 f(n) 求出 (就是打表嘛) > > 数据范围大时可以考…… 题解列表 2024年04月12日 0 点赞 0 评论 416 浏览 评分: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 评论 226 浏览 评分:0.0
1130: C语言训练 数字母 ctype快速计数 摘要:解题思路:注意事项:参考代码:#include <stdio.h> #include <string.h> #include <math.h> #include <stdlib.h> #inc…… 题解列表 2024年04月12日 0 点赞 0 评论 246 浏览 评分:0.0
字串简写——前缀和+回溯 摘要:#include<bits/stdc++.h>#include<cstdio> #include<cstring>using namespace std;typedef long long LL;LL…… 题解列表 2024年04月12日 2 点赞 0 评论 485 浏览 评分:0.0
蓝桥杯算法训练VIP-整数平均值 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a[100]; int i; int b; int c=0; scanf("%…… 题解列表 2024年04月12日 0 点赞 0 评论 197 浏览 评分:0.0
暴力画矩形 【简单易懂】 摘要:#include <iostream> #include <cmath> using namespace std; /* 画矩形 */ int main() { // …… 题解列表 2024年04月12日 0 点赞 0 评论 163 浏览 评分:0.0
一些强迫症的输出 摘要:## 浏览了一些题解,发现输出格式与题目要求不一致,多加了一些代码,调成了与题目要求一致的输出格式//勿喷 ## 代码 #include #include usin…… 题解列表 2024年04月12日 0 点赞 0 评论 182 浏览 评分:0.0
日期换算--易懂版 摘要:解题思路:注意事项:参考代码:x,y = map(int,input().split()) // 设置一个列表储存2019年每月的天数,2019年是平年,2月份是28天,在最前面加个[0]是为了列表…… 题解列表 2024年04月12日 0 点赞 0 评论 186 浏览 评分:0.0
题解 2840: 向量点积计算 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;typedef long long ll;const int N=1e3+5;ll …… 题解列表 2024年04月13日 0 点赞 0 评论 158 浏览 评分:0.0