1140 Look-and-say Sequence(20 分)

#include 
#include 
using namespace std;
int M, N;
int main()
{
    cin >> N >> M;
    string str = to_string(N);
    string str1;
    for (int j = 1; j < M; j++)
    {
        int cnt = 1;
        for (int i=0;i

你可能感兴趣的:(1140 Look-and-say Sequence(20 分))