CareerCup Output the amount of all possible strings of length N that don't of have consecutive a,b,c
来源:互联网
suppose a string is consists of a, b, and c Now given a integer N, output the amount of all possible strings of length N that don't of have consecutive a,b,c. Now g