CF678E Another Sith Tournament(思维+dp)

NoSuchKey