QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#446252#8581. 섬HuangHanSheng0 8ms51712kbC++201.4kb2024-06-17 03:15:402024-06-17 03:15:40

Details

Tip: Click on the bar to expand more detailed information

Subtask #1:

score: 0
Wrong Answer

Test #1:

score: 0
Wrong Answer
time: 4ms
memory: 50696kb

input:

4
0 2

output:

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

result:

wrong answer Wrong Answer, wrong tree number

Subtask #2:

score: 0
Wrong Answer

Test #5:

score: 0
Wrong Answer
time: 4ms
memory: 50980kb

input:

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

output:

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

result:

wrong answer Wrong Answer, wrong tree number

Subtask #3:

score: 0
Wrong Answer

Test #10:

score: 0
Wrong Answer
time: 8ms
memory: 51712kb

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:

4951
4950
4949
4948
4947
4946
4945
4944
4943
4942
4941
4940
4939
4938
4937
4936
4935
4934
4933
4932
4931
4930
4929
4928
4927
4926
4925
4924
4923
4922
4921
4920
4919
4918
4917
4916
4915
4914
4913
4912
4911
4910
4909
4908
4907
4906
4905
4904
4903
4902
4901
4900
4899
4898
4897
4896
4895
4894
4893
4892
...

result:

wrong answer Wrong Answer, wrong tree number

Subtask #4:

score: 0
Skipped

Dependency #1:

0%

Subtask #5:

score: 0
Skipped

Dependency #1:

0%