蓝桥杯2015年第六届真题-奇怪的数列-题解(C++代码) 摘要:``` #include using namespace std; int main() { int n; string s,t; cin>>s>>n; while(n-…… 题解列表 2020年07月02日 0 点赞 0 评论 339 浏览 评分:0.0
蓝桥杯2015年第六届真题-奇怪的数列-题解(C++代码) 摘要:### 解题思路:模拟,枚举每一个得到的字符串,遍历这个字符串,统计连续相同的字符添加进空串中。 ```cpp #include #define x first #define y sec…… 题解列表 2020年10月09日 0 点赞 0 评论 505 浏览 评分:0.0
蓝桥杯2015年第六届真题-奇怪的数列-题解(C++代码) 摘要:#include <iostream>#include <cstring>using namespace std;char a[110000];char s[1000010];int main(){ …… 题解列表 2021年01月30日 0 点赞 0 评论 266 浏览 评分:0.0
随便写的方法,只关注结果了 摘要:解题思路:注意事项:参考代码:#include <iostream>#include <algorithm>#include <string>#include <sstream>using name…… 题解列表 2021年11月04日 0 点赞 0 评论 397 浏览 评分:0.0
蓝桥杯2015年第六届真题-奇怪的数列 摘要:解题思路:注意事项:参考代码:#include<iostream> #include<string> #include<algorithm> using namespace std; stri…… 题解列表 2021年12月05日 0 点赞 0 评论 345 浏览 评分:0.0
代码简单,思路清晰 摘要:##### 代码很简单,不懂看注释 ###### dfs版本 最开始想的是dfs,后来发现其实循环就行了 #include using namespace std; …… 题解列表 2024年01月11日 0 点赞 0 评论 225 浏览 评分:0.0
蓝桥杯2015年第六届真题-奇怪的数列-题解(C++代码)代码不多,简单操作 摘要:```cpp #include #include #include using namespace std; void fun(string &str) { string s=""; …… 题解列表 2020年10月13日 0 点赞 0 评论 510 浏览 评分:6.0
蓝桥杯2015年第六届真题-奇怪的数列 (C++代码) 摘要:解题思路:用循环...有点绕,递归可能好一点...注意事项:参考代码:#include <iostream> #include <stdio.h> #include <string> #incl…… 题解列表 2018年12月15日 0 点赞 0 评论 973 浏览 评分:6.7
蓝桥杯2015年第六届真题-奇怪的数列 (C++代码)(LookAndSay) 摘要:解题思路: 注意一下变换次数为 0 的陷阱,题解操作注释就应该能说明白了,欢迎交流。参考代码:#include<bits/stdc++.h> using namespa…… 题解列表 2018年06月05日 0 点赞 0 评论 1462 浏览 评分:9.9
蓝桥杯2015年第六届真题-奇怪的数列 (C++代码) 摘要:# 小白一个,代码有不足的地方希望各位给出建议 参考代码: #include #include using namespace std; int main(…… 题解列表 2020年02月06日 0 点赞 0 评论 722 浏览 评分:9.9