HDU-1595-find the longest of the shortest

NoSuchKey