python PEll数列解法 摘要:n=int(input())X=[]X1=[]for i in range(n): X.append(int(input()))for i in range(n): if X[i]==1:…… 题解列表 2023年03月04日 0 点赞 0 评论 242 浏览 评分:0.0
Pell数列(Python) 摘要:解题思路:注意事项:参考代码:def pell_number(k): a, b = 1, 2 if k == 1: return 1 elif k == 2: …… 题解列表 2023年12月08日 0 点赞 0 评论 168 浏览 评分:0.0
Pell数列(C语言) 摘要:参考代码: ```c #include int m(int k) { int sum=0; int a1=1,a2=2; if(k==1) { …… 题解列表 2023年12月15日 0 点赞 0 评论 258 浏览 评分:0.0
pell数列(c语言) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int pell(int n);int main(){ int i,n; scanf("%d",&i); while(i--){ sc…… 题解列表 2024年02月02日 0 点赞 0 评论 250 浏览 评分:0.0
为何正确率如此低? 摘要:```cpp #include using namespace std; const int N=1e6+10; int a[N]; int k,n; void dfs(int …… 题解列表 2024年05月30日 0 点赞 0 评论 247 浏览 评分:0.0
正在路上,每一步都是生活 摘要:```n=int(input()) mc=[] for i in range(n): s=int(input()) mc.append(s) k=max(mc) sl=[0…… 题解列表 2024年08月03日 0 点赞 0 评论 240 浏览 评分:0.0