Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

15305
39448
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 0008.4 38248 8164 Accepted 100
1 1 2 3 4 6 0008.2 38248 8240 Accepted 100
2 2 3 4 6 0008.0 38248 8264 Accepted 100
3 2 3 4 6 0008.4 38248 8168 Accepted 100
4 2 3 4 6 0008.2 38248 8256 Accepted 100
5 2 3 4 6 0008.3 38248 8304 Accepted 100
6 2 3 4 6 0008.2 38248 8264 Accepted 100
7 2 3 4 6 0008.3 38248 8296 Accepted 100
8 2 3 4 6 0008.3 38248 8296 Accepted 100
9 2 3 4 6 0008.1 38248 8352 Accepted 100
10 2 3 4 6 0008.6 38248 8212 Accepted 100
11 2 3 4 6 0008.3 38248 8260 Accepted 100
12 2 3 4 6 0008.2 38248 8216 Accepted 100
13 3 4 6 0008.3 38248 8236 Accepted 100
14 3 4 6 0008.3 38248 8096 Accepted 100
15 3 4 6 0008.5 38248 8256 Accepted 100
16 3 4 6 0008.5 38248 8356 Accepted 100
17 3 4 6 0008.5 38248 8264 Accepted 100
18 3 4 6 0008.1 38248 8248 Accepted 100
19 3 4 6 0008.3 38248 8260 Accepted 100
20 3 4 6 0008.2 38248 8252 Accepted 100
21 3 4 6 0008.4 38248 8300 Accepted 100
22 3 4 6 0008.4 38248 8300 Accepted 100
23 4 6 0023.9 38748 8840 Accepted 100
24 4 6 0022.8 38748 8588 Accepted 100
25 4 6 0020.4 38748 8568 Accepted 100
26 4 6 0019.8 38748 8584 Accepted 100
27 4 6 0017.2 38748 8644 Accepted 100
28 4 6 0017.1 38748 8812 Accepted 100
29 4 6 0016.9 38748 8732 Accepted 100
30 4 6 0029.6 38748 8692 Accepted 100
31 4 6 0017.0 38748 8776 Accepted 100
32 4 6 0019.2 38748 8784 Accepted 100
33 4 6 0027.6 38748 8796 Accepted 100
34 4 6 0025.8 38736 8852 Accepted 100
35 4 6 0022.2 38748 8824 Accepted 100
36 4 6 0018.9 38748 8724 Accepted 100
37 4 6 0025.4 38748 8800 Accepted 100
38 5 6 0297.1 47536 19004 Accepted 100
39 5 6 0652.1 56956 30092 Accepted 100
40 5 6 0660.7 56956 30168 Accepted 100
41 5 6 0573.3 56956 26028 Accepted 100
42 5 6 0382.7 56956 21864 Accepted 100
43 5 6 0538.8 56956 25992 Accepted 100
44 5 6 0650.2 56956 30236 Accepted 100
45 5 6 0505.6 56956 30136 Accepted 100
46 5 6 0008.3 38248 8196 Accepted 100
47 5 6 0090.9 56956 21908 Accepted 100
48 6 0511.4 48328 21328 Accepted 100
49 6 1118.7 58540 34852 Accepted 100
50 6 1134.9 58540 34808 Accepted 100
51 6 0955.2 58540 30840 Accepted 100
52 6 0609.4 57748 24852 Accepted 100
53 6 0558.5 57088 26532 Accepted 100
54 6 1352.7 60124 39448 Accepted 100
55 6 0507.8 56956 30192 Accepted 100
56 6 0521.5 56956 30240 Accepted 100
57 6 1111.1 58540 34852 Accepted 100
58 6 0624.0 57220 30904 Accepted 100
59 6 0830.4 58012 33092 Accepted 100
60 6 0594.3 57088 30740 Accepted 100
Submitter:
Compiler:
c++17
Code Length:
3.76 KB
Back to Top