Rosetta Problems

Joining of DNA Sequences

https://atcoder.jp/contests/awc0127/tasks/awc0127_e