G. Livestock Lineup
摘要:
G. Livestock Lineup https://codeforces.com/group/5yyKg9gx7m/contest/269717/problem/G 题目描述: 有8头牛,给出n条信息,每条信息要求牛X要在牛Y旁边。 再按他们的字典序最小的输出。 分析: 先按字典序把这8头牛用1 阅读全文
posted @ 2020-03-03 22:31 Aminers 阅读(237) 评论(0) 推荐(0)
浙公网安备 33010602011771号