题解 2809: 菲波那契数列 摘要:解题思路:注意事项:参考代码:k = int(input()) a1 = a2 = 1 for i in range(k - 2): a1, a2 = a2, a1 + a2 prin…… 题解列表 2024年03月17日 1 点赞 0 评论 540 浏览 评分:4.7
3150-冶炼金属-简单易懂 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int n; scanf("%d",&n); int a,b; scanf("%d %d",&a…… 题解列表 2024年03月24日 0 点赞 0 评论 544 浏览 评分:4.7
编写题解 2848: 基因相关性,python超简单 摘要:(python学子仔细读题哦)n = float(input()) DNA1 = input() DNA2 = input() # 比对两条DNA序列 matching_pairs = 0 …… 题解列表 2024年03月29日 0 点赞 0 评论 858 浏览 评分:4.7
数字诗意(找规律) 摘要:解题思路:有诗意的数注意事项:参考代码:#include<iostream>#include<cstring>#include<algorithm>using namespace std;typede…… 题解列表 2024年04月16日 0 点赞 0 评论 1397 浏览 评分:4.7
蓝桥杯2024年第十五届省赛真题-前缀总分 摘要:```cpp #include #include using namespace std; int n; int lcp(const string &a,const stri…… 题解列表 2024年11月10日 2 点赞 0 评论 1733 浏览 评分:4.7
求s=a+aa+aaa+aaaa+aa...a的值(C++简单版) 摘要:```cpp #include using namespace std; int main(){ int a, n; cin >> a >> n; unsigne…… 题解列表 2024年11月23日 0 点赞 0 评论 617 浏览 评分:4.7
字符串的修改C++ 摘要:```cpp #include using namespace std; int main(){ cout…… 题解列表 2024年12月26日 2 点赞 0 评论 477 浏览 评分:4.7
人民币问题 (C语言代码) 摘要:解题思路:原理其实比较简单,由于三种都得有,先都给一张,看剩下还要多少先试其他都是5元的,看有几种,每种5元的有可以变成2元和1元的组合2元的可以变成1元的,最后看有多少种。参考代码:#include…… 题解列表 2017年08月11日 6 点赞 1 评论 1792 浏览 评分:4.6
妹子杀手的故事 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int a,b; while(1) { scanf("%d%d",&a,&b); if(a==0&&…… 题解列表 2017年09月20日 1 点赞 0 评论 2051 浏览 评分:4.6
蓝桥杯历届试题-数字游戏 (C语言代码) 摘要:参考代码:/*题目描述栋栋正在和同学们玩一个数字游戏。 游戏的规则是这样的:栋栋和同学们一共n个人围坐在一圈。栋栋首先说出数字1。接下来,坐在栋栋左手边的同学要说下一个数字2。再下面的一个同学要从上一…… 题解列表 2018年03月10日 1 点赞 0 评论 2810 浏览 评分:4.6