环状序列 Circular Sequence
题意翻译
长度为$n$ 的环状串有$n$ 种表示法,分别为从某个位置开始顺时针得到的。在环状串的所有表示法中,字典序最小的称为“**最小表示**”。
输入一个长度为$n$ 的环状DNA串(只包含$A$ ,$C$ ,$G$ ,$T$ 这四种字符)的一种表示法,你的任务是输出该环状串的**最小表示**。
题目描述
[problemUrl]: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=448&page=show_problem&problem=4459
[PDF](https://uva.onlinejudge.org/external/15/p1584.pdf)