QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#516624#6399. Classic: Classical ProblemZhaoZiLongTL 0ms3912kbC++201.7kb2024-08-12 19:55:322024-08-12 19:55:32

詳細信息

Test #1:

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

input:

3
2 3
0 2
3 5
2 3 4
3 5
0 2 3

output:

1 2
2 
1 1
0 
2 2
2 3 

result:

ok 6 lines

Test #2:

score: 0
Accepted
time: 0ms
memory: 3912kb

input:

3
1 2
0
1 2
1
2 2
1 0

output:

2 1
0 1 
1 1
0 
1 2
1 

result:

ok 6 lines

Test #3:

score: -100
Time Limit Exceeded

input:

7
1 3
0
1 3
1
2 3
1 0
1 3
2
2 3
2 0
2 3
1 2
3 3
0 1 2

output:


result: