QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#443814#8581. 섬ZhangYiDe0 59ms6120kbC++203.5kb2024-06-15 16:35:082024-06-15 16:35:09

詳細信息

Subtask #1:

score: 0
Wrong Answer

Test #1:

score: 6
Accepted
time: 1ms
memory: 3872kb

input:

4
0 2

output:

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

result:

ok Correct

Test #2:

score: 6
Accepted
time: 1ms
memory: 3792kb

input:

3

output:

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

result:

ok Correct

Test #3:

score: 6
Accepted
time: 1ms
memory: 5940kb

input:

4
3 1

output:

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

result:

ok Correct

Test #4:

score: 0
Wrong Answer
time: 0ms
memory: 5864kb

input:

5
1 4
1 3

output:

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

result:

wrong answer Wrong Answer, wrong operation

Subtask #2:

score: 0
Wrong Answer

Test #5:

score: 8
Accepted
time: 1ms
memory: 6120kb

input:

10
7 0
7 5
7 3
7 1
7 9
7 4
7 2

output:

1
10
6 7
7 4
7 9
7 3
7 8
7 0
7 2
1 2
7 5
1 10
2
10
3 4
2 3
8 9
9 0
4 5
7 1
0 1
5 6
7 10
2 10
1
1 7 2

result:

ok Correct

Test #6:

score: 0
Wrong Answer
time: 59ms
memory: 6116kb

input:

1000
10 919
10 561
10 671
10 430
10 425
10 987
10 608
10 401
10 467
10 850
10 207
10 99
10 864
10 907
10 590
10 410
10 3
10 236
10 546
10 455
10 694
10 651
10 193
10 295
10 910
10 929
10 151
10 157
10 869
10 453
10 587
10 800
10 988
10 832
10 7
10 723
10 172
10 628
10 432
10 527
10 702
10 328
10 895...

output:

0

result:

wrong answer Wrong Answer, wrong tree number

Subtask #3:

score: 0
Time Limit Exceeded

Test #10:

score: 0
Time Limit Exceeded

input:

5000
4593 3389
4593 1610
4593 2357
4593 3323
4593 2037
4593 3667
4593 2737
4593 2642
4593 3981
4593 2700
4593 2134
4593 1719
4593 1444
4593 3729
4593 1371
4593 546
4593 1249
4593 646
4593 4221
4593 1542
4593 2314
4735 4952
4593 680
4593 2555
4593 2152
4593 740
4593 4056
4593 64
4593 3079
4593 3021
4...

output:

Unauthorized output

result:


Subtask #4:

score: 0
Skipped

Dependency #1:

0%

Subtask #5:

score: 0
Skipped

Dependency #1:

0%