蓝桥杯2015年第六届真题-奇怪的数列-题解(Java代码) 摘要:import java.util.Scanner; /** * Created with IntelliJ IDEA. * User: 76147 * Date: 2020-01-2…… 题解列表 2020年01月29日 0 点赞 0 评论 559 浏览 评分:0.0
代码简单,思路清晰 摘要:##### 代码很简单,不懂看注释 ###### dfs版本 最开始想的是dfs,后来发现其实循环就行了 #include using namespace std; …… 题解列表 2024年01月11日 0 点赞 0 评论 192 浏览 评分:0.0
蓝桥杯2015年第六届真题-奇怪的数列-题解(Python代码)py开荒柘 摘要:简单题: ```python s=input().split()[0] n=int(input()) def dispose(n,s): if n==0: return s L=…… 题解列表 2020年02月04日 0 点赞 0 评论 871 浏览 评分:6.0
蓝桥杯2015年第六届真题-奇怪的数列 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<iterator>#include<stdio.h>#include<iomanip>#include<string…… 题解列表 2019年03月23日 0 点赞 0 评论 1183 浏览 评分:6.0
蓝桥杯2015年第六届真题-奇怪的数列-题解(C++代码)代码不多,简单操作 摘要:```cpp #include #include #include using namespace std; void fun(string &str) { string s=""; …… 题解列表 2020年10月13日 0 点赞 0 评论 466 浏览 评分:6.0
蓝桥杯2015年第六届真题-奇怪的数列-题解(Python代码) 摘要:```python def f(s): alist = [] #用来存放次数和元素 char = s[0] #先标记第一个元素 i=0 for n,_ in enumerate(s)…… 题解列表 2020年02月17日 0 点赞 0 评论 987 浏览 评分:6.4
蓝桥杯2015年第六届真题-奇怪的数列 (C++代码) 摘要:解题思路:用循环...有点绕,递归可能好一点...注意事项:参考代码:#include <iostream> #include <stdio.h> #include <string> #incl…… 题解列表 2018年12月15日 0 点赞 0 评论 824 浏览 评分:6.7
1833: 蓝桥杯2015年第六届真题-奇怪的数列(Python3)直接统计即可 摘要:解题思路:注意事项:参考代码:n, times, cnt, res = input(), int(input()), 1, '' for i in range(times): …… 题解列表 2021年03月14日 0 点赞 0 评论 555 浏览 评分:7.5
蓝桥杯2015年第六届真题-奇怪的数列-题解(C语言代码) 摘要:解题思路:参考代码:虽然这个代码可以ac但是如果输入相同数字超过10之后,会出现bug;#include#includechar a[1000]; char b[105]; int n; int…… 题解列表 2020年08月08日 0 点赞 1 评论 666 浏览 评分:8.5
蓝桥杯2015年第六届真题-奇怪的数列-题解(Java代码) 摘要:解题思路:注意事项:参考代码: Scanner sr=new Scanner(System.in); int a=sr.nextInt();//开始 int …… 题解列表 2020年09月28日 0 点赞 0 评论 460 浏览 评分:9.9