[POJ3096]Surprising Strings 试题描述 The D-pairs of a string of letters are the ordered pairs of letters that are distance D from each other. A string is D-unique if all of its D-pairs are different. A string is surprising if it is D-unique for every pos…
C++的标准模版库的应用 Surprising Strings Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 6625 Accepted: 4309 Description The D-pairs of a string of letters are the ordered pairs of letters that are distance D from each other. A string is D-uniq…