#H608. [CSP-S 2020] 动物园
[CSP-S 2020] 动物园
题目描述

输入格式

输出格式

3 3 5 4
1 4 6
0 3
2 4
2 5
13
2 2 4 3
1 2
1 3
2 4
2
提示




3 3 5 4
1 4 6
0 3
2 4
2 5
13
2 2 4 3
1 2
1 3
2 4
2

By signing up a 黑猫OJ universal account, you can submit code and join discussions in all online judging services provided by us.