Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

9395
18668
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 6216 3584 Accepted 100
1 1 2 3 4 6 0002.4 6216 3528 Accepted 100
2 2 3 4 6 0002.6 6216 3568 Accepted 100
3 2 3 4 6 0002.6 6216 3584 Accepted 100
4 2 3 4 6 0002.7 6216 3548 Accepted 100
5 2 3 4 6 0002.6 6216 3452 Accepted 100
6 2 3 4 6 0002.6 6216 3584 Accepted 100
7 2 3 4 6 0002.6 6216 3584 Accepted 100
8 2 3 4 6 0002.6 6216 3572 Accepted 100
9 2 3 4 6 0002.8 6216 3596 Accepted 100
10 2 3 4 6 0002.7 6216 3592 Accepted 100
11 2 3 4 6 0002.6 6216 3636 Accepted 100
12 2 3 4 6 0002.7 6216 3524 Accepted 100
13 3 4 6 0002.6 6216 3596 Accepted 100
14 3 4 6 0002.6 6216 3568 Accepted 100
15 3 4 6 0002.6 6216 3512 Accepted 100
16 3 4 6 0002.6 6216 3536 Accepted 100
17 3 4 6 0002.7 6216 3576 Accepted 100
18 3 4 6 0002.6 6216 3592 Accepted 100
19 3 4 6 0002.7 6216 3552 Accepted 100
20 3 4 6 0002.6 6216 3596 Accepted 100
21 3 4 6 0002.5 6216 3372 Accepted 100
22 3 4 6 0002.7 6216 3588 Accepted 100
23 4 6 0011.6 6504 3648 Accepted 100
24 4 6 0010.5 6484 3664 Accepted 100
25 4 6 0009.5 6372 3716 Accepted 100
26 4 6 0009.8 6376 3716 Accepted 100
27 4 6 0009.5 6540 3664 Accepted 100
28 4 6 0008.8 6560 3724 Accepted 100
29 4 6 0007.6 6564 3648 Accepted 100
30 4 6 0008.4 6524 3700 Accepted 100
31 4 6 0007.9 6564 3636 Accepted 100
32 4 6 0009.9 6564 3656 Accepted 100
33 4 6 0011.3 6504 3696 Accepted 100
34 4 6 0011.2 6500 3656 Accepted 100
35 4 6 0010.2 6500 3632 Accepted 100
36 4 6 0009.3 6568 3732 Accepted 100
37 4 6 0010.5 6504 3696 Accepted 100
38 5 6 0231.4 13264 10376 Accepted 100
39 5 6 0540.8 20296 17080 Accepted 100
40 5 6 0534.2 20296 17232 Accepted 100
41 5 6 0396.6 17172 13952 Accepted 100
42 5 6 0253.1 14040 10948 Accepted 100
43 5 6 0408.8 17188 14016 Accepted 100
44 5 6 0518.2 20296 17184 Accepted 100
45 5 6 0319.8 20292 17128 Accepted 100
46 5 6 0002.5 6216 3516 Accepted 100
47 5 6 0041.6 12476 9428 Accepted 100
48 6 0276.3 13656 10588 Accepted 100
49 6 0616.6 21080 17976 Accepted 100
50 6 0619.6 21076 18016 Accepted 100
51 6 0524.2 18260 15364 Accepted 100
52 6 0382.4 14804 11840 Accepted 100
53 6 0431.0 16912 13684 Accepted 100
54 6 0390.4 21856 18668 Accepted 100
55 6 0326.3 20296 17116 Accepted 100
56 6 0394.5 20296 17064 Accepted 100
57 6 0603.6 21076 17992 Accepted 100
58 6 0446.5 20416 17476 Accepted 100
59 6 0487.2 20780 17740 Accepted 100
60 6 0443.5 20368 17456 Accepted 100
Submitter:
Compiler:
c++20
Code Length:
4.33 KB
Back to Top