QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#134138#6399. Classic: Classical ProblemGuanYunchangWA 1ms3528kbC++202.2kb2023-08-03 08:48:292023-08-03 08:48:31

详细

Test #1:

score: 100
Accepted
time: 1ms
memory: 3476kb

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: 3528kb

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
Wrong Answer
time: 1ms
memory: 3524kb

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:

3 1
0 1 2
1 1
0
1 2
1
1 1
0
1 2
2
1 1
0
2 6
1 2

result:

wrong answer 13th lines differ - expected: '2 3', found: '2 6'