题目描述:
给出一个词典,找出所有复合词,即恰好有两个单词连接而成的单词。输入每行都是一个由小写字母组成的单词。输入已按照字典序列从小到大排序。且不超过120000个单词。输出所有复合词,按照字典序从小到大排序。

#include<cstdio>
#include<iostream>
#include<cstring>
#include<string>
#include<map>
#include<vector>
using namespace std;
map<string,int> IDcache;
vector<