Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

18210
72012
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 0017.7 18720 15596 Accepted 100
1 1 2 3 4 6 0017.3 18720 15596 Accepted 100
2 2 3 4 6 0017.0 18720 15440 Accepted 100
3 2 3 4 6 0017.2 18720 15384 Accepted 100
4 2 3 4 6 0017.8 18720 15444 Accepted 100
5 2 3 4 6 0017.1 18720 15608 Accepted 100
6 2 3 4 6 0017.1 18720 15532 Accepted 100
7 2 3 4 6 0017.1 18720 15380 Accepted 100
8 2 3 4 6 0017.4 18720 15484 Accepted 100
9 2 3 4 6 0017.0 18720 15600 Accepted 100
10 2 3 4 6 0017.8 18720 15608 Accepted 100
11 2 3 4 6 0017.5 18720 15584 Accepted 100
12 2 3 4 6 0017.3 18720 15536 Accepted 100
13 3 4 6 0017.1 18720 15528 Accepted 100
14 3 4 6 0017.6 18720 15440 Accepted 100
15 3 4 6 0017.2 18720 15608 Accepted 100
16 3 4 6 0017.3 18720 15464 Accepted 100
17 3 4 6 0017.4 18720 15336 Accepted 100
18 3 4 6 0017.2 18720 15608 Accepted 100
19 3 4 6 0017.5 18720 15524 Accepted 100
20 3 4 6 0017.3 18720 15472 Accepted 100
21 3 4 6 0017.9 18720 15400 Accepted 100
22 3 4 6 0017.2 18720 15476 Accepted 100
23 4 6 0039.4 19732 17028 Accepted 100
24 4 6 0036.9 19508 16636 Accepted 100
25 4 6 0034.7 19144 16056 Accepted 100
26 4 6 0031.8 19168 16060 Accepted 100
27 4 6 0029.7 19388 16292 Accepted 100
28 4 6 0027.8 19472 16732 Accepted 100
29 4 6 0026.4 19484 16720 Accepted 100
30 4 6 0046.3 20108 17284 Accepted 100
31 4 6 0026.6 19484 16656 Accepted 100
32 4 6 0030.4 19500 16656 Accepted 100
33 4 6 0040.0 19732 16852 Accepted 100
34 4 6 0041.1 19740 16840 Accepted 100
35 4 6 0035.9 19700 17032 Accepted 100
36 4 6 0030.2 19644 16772 Accepted 100
37 4 6 0037.3 19728 17020 Accepted 100
38 5 6 0387.8 37592 34444 Accepted 100
39 5 6 0863.5 56532 53044 Accepted 100
40 5 6 0867.4 56532 53112 Accepted 100
41 5 6 0649.0 42684 39444 Accepted 100
42 5 6 0447.0 30520 27088 Accepted 100
43 5 6 0661.3 43120 39560 Accepted 100
44 5 6 0854.2 56536 53120 Accepted 100
45 5 6 0557.9 56512 53084 Accepted 100
46 5 6 0017.0 18720 15612 Accepted 100
47 5 6 0046.0 23416 20408 Accepted 100
48 6 0641.2 43012 38996 Accepted 100
49 6 1215.0 67524 62500 Accepted 100
50 6 1210.3 67384 62608 Accepted 100
51 6 1159.9 55436 50724 Accepted 100
52 6 0715.2 34232 31228 Accepted 100
53 6 0723.4 42892 39672 Accepted 100
54 6 1291.7 76320 72012 Accepted 100
55 6 0558.3 56536 53108 Accepted 100
56 6 0650.4 56540 53028 Accepted 100
57 6 1201.7 67500 62596 Accepted 100
58 6 0821.1 57892 54636 Accepted 100
59 6 0965.7 64012 59156 Accepted 100
60 6 0790.6 57424 53992 Accepted 100
Submitter:
Compiler:
c++17
Code Length:
2.82 KB
Back to Top