Toggle navigation
Bulletin
Problems
Submissions
Contests
Discuss
About
Rank
Sign in
Sign up
×
Close
2002
已修正限制並 rejudge
2024 全國賽
(除了D) 已公開!
Results of submission #400821
Back to Submissions List
Problem
Total Time (ms)
Max Memory (RSS, KiB)
Verdict
Score
2365. E. 棲息地分配 (habitat distribution)
16975
41636
Accepted
100
Subtask Results
Subtask no.
Testdata Range
Constraints
Score
1
0~1
範例測資
0
/ 0
2
2~4
輸入滿足 $m = n − 1$,且所有的棲息地連通。
3
/ 3
3
5~14
輸入保證存在兩個以上的棲息地互相無法抵達。
23
/ 23
4
15~20
輸入滿足所有測試資料中,$n$ 的總和不超過 $500$。
28
/ 28
5
0~50
無額外限制
46
/ 46
Testdata Results
Testdata no.
Subtasks
Time (ms)
Memory (VSS, KiB)
Memory (RSS, KiB)
Verdict
Score
0
1
5
000
3.2
6220
3344
Accepted
100
1
1
5
000
3.1
6220
3492
Accepted
100
2
2
5
0
156.8
7592
4652
Accepted
100
3
2
5
0
572.5
33000
28988
Accepted
100
4
2
5
0
512.7
35628
31856
Accepted
100
5
3
5
0
187.7
8336
5384
Accepted
100
6
3
5
0
197.0
7204
4544
Accepted
100
7
3
5
0
192.4
7908
4932
Accepted
100
8
3
5
0
209.8
7272
4204
Accepted
100
9
3
5
0
426.4
33160
27944
Accepted
100
10
3
5
0
397.8
31316
28060
Accepted
100
11
3
5
00
58.6
6220
3392
Accepted
100
12
3
5
0
242.8
14464
10704
Accepted
100
13
3
5
0
407.1
25516
22144
Accepted
100
14
3
5
00
42.8
15596
12272
Accepted
100
15
4
5
000
3.5
6220
3500
Accepted
100
16
4
5
000
3.6
6220
3428
Accepted
100
17
4
5
000
3.3
6220
3420
Accepted
100
18
4
5
000
3.2
6220
3508
Accepted
100
19
4
5
000
3.4
6220
3552
Accepted
100
20
4
5
000
3.4
6220
3540
Accepted
100
21
5
0
116.5
16760
12960
Accepted
100
22
5
0
235.8
8572
5440
Accepted
100
23
5
0
214.0
6656
3908
Accepted
100
24
5
0
228.3
7944
5092
Accepted
100
25
5
0
229.1
6648
3880
Accepted
100
26
5
0
549.2
40820
33420
Accepted
100
27
5
0
711.8
42180
37188
Accepted
100
28
5
0
781.6
43552
37908
Accepted
100
29
5
0
722.0
40640
35728
Accepted
100
30
5
0
706.9
40664
35728
Accepted
100
31
5
0
803.0
46540
40868
Accepted
100
32
5
0
542.2
40820
33316
Accepted
100
33
5
0
191.7
6456
3740
Accepted
100
34
5
0
891.5
44528
41636
Accepted
100
35
5
0
526.8
40820
33304
Accepted
100
36
5
0
304.7
17532
14196
Accepted
100
37
5
0
358.7
17280
13580
Accepted
100
38
5
0
566.5
40820
33408
Accepted
100
39
5
0
754.8
42560
37824
Accepted
100
40
5
0
476.0
20428
17552
Accepted
100
41
5
0
419.3
35112
27920
Accepted
100
42
5
0
291.1
15208
11872
Accepted
100
43
5
0
427.9
35108
28028
Accepted
100
44
5
0
281.8
15208
11876
Accepted
100
45
5
0
387.9
35112
27992
Accepted
100
46
5
0
294.5
15212
11976
Accepted
100
47
5
0
309.8
15208
11876
Accepted
100
48
5
0
439.2
35112
27992
Accepted
100
49
5
0
288.3
15204
12016
Accepted
100
50
5
0
293.0
15208
11784
Accepted
100
Submitter:
bwoah
Compiler:
c++20
Code Length:
2.49 KB
Back to Top