Toggle navigation
Bulletin
Problems
Submissions
Contests
Discuss
About
Rank
Sign in
Sign up
×
Close
1306
已加強測資並 rejudge
Results of submission #318728
Back to Submissions List
Problem
Total Time (ms)
Max Memory (RSS, KiB)
Verdict
Score
2198. 軍隊改(Army)
18171
78712
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.3
26136
17632
Accepted
100
1
5
00
19.7
26136
17648
Accepted
100
2
5
00
19.4
26136
17656
Accepted
100
3
1
5
0
287.4
82256
78560
Accepted
100
4
1
5
0
278.2
82256
78712
Accepted
100
5
1
5
0
280.3
82256
78596
Accepted
100
6
1
5
0
278.2
82256
78700
Accepted
100
7
1
5
0
282.9
82252
78696
Accepted
100
8
1
5
0
280.8
82252
78636
Accepted
100
9
1
5
0
270.4
82256
78508
Accepted
100
10
1
5
00
19.4
26136
17628
Accepted
100
11
2
3
5
00
37.3
26136
17688
Accepted
100
12
2
3
5
00
37.3
26136
17716
Accepted
100
13
2
3
5
00
33.3
26136
17764
Accepted
100
14
2
3
5
00
19.8
26136
17756
Accepted
100
15
2
3
5
00
20.1
26136
17756
Accepted
100
16
2
3
5
00
21.3
26136
17820
Accepted
100
17
2
3
5
00
21.1
26136
17696
Accepted
100
18
2
3
5
00
21.3
26136
17580
Accepted
100
19
2
3
5
00
21.0
26136
17716
Accepted
100
20
2
3
5
00
19.7
26136
17736
Accepted
100
21
2
3
5
00
19.7
26136
17684
Accepted
100
22
2
3
5
00
33.6
26136
17732
Accepted
100
23
2
3
5
00
33.9
26136
17680
Accepted
100
24
2
3
5
00
34.0
26136
17704
Accepted
100
25
2
3
5
00
33.7
26136
17744
Accepted
100
26
3
5
00
38.0
26136
17712
Accepted
100
27
3
5
00
37.4
26136
17680
Accepted
100
28
3
5
00
33.7
26136
17712
Accepted
100
29
3
5
00
20.0
26136
17704
Accepted
100
30
3
5
00
19.4
26136
17680
Accepted
100
31
3
5
00
20.7
26136
17748
Accepted
100
32
3
5
00
21.2
26136
17824
Accepted
100
33
3
5
00
20.2
26136
17688
Accepted
100
34
3
5
00
21.2
26136
17756
Accepted
100
35
3
5
00
19.5
26136
17764
Accepted
100
36
3
5
00
19.3
26136
17688
Accepted
100
37
3
5
00
33.9
26136
17696
Accepted
100
38
3
5
00
34.2
26136
17704
Accepted
100
39
3
5
00
34.1
26136
17568
Accepted
100
40
3
5
00
33.8
26136
17744
Accepted
100
41
3
5
00
19.5
26136
17656
Accepted
100
42
3
5
00
19.6
26136
17540
Accepted
100
43
3
5
00
19.5
26136
17648
Accepted
100
44
4
5
00
19.2
26136
17780
Accepted
100
45
4
5
0
556.2
43560
41024
Accepted
100
46
4
5
0
553.9
43560
40956
Accepted
100
47
4
5
0
560.0
43560
41004
Accepted
100
48
4
5
0
504.4
42372
39872
Accepted
100
49
4
5
0
507.7
42504
39836
Accepted
100
50
4
5
0
528.2
43032
40516
Accepted
100
51
4
5
0
405.4
39864
37256
Accepted
100
52
4
5
0
368.5
38280
34588
Accepted
100
53
4
5
0
439.5
41316
38476
Accepted
100
54
4
5
0
321.6
82252
78604
Accepted
100
55
4
5
0
485.7
43692
41044
Accepted
100
56
4
5
0
317.6
36960
33308
Accepted
100
57
4
5
0
305.1
36996
34252
Accepted
100
58
4
5
0
320.3
36960
33628
Accepted
100
59
4
5
0
309.8
36984
33652
Accepted
100
60
5
0
597.8
44352
41840
Accepted
100
61
5
0
599.2
44352
41760
Accepted
100
62
5
0
580.7
44352
41784
Accepted
100
63
5
0
573.6
43956
41396
Accepted
100
64
5
0
538.2
43560
41152
Accepted
100
65
5
0
551.5
43164
40628
Accepted
100
66
5
0
568.2
44616
42100
Accepted
100
67
5
0
409.6
39072
35492
Accepted
100
68
5
0
544.0
43692
41136
Accepted
100
69
5
0
462.1
42768
40064
Accepted
100
70
5
0
453.4
42636
40040
Accepted
100
71
5
0
544.1
45672
43028
Accepted
100
72
5
0
526.2
44352
41696
Accepted
100
73
5
0
529.2
44748
41976
Accepted
100
74
5
0
320.9
37116
34144
Accepted
100
75
5
0
306.1
37092
34268
Accepted
100
76
5
0
343.5
36980
34324
Accepted
100
77
5
0
312.3
36960
34036
Accepted
100
Submitter:
Caido
Compiler:
c++17
Code Length:
1.63 KB
Back to Top