Toggle navigation
Bulletin
Problems
Submissions
Contests
Discuss
About
Rank
Sign in
Sign up
×
Close
1306
已加強測資並 rejudge
Results of submission #319525
Back to Submissions List
Problem
Total Time (ms)
Max Memory (RSS, KiB)
Verdict
Score
2198. 軍隊改(Army)
10569
40024
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
000
2.7
24956
3620
Accepted
100
1
5
000
2.7
24956
3508
Accepted
100
2
5
000
2.6
24956
3596
Accepted
100
3
1
5
0
198.7
43584
39796
Accepted
100
4
1
5
0
193.1
43580
39964
Accepted
100
5
1
5
0
193.4
43584
39968
Accepted
100
6
1
5
0
190.9
43580
40024
Accepted
100
7
1
5
0
196.4
43580
39884
Accepted
100
8
1
5
0
192.9
43584
39968
Accepted
100
9
1
5
0
185.1
43580
40016
Accepted
100
10
1
5
000
2.7
24956
3620
Accepted
100
11
2
3
5
00
20.3
24956
3716
Accepted
100
12
2
3
5
00
20.5
24956
3728
Accepted
100
13
2
3
5
00
16.8
24956
3660
Accepted
100
14
2
3
5
000
3.2
24956
3680
Accepted
100
15
2
3
5
000
3.3
24956
3484
Accepted
100
16
2
3
5
000
4.2
24956
3660
Accepted
100
17
2
3
5
000
4.4
24956
3600
Accepted
100
18
2
3
5
000
4.3
24956
3636
Accepted
100
19
2
3
5
000
4.2
24956
3660
Accepted
100
20
2
3
5
000
2.9
24956
3700
Accepted
100
21
2
3
5
000
2.9
24956
3720
Accepted
100
22
2
3
5
00
16.7
24956
3724
Accepted
100
23
2
3
5
00
17.0
24956
3724
Accepted
100
24
2
3
5
00
16.9
24956
3544
Accepted
100
25
2
3
5
00
16.9
24956
3656
Accepted
100
26
3
5
00
20.2
24956
3724
Accepted
100
27
3
5
00
20.3
24956
3640
Accepted
100
28
3
5
00
16.8
24956
3644
Accepted
100
29
3
5
000
3.2
24956
3448
Accepted
100
30
3
5
000
3.2
24956
3720
Accepted
100
31
3
5
000
4.1
24956
3724
Accepted
100
32
3
5
000
4.2
24956
3652
Accepted
100
33
3
5
000
4.3
24956
3552
Accepted
100
34
3
5
000
4.3
24956
3552
Accepted
100
35
3
5
000
3.0
24956
3700
Accepted
100
36
3
5
000
3.1
24956
3720
Accepted
100
37
3
5
00
16.6
24956
3656
Accepted
100
38
3
5
00
16.6
24956
3724
Accepted
100
39
3
5
00
16.7
24956
3724
Accepted
100
40
3
5
00
16.7
24956
3720
Accepted
100
41
3
5
000
2.6
24956
3744
Accepted
100
42
3
5
000
2.7
24956
3616
Accepted
100
43
3
5
000
2.6
24956
3636
Accepted
100
44
4
5
000
2.6
24956
3636
Accepted
100
45
4
5
0
329.8
24956
22396
Accepted
100
46
4
5
0
332.2
24956
22344
Accepted
100
47
4
5
0
326.0
24956
22472
Accepted
100
48
4
5
0
296.9
24956
21460
Accepted
100
49
4
5
0
300.3
24956
21524
Accepted
100
50
4
5
0
314.8
24956
21972
Accepted
100
51
4
5
0
222.5
24956
19608
Accepted
100
52
4
5
0
207.0
24956
17484
Accepted
100
53
4
5
0
235.1
24956
20700
Accepted
100
54
4
5
0
245.2
43584
39904
Accepted
100
55
4
5
0
306.8
24956
22328
Accepted
100
56
4
5
0
165.3
24956
17548
Accepted
100
57
4
5
0
140.7
24956
17652
Accepted
100
58
4
5
0
175.1
24956
17704
Accepted
100
59
4
5
0
149.0
24956
17640
Accepted
100
60
5
0
370.6
24956
22320
Accepted
100
61
5
0
371.2
24956
22340
Accepted
100
62
5
0
369.9
24956
22372
Accepted
100
63
5
0
359.6
24956
22228
Accepted
100
64
5
0
332.7
24956
21852
Accepted
100
65
5
0
332.6
24956
22028
Accepted
100
66
5
0
356.3
24956
22152
Accepted
100
67
5
0
228.0
24956
18008
Accepted
100
68
5
0
319.5
24956
21756
Accepted
100
69
5
0
255.5
24956
20928
Accepted
100
70
5
0
247.7
24956
20596
Accepted
100
71
5
0
328.2
24956
22360
Accepted
100
72
5
0
314.1
24956
22380
Accepted
100
73
5
0
332.0
24956
22380
Accepted
100
74
5
0
162.8
24956
17756
Accepted
100
75
5
0
146.5
24956
17652
Accepted
100
76
5
0
166.4
24956
17584
Accepted
100
77
5
0
149.5
24956
17680
Accepted
100
Submitter:
Caido
Compiler:
c++17
Code Length:
1.84 KB
Back to Top