#P9425. HDU 6761 Minimum Index
HDU 6761 Minimum Index
Description
给你一个字符串,求每个前缀的最小后缀对应的起始位置。
总的字符串长度 <= 2e7
Format
Input
Two integers x and y, satisfying .
Output
One integer, the sum of x and y.
Samples
1
aab
1238769
给你一个字符串,求每个前缀的最小后缀对应的起始位置。
总的字符串长度 <= 2e7
Two integers x and y, satisfying 0≤x,y≤32767 .
One integer, the sum of x and y.
1
aab
1238769