QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#443417#8581. 섬ZhaoZiLong0 2ms4364kbC++203.4kb2024-06-15 15:29:482024-06-15 15:29:54

Details

Tip: Click on the bar to expand more detailed information

Subtask #1:

score: 0
Wrong Answer

Test #1:

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

input:

4
0 2

output:

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

result:

ok Correct

Test #2:

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

input:

3

output:

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

result:

ok Correct

Test #3:

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

input:

4
3 1

output:

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

result:

ok Correct

Test #4:

score: 0
Wrong Answer
time: 1ms
memory: 3820kb

input:

5
1 4
1 3

output:

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

result:

wrong answer Wrong Answer, wrong edge for tree

Subtask #2:

score: 0
Wrong Answer

Test #5:

score: 0
Wrong Answer
time: 1ms
memory: 3956kb

input:

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

output:

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

result:

wrong answer Wrong Answer, wrong edge for tree

Subtask #3:

score: 0
Wrong Answer

Test #10:

score: 0
Wrong Answer
time: 2ms
memory: 4364kb

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:

1
5000
1 5000
0 1
0 2
0 3
0 4
0 5
0 6
0 7
0 8
0 9
0 10
0 11
0 12
0 13
0 14
0 15
0 16
0 17
0 18
0 19
0 20
0 21
0 22
0 23
0 24
0 25
0 26
0 27
0 28
0 29
0 30
0 31
0 32
0 33
0 34
0 35
0 36
0 37
0 38
0 39
0 40
0 41
0 42
0 43
0 44
0 45
0 46
0 47
0 48
0 49
0 50
0 51
0 52
0 53
0 54
0 55
0 56
0 57
0 58
0 59
...

result:

wrong answer Wrong Answer, wrong operation

Subtask #4:

score: 0
Skipped

Dependency #1:

0%

Subtask #5:

score: 0
Skipped

Dependency #1:

0%