QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#842125#9969. Kindergarten Squareucup-team3935#RE 0ms3640kbC++20818b2025-01-04 10:23:442025-01-04 10:23:46

详细

Test #1:

score: 100
Accepted
time: 0ms
memory: 3640kb

input:

4
6 7
10 11
2 3
4 5
8 5
5 13
1 2
5 6

output:

3 4
-1
-1
2 4

result:

ok All testcases passed.

Test #2:

score: -100
Runtime Error

input:

10
1 2
4 5
4 3
2 1
1 2
5 6
2 3
5 6
2 3
6 7
3 4
6 7
2 1
3 4
1 2
2 3
2 3
3 4
7 7
7 7

output:


result: