[递归]母牛的故事(动态规划,递归) 摘要:解题思路:写出数学表达式 F(x){ x<=3 f(x)=x;// 前三年只有一头母牛生孩子 &nbs 题解列表 2024年04月27日 0 点赞 0 评论 500 浏览 评分:6.0
无聊的星期六 摘要:解题思路:注意事项:参考代码:print(sum(i for i in range(1,int(input())+1) if i%2!=0))…… 题解列表 2024年04月27日 0 点赞 0 评论 383 浏览 评分:0.0
无聊的星期六 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int fun(int n){ return (n<=1)?n:(fun(n-1)+fun(n-2)); } int m…… 题解列表 2024年04月27日 0 点赞 0 评论 286 浏览 评分:0.0
无聊的星期六 摘要:-------------------------------------------------------------------------print(input()[::-1])-------…… 题解列表 2024年04月27日 0 点赞 0 评论 408 浏览 评分:0.0
1050: [编程入门]结构体之成绩记录 摘要:解题思路:注意事项:参考代码:n = int(input()) arr = [] [arr.append(list(map(str, input().split()))) for _ in ran…… 题解列表 2024年04月27日 0 点赞 0 评论 390 浏览 评分:0.0
无聊的星期六 摘要:解题思路:注意事项:参考代码:#include<stdio.h> #include<math.h> #define AREA(a,b,c) (a+b+c)/2 #define SQRT(S,a,…… 题解列表 2024年04月27日 0 点赞 0 评论 597 浏览 评分:0.0
无聊的星期六 摘要:解题思路:注意事项:参考代码:#include<stdio.h> #define YU(x,y) x%y int main() { int x,y; scanf("%d %d…… 题解列表 2024年04月27日 0 点赞 0 评论 507 浏览 评分:0.0
1099: 校门外的树 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>typedef long long ll;const int N=1e7;using namespace std;int …… 题解列表 2024年04月27日 0 点赞 0 评论 331 浏览 评分:2.0
2821: 开关灯 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>typedef long long ll;const int N=1e7;using namespace std;int …… 题解列表 2024年04月27日 1 点赞 0 评论 398 浏览 评分:2.0
无聊的星期六 摘要:解题思路:注意事项:参考代码:#include<stdio.h> #include<string.h> int main() { int n,m; char sn[1111]="";…… 题解列表 2024年04月27日 0 点赞 0 评论 371 浏览 评分:0.0