QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#860057#9318. AC Automation ChickenFelix72RE 0ms0kbC++233.8kb2025-01-18 09:53:342025-01-18 09:53:34

詳細信息

Test #1:

score: 0
Runtime Error

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: