蓝桥杯2015年第六届真题-奇怪的数列 (C++代码) #小白一个,代码有不足的地方希望各位给出建议参考代码:#include#includeusingnamespacestd;intmain(){stringt;//以字符的形式存入inti=1,bg,n;inta[1000],b[1000];cin>>t>>n;//输入字符串和读取次数bg=t.size 题解列表 2020年02月06日 0 点赞 0 评论 1310 浏览 评分:9.9
蓝桥杯2015年第六届真题-奇怪的数列 (C++代码) 摘要:解题思路:用循环...有点绕,递归可能好一点...注意事项:参考代码:#include <iostream> #include <stdio.h> #include <string> #incl…… 题解列表 2018年12月15日 0 点赞 0 评论 2130 浏览 评分:6.7
蓝桥杯2015年第六届真题-奇怪的数列 (C++代码)(LookAndSay) 摘要:解题思路: 注意一下变换次数为 0 的陷阱,题解操作注释就应该能说明白了,欢迎交流。参考代码:#include<bits/stdc++.h> using namespa…… 题解列表 2018年06月05日 0 点赞 0 评论 2478 浏览 评分:9.9