Lang:G++
Edit12345678910111213141516171819202122232425262728293031#include <cstdio>#include <cstring>#include <iostream>#include <algorithm>#include <vector>#include <string>#include <set>using namespace std;int main(){//freopen("input.txt", "r", stdin);string str;cin >> str;set<string> ansList;int fibonaccid[7] = { 1, 2, 3, 5, 8, 13, 21 };for (int i = 0; i < str.size(); ++i){int alphabet[26] = {false};int count = 0;for (int j = i; j < str.size(); ++j){if (!alphabet[str[j] - 'a']){alphabet[str[j] - 'a'] = true;++count;}for (int k = 0; k < 7; ++k){if (fibonaccid[k] == count){