你可以进行最多三次询问,同时所有子串的长度总和不能大于 ⌈0.777(n+1)2⌉\lceil0.777(n+1)^2\rceil⌈0.777(n+1)2⌉。
rt,应为所有询问中所有子串的总数。
原文:the total number of returned substrings in all queries
the total number of returned substrings in all queries
按照原翻译就需要4次了