Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

11571
26024
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.5 18724 3492 Accepted 100
1 1 2 3 4 6 0002.7 18724 3588 Accepted 100
2 2 3 4 6 0002.8 18724 3652 Accepted 100
3 2 3 4 6 0002.7 18724 3608 Accepted 100
4 2 3 4 6 0002.7 18724 3672 Accepted 100
5 2 3 4 6 0002.7 18724 3540 Accepted 100
6 2 3 4 6 0002.7 18724 3560 Accepted 100
7 2 3 4 6 0002.9 18724 3548 Accepted 100
8 2 3 4 6 0002.6 18724 3592 Accepted 100
9 2 3 4 6 0002.7 18724 3516 Accepted 100
10 2 3 4 6 0002.6 18724 3672 Accepted 100
11 2 3 4 6 0002.6 18724 3472 Accepted 100
12 2 3 4 6 0002.7 18724 3560 Accepted 100
13 3 4 6 0002.9 18724 3564 Accepted 100
14 3 4 6 0002.7 18724 3608 Accepted 100
15 3 4 6 0003.1 18724 3392 Accepted 100
16 3 4 6 0002.6 18724 3592 Accepted 100
17 3 4 6 0002.7 18724 3400 Accepted 100
18 3 4 6 0002.5 18724 3532 Accepted 100
19 3 4 6 0002.6 18724 3396 Accepted 100
20 3 4 6 0002.7 18724 3612 Accepted 100
21 3 4 6 0002.8 18724 3528 Accepted 100
22 3 4 6 0002.6 18724 3616 Accepted 100
23 4 6 0014.3 19012 3892 Accepted 100
24 4 6 0008.8 19204 3860 Accepted 100
25 4 6 0011.8 19204 3820 Accepted 100
26 4 6 0012.0 19012 3788 Accepted 100
27 4 6 0011.0 19012 3868 Accepted 100
28 4 6 0010.0 19012 3912 Accepted 100
29 4 6 0009.4 19012 4100 Accepted 100
30 4 6 0014.9 19304 4008 Accepted 100
31 4 6 0009.6 19012 3992 Accepted 100
32 4 6 0013.9 19012 4052 Accepted 100
33 4 6 0014.0 19012 4048 Accepted 100
34 4 6 0013.9 19008 3956 Accepted 100
35 4 6 0012.5 19012 3960 Accepted 100
36 4 6 0011.9 19012 3996 Accepted 100
37 4 6 0012.7 19012 4032 Accepted 100
38 5 6 0289.5 24436 12276 Accepted 100
39 5 6 0663.4 30096 21052 Accepted 100
40 5 6 0653.5 30096 21228 Accepted 100
41 5 6 0345.9 33168 19096 Accepted 100
42 5 6 0360.4 30096 12956 Accepted 100
43 5 6 0354.4 33168 19084 Accepted 100
44 5 6 0643.9 30096 21112 Accepted 100
45 5 6 0377.6 30096 20132 Accepted 100
46 5 6 0002.7 18724 3576 Accepted 100
47 5 6 0104.4 33168 14768 Accepted 100
48 6 0342.7 26740 12840 Accepted 100
49 6 0777.6 34704 22452 Accepted 100
50 6 0769.6 34704 22464 Accepted 100
51 6 0576.9 36236 20568 Accepted 100
52 6 0492.4 30096 12992 Accepted 100
53 6 0512.7 30096 14100 Accepted 100
54 6 0715.7 36236 26024 Accepted 100
55 6 0386.5 30096 20156 Accepted 100
56 6 0474.1 30096 20132 Accepted 100
57 6 0764.8 34704 22504 Accepted 100
58 6 0561.7 30096 20132 Accepted 100
59 6 0610.9 34704 20860 Accepted 100
60 6 0546.8 30096 20088 Accepted 100
Submitter:
Compiler:
c++17
Code Length:
3.45 KB
Back to Top