Toggle navigation
Bulletin
Problems
Submissions
Contests
Discuss
About
Rank
Sign in
Sign up
×
Close
1306
已加強測資並 rejudge
Results of submission #318731
Back to Submissions List
Problem
Total Time (ms)
Max Memory (RSS, KiB)
Verdict
Score
2198. 軍隊改(Army)
12573
82708
Accepted
100
Subtask Results
Subtask no.
Testdata Range
Constraints
Score
1
3~10
$M=N-1$,$u_i=i$,$v_i=i+1$。
21
/ 21
2
11~25
$N\le 500$,$Q_{upper}=3\times 10^ 5$。
18
/ 18
3
11~43
$N\le 500$。
14
/ 14
4
44~59
$A=1$。
23
/ 23
5
0~77
無額外限制。
24
/ 24
Testdata Results
Testdata no.
Subtasks
Time (ms)
Memory (VSS, KiB)
Memory (RSS, KiB)
Verdict
Score
0
5
00
19.8
26108
16848
Accepted
100
1
5
00
20.3
26108
16800
Accepted
100
2
5
00
19.9
26108
16856
Accepted
100
3
1
5
0
188.6
86916
82576
Accepted
100
4
1
5
0
186.8
86916
82708
Accepted
100
5
1
5
0
185.4
86916
82576
Accepted
100
6
1
5
0
185.1
86912
82544
Accepted
100
7
1
5
0
186.6
86912
82528
Accepted
100
8
1
5
0
186.8
86916
82576
Accepted
100
9
1
5
0
182.3
86912
82492
Accepted
100
10
1
5
00
20.0
26108
16864
Accepted
100
11
2
3
5
00
23.3
26108
16904
Accepted
100
12
2
3
5
00
23.5
26108
16980
Accepted
100
13
2
3
5
00
22.9
26108
16936
Accepted
100
14
2
3
5
00
19.9
26108
17052
Accepted
100
15
2
3
5
00
20.2
26108
16940
Accepted
100
16
2
3
5
00
20.4
26108
16960
Accepted
100
17
2
3
5
00
20.3
26108
16996
Accepted
100
18
2
3
5
00
20.4
26108
17092
Accepted
100
19
2
3
5
00
20.4
26108
16980
Accepted
100
20
2
3
5
00
20.1
26108
17104
Accepted
100
21
2
3
5
00
20.3
26108
17044
Accepted
100
22
2
3
5
00
22.9
26108
17072
Accepted
100
23
2
3
5
00
22.9
26108
16960
Accepted
100
24
2
3
5
00
22.7
26108
16976
Accepted
100
25
2
3
5
00
22.9
26108
16960
Accepted
100
26
3
5
00
23.4
26108
16924
Accepted
100
27
3
5
00
23.4
26108
16908
Accepted
100
28
3
5
00
23.0
26108
16980
Accepted
100
29
3
5
00
20.4
26108
17052
Accepted
100
30
3
5
00
20.3
26108
16924
Accepted
100
31
3
5
00
20.3
26108
16984
Accepted
100
32
3
5
00
20.3
26108
16968
Accepted
100
33
3
5
00
20.4
26108
16912
Accepted
100
34
3
5
00
20.5
26108
17096
Accepted
100
35
3
5
00
19.7
26108
17004
Accepted
100
36
3
5
00
20.3
26108
16924
Accepted
100
37
3
5
00
22.8
26108
16980
Accepted
100
38
3
5
00
22.7
26108
16896
Accepted
100
39
3
5
00
22.8
26108
16956
Accepted
100
40
3
5
00
23.0
26108
16980
Accepted
100
41
3
5
00
19.9
26108
16880
Accepted
100
42
3
5
00
20.1
26108
16848
Accepted
100
43
3
5
00
20.3
26108
16860
Accepted
100
44
4
5
00
20.1
26108
16820
Accepted
100
45
4
5
0
357.4
43532
40492
Accepted
100
46
4
5
0
345.7
43532
40500
Accepted
100
47
4
5
0
346.1
43532
40512
Accepted
100
48
4
5
0
379.9
42344
39232
Accepted
100
49
4
5
0
344.0
42476
39272
Accepted
100
50
4
5
0
353.3
43004
39812
Accepted
100
51
4
5
0
291.5
39836
36592
Accepted
100
52
4
5
0
251.3
38384
33956
Accepted
100
53
4
5
0
308.0
41288
37880
Accepted
100
54
4
5
0
192.4
86912
82520
Accepted
100
55
4
5
0
323.5
43664
40364
Accepted
100
56
4
5
0
239.9
36956
32472
Accepted
100
57
4
5
0
238.1
36932
33456
Accepted
100
58
4
5
0
241.8
36960
32844
Accepted
100
59
4
5
0
233.7
36932
32796
Accepted
100
60
5
0
396.7
44324
41092
Accepted
100
61
5
0
392.1
44324
41044
Accepted
100
62
5
0
383.0
44324
41052
Accepted
100
63
5
0
374.2
43928
40624
Accepted
100
64
5
0
371.4
43664
40300
Accepted
100
65
5
0
361.9
43136
39900
Accepted
100
66
5
0
380.0
44720
41556
Accepted
100
67
5
0
266.5
39044
35088
Accepted
100
68
5
0
363.5
43664
40576
Accepted
100
69
5
0
334.9
42740
39388
Accepted
100
70
5
0
337.1
42608
39324
Accepted
100
71
5
0
389.7
45644
42484
Accepted
100
72
5
0
361.8
44324
40984
Accepted
100
73
5
0
374.9
44720
41500
Accepted
100
74
5
0
226.5
37064
33692
Accepted
100
75
5
0
236.3
37072
33460
Accepted
100
76
5
0
234.3
36932
33748
Accepted
100
77
5
0
233.9
36944
33316
Accepted
100
Submitter:
Caido
Compiler:
c++17
Code Length:
2.55 KB
Back to Top