Java实现(简单易懂,逆推公式) 摘要:package com.edu.hhxy;import java.util.Scanner;/** * @author five-five * @link https://www.dotcpp.com…… 题解列表 2021年10月15日 0 点赞 0 评论 327 浏览 评分:0.0
不容易系列 摘要:```c #include int hanshu(int k);//函数声明 int hanshu (int k)//函数定义 { int n=0,i;//n 为第K站的绵羊的数量 …… 题解列表 2021年12月26日 0 点赞 0 评论 197 浏览 评分:0.0
Hifipsysta-1180-不容易系列(C++代码)递归法 摘要:```cpp #include using namespace std; int a_(int n){ if(n==0){ return 3; } …… 题解列表 2022年02月05日 0 点赞 0 评论 226 浏览 评分:0.0
编写题解 1180: 不容易系列 摘要:解题思路:注意事项:参考代码:n=int(input()) for i in range(n): a=int(input()) y=3 for j in range(a…… 题解列表 2022年02月17日 0 点赞 0 评论 226 浏览 评分:0.0
1180: 不容易系列 摘要:```cpp #include using namespace std; int f(int n) { if(n==1) return 1; return…… 题解列表 2022年11月18日 0 点赞 0 评论 176 浏览 评分:9.9
编写题解 1180: 不容易系列 摘要:解题思路:注意事项:参考代码:#include<stdio.h>void sum(int t){ int i; int x=3; for(i=1;i<=t;i++) { …… 题解列表 2023年01月04日 0 点赞 0 评论 167 浏览 评分:0.0
1180: 不容易系列(逆向思维求解) 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int T; cin >> T; while (T--) { int…… 题解列表 2024年07月13日 0 点赞 0 评论 116 浏览 评分:0.0
不容易系列(递推) 摘要:解题思路:递推注意事项:参考代码:#include<iostream>#include<cmath>usingnamespacestd;in…… 题解列表 2025年01月21日 0 点赞 0 评论 78 浏览 评分:0.0