Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

15612
83900
Accepted
100

Subtask Results

Subtask no. Testdata Range Constraints Score
1 0~1 範例測資 0 / 0
2 0~12 $n \le 100, P \le 100$ 5 / 5
3 0~22 $n \le 100, P \le 10000$ 7 / 7
4 0~37 $n \le 5000$ 17 / 17
5 38~47 對於所有 $i$,$b_i \le a_i$ 40 / 40
6 0~60 無額外限制 31 / 31

Testdata Results

Testdata no. Subtasks Time (ms) Memory (VSS, KiB) Memory (RSS, KiB) Verdict Score
0 1 2 3 4 6 0025.7 79660 22332 Accepted 100
1 1 2 3 4 6 0025.9 79660 22136 Accepted 100
2 2 3 4 6 0026.2 79660 22124 Accepted 100
3 2 3 4 6 0026.3 79660 22296 Accepted 100
4 2 3 4 6 0025.5 79660 22340 Accepted 100
5 2 3 4 6 0025.4 79660 22412 Accepted 100
6 2 3 4 6 0025.7 79660 22144 Accepted 100
7 2 3 4 6 0025.3 79660 22140 Accepted 100
8 2 3 4 6 0026.1 79660 22364 Accepted 100
9 2 3 4 6 0024.4 79660 22280 Accepted 100
10 2 3 4 6 0026.6 79660 22316 Accepted 100
11 2 3 4 6 0025.4 79660 22112 Accepted 100
12 2 3 4 6 0025.3 79660 22368 Accepted 100
13 3 4 6 0026.3 79660 22336 Accepted 100
14 3 4 6 0026.0 79660 22392 Accepted 100
15 3 4 6 0025.0 79660 22324 Accepted 100
16 3 4 6 0026.0 79660 22372 Accepted 100
17 3 4 6 0026.0 79660 22376 Accepted 100
18 3 4 6 0025.7 79660 22364 Accepted 100
19 3 4 6 0032.8 79660 22324 Accepted 100
20 3 4 6 0025.8 79660 22320 Accepted 100
21 3 4 6 0026.0 79660 22152 Accepted 100
22 3 4 6 0025.8 79660 22176 Accepted 100
23 4 6 0040.5 80508 23576 Accepted 100
24 4 6 0036.8 80496 23268 Accepted 100
25 4 6 0034.5 80500 22864 Accepted 100
26 4 6 0034.2 80284 23040 Accepted 100
27 4 6 0034.7 80088 23124 Accepted 100
28 4 6 0035.1 80088 23312 Accepted 100
29 4 6 0034.8 80088 23344 Accepted 100
30 4 6 0042.7 81028 23532 Accepted 100
31 4 6 0035.2 80088 23360 Accepted 100
32 4 6 0036.5 80220 23436 Accepted 100
33 4 6 0041.3 80508 23444 Accepted 100
34 4 6 0040.7 80536 23488 Accepted 100
35 4 6 0039.2 80352 23592 Accepted 100
36 4 6 0036.8 80224 23456 Accepted 100
37 4 6 0039.7 80508 23504 Accepted 100
38 5 6 0331.9 88944 40188 Accepted 100
39 5 6 0703.8 98320 58680 Accepted 100
40 5 6 0710.5 98320 58712 Accepted 100
41 5 6 0443.2 95512 46784 Accepted 100
42 5 6 0248.1 96332 38868 Accepted 100
43 5 6 0470.4 96076 47532 Accepted 100
44 5 6 0696.1 98320 58488 Accepted 100
45 5 6 0560.6 98320 58704 Accepted 100
46 5 6 0025.4 79660 22304 Accepted 100
47 5 6 0050.2 79660 23864 Accepted 100
48 6 0505.1 97752 46320 Accepted 100
49 6 1089.6 115696 70556 Accepted 100
50 6 1099.9 115704 70392 Accepted 100
51 6 0813.4 114624 60404 Accepted 100
52 6 0445.8 102880 46544 Accepted 100
53 6 0568.9 97600 48728 Accepted 100
54 6 1097.3 128792 83900 Accepted 100
55 6 0572.3 98320 58668 Accepted 100
56 6 0614.4 98320 58720 Accepted 100
57 6 1105.5 115804 70432 Accepted 100
58 6 0727.7 99816 60680 Accepted 100
59 6 0875.6 110564 66196 Accepted 100
60 6 0694.0 99628 59908 Accepted 100
Submitter:
Compiler:
c++17
Code Length:
4.22 KB
Back to Top