摘要:
被一个破空格弄惨了,悲剧,以后还是申请一个大字符数组比较好做#include<iostream>#include<stdio.h>using namespace std;#define NOT_CONS 0 //0: not consecutive;#define CONS 1 //1: consecutive;#define NOT_CONS_FIRST 2 //2: not consecutive and 1st charvoid init(char& in,char& last,int& lastLen,int& state){ w 阅读全文