[SPOJ]RNG - Random Number Generator

【SPOJ7258】Lexicographical Substring Search

【SPOJ1812】Longest Common Substring II

【SPOJ1811】Longest Common Substring

【SPOJ8222】Substrings