摘要:
题目描述 漫长的一天结束了,饥困交加的奶牛们准备返回牛棚。 农场由 NN 片牧场组成(2≤N≤5×104),方便起见编号为 1…N。所有奶牛都要前往位于牧场 NN 的牛棚。其他 $N−1$ 片牧场中每片有一头奶牛。奶牛们可以通过 MM 条无向的小路在牧场之间移动(1≤M≤105)。第i条小路连接牧场 阅读全文
摘要:
D2. Great Vova Wall (Version 2) time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output D2. Grea 阅读全文
摘要:
D1. Great Vova Wall (Version 1) time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output D1. Grea 阅读全文
摘要:
C. Prefixes and Suffixes time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output C. Prefixes and 阅读全文
摘要:
D. TV Shows time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output D. TV Shows time limit per t 阅读全文