Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

7122
5144
Accepted
100

Subtask Results

Subtask no. Testdata Range Constraints Score
1 0~2 範例測資 0 / 0
2 3~12 $1 \le N \le 100$ 且 $M = 1$ 5 / 5
3 3~22 $M = 1$ 5 / 5
4 0, 23~32 $1 \le N \le 100$ 且 $M = 2$ 且 $1 \le b_i \le 100$ 10 / 10
5 0, 2, 23~42 $1 \le N \le 100$ 且 $M = 2$ 且 $-100 \le b_i \le 100$ 10 / 10
6 0, 2, 23~52 $M = 2$ 5 / 5
7 0~1, 23~32, 53~62 $1 \le N \le 100$ 且 $1 \le b_i \le 10000000$ 30 / 30
8 0~12, 23~42, 53~72 $1 \le N \le 100$ 20 / 20
9 0~92 題目範圍限制 15 / 15

Testdata Results

Testdata no. Subtasks Time (ms) Memory (VSS, KiB) Memory (RSS, KiB) Verdict Score
0 1 4 5 6 7 8 9 0001.5 6640 3876 Accepted 100
1 1 7 8 9 0001.4 6640 3528 Accepted 100
2 1 5 6 8 9 0001.4 6640 3636 Accepted 100
3 2 3 8 9 0001.5 6640 3836 Accepted 100
4 2 3 8 9 0001.4 6640 3844 Accepted 100
5 2 3 8 9 0001.3 6640 3872 Accepted 100
6 2 3 8 9 0001.3 6640 3576 Accepted 100
7 2 3 8 9 0001.4 6640 3640 Accepted 100
8 2 3 8 9 0001.4 6640 3876 Accepted 100
9 2 3 8 9 0001.3 6640 3632 Accepted 100
10 2 3 8 9 0001.4 6640 3632 Accepted 100
11 2 3 8 9 0001.3 6640 3804 Accepted 100
12 2 3 8 9 0001.4 6640 3636 Accepted 100
13 3 9 0160.5 6640 3528 Accepted 100
14 3 9 0159.7 6640 3580 Accepted 100
15 3 9 0159.0 6640 3576 Accepted 100
16 3 9 0160.3 6640 3652 Accepted 100
17 3 9 0159.8 6640 3636 Accepted 100
18 3 9 0158.9 6640 3584 Accepted 100
19 3 9 0159.6 6640 3644 Accepted 100
20 3 9 0161.7 6640 3804 Accepted 100
21 3 9 0160.9 6640 3564 Accepted 100
22 3 9 0159.3 6640 3584 Accepted 100
23 4 5 6 7 8 9 0001.5 6640 3672 Accepted 100
24 4 5 6 7 8 9 0001.4 6640 3844 Accepted 100
25 4 5 6 7 8 9 0001.5 6640 3632 Accepted 100
26 4 5 6 7 8 9 0001.4 6640 3576 Accepted 100
27 4 5 6 7 8 9 0001.4 6640 3616 Accepted 100
28 4 5 6 7 8 9 0001.4 6640 3572 Accepted 100
29 4 5 6 7 8 9 0001.4 6640 3576 Accepted 100
30 4 5 6 7 8 9 0001.3 6640 3612 Accepted 100
31 4 5 6 7 8 9 0001.4 6640 3616 Accepted 100
32 4 5 6 7 8 9 0001.3 6640 3876 Accepted 100
33 5 6 8 9 0001.4 6640 3636 Accepted 100
34 5 6 8 9 0001.5 6640 3640 Accepted 100
35 5 6 8 9 0001.3 6640 3656 Accepted 100
36 5 6 8 9 0001.3 6640 3580 Accepted 100
37 5 6 8 9 0001.5 6640 3576 Accepted 100
38 5 6 8 9 0001.4 6640 3572 Accepted 100
39 5 6 8 9 0001.3 6640 3872 Accepted 100
40 5 6 8 9 0001.3 6640 3812 Accepted 100
41 5 6 8 9 0001.3 6640 3584 Accepted 100
42 5 6 8 9 0001.4 6640 3876 Accepted 100
43 6 9 0154.8 6640 3884 Accepted 100
44 6 9 0161.8 6640 3844 Accepted 100
45 6 9 0161.0 6640 3684 Accepted 100
46 6 9 0032.2 6640 3584 Accepted 100
47 6 9 0158.7 6640 3620 Accepted 100
48 6 9 0158.6 6640 3644 Accepted 100
49 6 9 0158.7 6640 3580 Accepted 100
50 6 9 0159.2 6640 3648 Accepted 100
51 6 9 0161.2 6640 3596 Accepted 100
52 6 9 0160.0 6640 3580 Accepted 100
53 7 8 9 0002.0 7424 3936 Accepted 100
54 7 8 9 0002.0 7424 3940 Accepted 100
55 7 8 9 0002.0 7424 4028 Accepted 100
56 7 8 9 0001.9 7424 4024 Accepted 100
57 7 8 9 0001.8 7424 3932 Accepted 100
58 7 8 9 0002.0 7424 3972 Accepted 100
59 7 8 9 0001.9 7424 3948 Accepted 100
60 7 8 9 0001.9 7424 3960 Accepted 100
61 7 8 9 0001.8 7424 3940 Accepted 100
62 7 8 9 0002.0 7424 3976 Accepted 100
63 8 9 0009.6 9000 4940 Accepted 100
64 8 9 0002.0 7584 4248 Accepted 100
65 8 9 0002.1 7424 3956 Accepted 100
66 8 9 0001.9 7424 4028 Accepted 100
67 8 9 0002.0 7424 3972 Accepted 100
68 8 9 0001.9 7424 4004 Accepted 100
69 8 9 0002.0 7424 4096 Accepted 100
70 8 9 0001.9 7424 3972 Accepted 100
71 8 9 0001.8 7424 4100 Accepted 100
72 8 9 0002.1 7424 4140 Accepted 100
73 9 0198.0 9000 4984 Accepted 100
74 9 0204.0 9000 5104 Accepted 100
75 9 0200.5 9000 4944 Accepted 100
76 9 0201.3 9000 4968 Accepted 100
77 9 0202.8 9000 5020 Accepted 100
78 9 0200.2 9000 4944 Accepted 100
79 9 0197.5 9000 5144 Accepted 100
80 9 0198.7 9000 4920 Accepted 100
81 9 0203.4 9000 4988 Accepted 100
82 9 0198.8 9000 4924 Accepted 100
83 9 0194.7 7424 4160 Accepted 100
84 9 0194.9 7424 4096 Accepted 100
85 9 0193.6 7424 3952 Accepted 100
86 9 0198.9 7424 3948 Accepted 100
87 9 0194.7 7424 3896 Accepted 100
88 9 0200.6 7424 4160 Accepted 100
89 9 0195.5 7424 4140 Accepted 100
90 9 0193.5 7424 3988 Accepted 100
91 9 0196.8 7424 3932 Accepted 100
92 9 0195.4 7424 3980 Accepted 100
Submitter:
Compiler:
c++23
Code Length:
742 Bytes
Back to Top