Edge Weight Assignment CodeForces - 1339D(思维+贪心)

NoSuchKey