Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

18979
54896
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 0002.7 14124 3388 Accepted 100
1 1 2 3 4 6 0002.7 14124 3556 Accepted 100
2 2 3 4 6 0002.8 14124 3524 Accepted 100
3 2 3 4 6 0002.7 14124 3520 Accepted 100
4 2 3 4 6 0002.7 14124 3552 Accepted 100
5 2 3 4 6 0002.6 14124 3616 Accepted 100
6 2 3 4 6 0002.6 14124 3532 Accepted 100
7 2 3 4 6 0002.7 14124 3484 Accepted 100
8 2 3 4 6 0002.8 14124 3624 Accepted 100
9 2 3 4 6 0002.9 14124 3620 Accepted 100
10 2 3 4 6 0002.8 14124 3576 Accepted 100
11 2 3 4 6 0002.7 14124 3668 Accepted 100
12 2 3 4 6 0002.8 14124 3672 Accepted 100
13 3 4 6 0002.8 14124 3580 Accepted 100
14 3 4 6 0003.0 14124 3404 Accepted 100
15 3 4 6 0002.8 14124 3600 Accepted 100
16 3 4 6 0002.9 14124 3636 Accepted 100
17 3 4 6 0002.9 14124 3620 Accepted 100
18 3 4 6 0003.0 14124 3576 Accepted 100
19 3 4 6 0002.9 14124 3548 Accepted 100
20 3 4 6 0002.8 14124 3412 Accepted 100
21 3 4 6 0002.8 14124 3504 Accepted 100
22 3 4 6 0002.8 14124 3580 Accepted 100
23 4 6 0022.6 15316 4888 Accepted 100
24 4 6 0013.3 14784 4136 Accepted 100
25 4 6 0009.9 14416 3948 Accepted 100
26 4 6 0012.0 14544 4040 Accepted 100
27 4 6 0015.2 15056 4568 Accepted 100
28 4 6 0016.1 15180 4860 Accepted 100
29 4 6 0013.8 15316 4852 Accepted 100
30 4 6 0015.1 15316 4768 Accepted 100
31 4 6 0013.8 15316 4668 Accepted 100
32 4 6 0017.4 15316 4844 Accepted 100
33 4 6 0018.5 15316 4852 Accepted 100
34 4 6 0017.0 15184 4824 Accepted 100
35 4 6 0017.2 15316 4844 Accepted 100
36 4 6 0016.0 15316 4904 Accepted 100
37 4 6 0016.5 15316 4844 Accepted 100
38 5 6 0515.2 36936 28848 Accepted 100
39 5 6 1210.1 59872 54772 Accepted 100
40 5 6 1221.9 59872 54756 Accepted 100
41 5 6 0725.6 38900 31380 Accepted 100
42 5 6 0302.3 19212 9448 Accepted 100
43 5 6 0714.4 39176 31856 Accepted 100
44 5 6 1190.8 59872 54752 Accepted 100
45 5 6 0788.5 59872 54364 Accepted 100
46 5 6 0002.8 14124 3464 Accepted 100
47 5 6 0045.4 19960 9836 Accepted 100
48 6 0510.7 36936 28916 Accepted 100
49 6 1196.3 59872 54732 Accepted 100
50 6 1192.4 59872 54660 Accepted 100
51 6 0822.8 41052 33756 Accepted 100
52 6 0493.8 21996 12616 Accepted 100
53 6 0809.2 35844 28172 Accepted 100
54 6 0811.3 59872 54896 Accepted 100
55 6 0817.9 59872 54680 Accepted 100
56 6 0972.1 59872 54792 Accepted 100
57 6 1197.8 59872 54884 Accepted 100
58 6 1051.2 59872 54760 Accepted 100
59 6 1037.8 59740 54644 Accepted 100
60 6 1050.1 59872 54644 Accepted 100
Submitter:
Compiler:
c++17
Code Length:
2.88 KB
Back to Top