缘起
继续学习最大最小表示这种精巧的算法~ poj 1509 Glass Beads
分析
1 | 给你一串字符串,但是这串字符串是环形的,让你找个位置切开,使得它的字典序最小. |
学会了【1】,就是最大最小表示的裸题~ 不解释, 上板子~ 比【1】还裸~
1 | //#include "stdafx.h" |
ac情况
Status | Accepted |
---|---|
Memory | 112kB |
Length | 635 |
Lang | C++ |
Submitted | 2019-10-30 16:25:12 |
Shared | |
RemoteRunId | 21004834 |
参考
【1】https://yfsyfs.github.io/2019/10/30/hdu-2609-How-many-最大最小表示板题/
Powered By Valine
v1.5.2
v1.5.2