Sichuan University Programming Contest 2017 Final Warmup

D: Miss Zhao's Graph