Toggle navigation
Bulletin
Problems
Submissions
Contests
Discuss
About
Rank
Sign in
Sign up
×
Close
2022 全國模擬賽題目上線啦 !!!!!
題目在
這裡
~
2023 全國模擬賽題目上線啦 !!!!!
題目在
這裡
~
2024 全國模擬賽題目上線啦 !!!!!
題目在
這裡
~
Results of submission #385142
Back to Submissions List
Problem
Total Time (ms)
Max Memory (RSS, KiB)
Verdict
Score
2365. E. 棲息地分配 (habitat distribution)
30653
73560
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~15
輸入保證存在兩個以上的棲息地互相無法抵達。
23
/ 23
4
16~22
輸入滿足所有測試資料中,$n$ 的總和不超過 $500$。
28
/ 28
5
0~52
無額外限制
46
/ 46
Testdata Results
Testdata no.
Subtasks
Time (ms)
Memory (VSS, KiB)
Memory (RSS, KiB)
Verdict
Score
0
1
5
000
2.7
6212
3648
Accepted
100
1
1
5
000
2.6
6212
3676
Accepted
100
2
2
5
0
146.1
8248
5340
Accepted
100
3
2
5
0
340.3
48392
45440
Accepted
100
4
2
5
0
332.0
48392
45484
Accepted
100
5
3
5
0
259.6
11396
8568
Accepted
100
6
3
5
0
301.9
8496
5632
Accepted
100
7
3
5
0
293.9
10308
7300
Accepted
100
8
3
5
0
297.9
9056
6268
Accepted
100
9
3
5
0
798.1
76508
73428
Accepted
100
10
3
5
0
685.7
76508
73560
Accepted
100
11
3
5
0
433.2
6212
3660
Accepted
100
12
3
5
0
702.2
25944
22992
Accepted
100
13
3
5
1149.0
63476
60636
Accepted
100
14
3
5
00
43.5
20276
17176
Accepted
100
15
3
5
000
3.1
6212
3672
Accepted
100
16
4
5
000
3.2
6212
3516
Accepted
100
17
4
5
000
3.1
6212
3732
Accepted
100
18
4
5
000
3.1
6212
3664
Accepted
100
19
4
5
000
3.0
6212
3744
Accepted
100
20
4
5
000
3.0
6212
3696
Accepted
100
21
4
5
0
266.3
29644
26696
Accepted
100
22
4
5
0
329.0
10672
7692
Accepted
100
23
5
0
259.9
6784
4136
Accepted
100
24
5
0
333.0
9912
7032
Accepted
100
25
5
0
259.4
6756
4004
Accepted
100
26
5
1066.7
76508
73468
Accepted
100
27
5
0
918.0
76508
73428
Accepted
100
28
5
0
913.0
76508
73448
Accepted
100
29
5
0
926.8
76508
73420
Accepted
100
30
5
0
921.2
76508
73460
Accepted
100
31
5
0
898.4
76508
73428
Accepted
100
32
5
1018.1
76508
73488
Accepted
100
33
5
0
263.1
6344
3908
Accepted
100
34
5
0
760.3
76508
73452
Accepted
100
35
5
1061.6
76508
73364
Accepted
100
36
5
1087.4
29644
27008
Accepted
100
37
5
0
927.7
29644
27068
Accepted
100
38
5
1061.2
76508
73404
Accepted
100
39
5
0
884.8
76508
73420
Accepted
100
40
5
0
829.2
29644
27128
Accepted
100
41
5
1078.5
76508
73508
Accepted
100
42
5
0
955.0
29644
27088
Accepted
100
43
5
1053.0
76508
73456
Accepted
100
44
5
0
936.1
29644
27160
Accepted
100
45
5
1041.4
76508
73552
Accepted
100
46
5
0
939.4
29644
27092
Accepted
100
47
5
0
925.8
29644
27092
Accepted
100
48
5
1055.4
76508
73560
Accepted
100
49
5
0
935.9
29644
27128
Accepted
100
50
5
0
940.2
29644
27128
Accepted
100
Submitter:
iris2617
Compiler:
c++20
Code Length:
890 Bytes
Back to Top