10391
来源:互联网 发布:淘宝交易货款延期延长 编辑:程序博客网 时间:2024/06/07 08:06
#include<iostream>#include<vector>#include<string>#include<type_traits>#include<sstream>#include<tuple>#include<bitset>#include<regex>#include<set>#include<queue>#include<map>using namespace std;int main(){set<string> data;string s;while (cin >> s){data.insert(s);}for (auto it : data){for (int i = 1; i < it.size(); i++){string a = it.substr(0,i);string b = it.substr(i,it.size()-i);if (data.find(a) != data.end() && data.find(b) != data.end()){cout << it << endl;break;}}}//system("pause");return 0;}
阅读全文
0 0
- 10391
- 10391
- 10391
- uva 10391
- UVA 10391
- uva 10391
- uva 10391
- UVA 10391
- Uva 10391
- uva 10391 compound words
- UVa 10391 - Compound Words
- uva 10391 - Compound Words
- uva 10391 - Compound Words
- UVa 10391 - Compound Words
- UVa 10391 - Compound Words
- Compound Words 10391
- uva 10391 - Compound Words
- 10391 - Compound Words
- [JavaEE] Spring单元测试中缺少 ServletContext 错误
- 使用shader效果
- Java8 新特性
- Linux Kernel 学习笔记13:混杂设备模型
- didn't find class on path dexpathlist错误解决办法
- 10391
- 认识grep -e, tr, xargs
- dubbo 4 服务消费者到提供者过程
- 动态规划——最长上升子序列
- iOS常见加密方式
- 基于结巴分词的基础中文词语去歧实现
- windows环境下Tensorflow的安装
- 算法导论红黑树实现
- Java小项目之GUI界面动态图的移动