UVA10405 Longest Common Subsequence

Description

[problemUrl]: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=16&page=show_problem&problem=1346 [PDF](https://uva.onlinejudge.org/external/104/p10405.pdf) ![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA10405/00c8fad1ceb9d9e5a6998bc09c963b8c67ac8e5f.png)

Input Format

![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA10405/1b750d660796198ed61576af25bdb71f6e687c41.png)

Output Format

![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA10405/be8497df78563f17ba22b4a0ae660b819721227b.png)