蓝桥杯2015年第六届真题-奇怪的数列-题解(C语言代码) 摘要:#include <stdio.h> #include <string.h> char a[10001],b[10001],c[10001]; int n,cou=0,cou1=0,s=0,j;…… 题解列表 2020年08月14日 0 点赞 0 评论 741 浏览 评分:9.9
蓝桥杯2015年第六届真题-奇怪的数列-题解(C++代码) 摘要:参考代码:#include<bits/stdc++.h> using namespace std; int main() { char s[101],k[101],*q,b; //s当前串 …… 题解列表 2020年08月07日 0 点赞 0 评论 323 浏览 评分:9.9
蓝桥杯2015年第六届真题-奇怪的数列-题解(C语言代码) 摘要:解题思路:参考代码:虽然这个代码可以ac但是如果输入相同数字超过10之后,会出现bug;#include#includechar a[1000]; char b[105]; int n; int…… 题解列表 2020年08月08日 0 点赞 1 评论 666 浏览 评分:8.5
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++代码) 摘要:解题思路:用循环...有点绕,递归可能好一点...注意事项:参考代码:#include <iostream> #include <stdio.h> #include <string> #incl…… 题解列表 2018年12月15日 0 点赞 0 评论 824 浏览 评分:6.7
蓝桥杯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<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代码)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
随便写的方法,只关注结果了 摘要:解题思路:注意事项:参考代码:#include <iostream>#include <algorithm>#include <string>#include <sstream>using name…… 题解列表 2021年11月04日 0 点赞 0 评论 370 浏览 评分:0.0