QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#570580#9318. AC Automation ChickenLavender_FieldTL 0ms0kbC++148.2kb2024-09-17 16:36:122024-09-17 16:36:15

詳細信息

Test #1:

score: 0
Time Limit Exceeded

input:

4
4
1 4
4 1
1 2
2 1
2 3
3 4
2
1 2
1 2
1
3
1 2
2 1
2 3
3 2

output:


result: