Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

21992
4512
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.4 6480 3668 Accepted 100
1 1 7 8 9 0001.5 6480 3656 Accepted 100
2 1 5 6 8 9 0001.4 6480 3668 Accepted 100
3 2 3 8 9 0001.5 6480 3720 Accepted 100
4 2 3 8 9 0001.4 6480 3684 Accepted 100
5 2 3 8 9 0001.4 6480 3668 Accepted 100
6 2 3 8 9 0001.5 6480 3584 Accepted 100
7 2 3 8 9 0001.4 6480 3648 Accepted 100
8 2 3 8 9 0001.4 6480 3716 Accepted 100
9 2 3 8 9 0001.4 6480 3648 Accepted 100
10 2 3 8 9 0001.4 6480 3588 Accepted 100
11 2 3 8 9 0001.3 6480 3648 Accepted 100
12 2 3 8 9 0001.5 6480 3584 Accepted 100
13 3 9 0479.6 6480 3720 Accepted 100
14 3 9 0475.3 6480 3720 Accepted 100
15 3 9 0480.4 6480 3588 Accepted 100
16 3 9 0477.9 6480 3640 Accepted 100
17 3 9 0485.2 6480 3612 Accepted 100
18 3 9 0477.5 6480 3652 Accepted 100
19 3 9 0475.1 6480 3588 Accepted 100
20 3 9 0481.7 6480 3652 Accepted 100
21 3 9 0481.7 6480 3716 Accepted 100
22 3 9 0476.8 6480 3664 Accepted 100
23 4 5 6 7 8 9 0001.6 6480 3588 Accepted 100
24 4 5 6 7 8 9 0001.5 6480 3664 Accepted 100
25 4 5 6 7 8 9 0001.5 6480 3640 Accepted 100
26 4 5 6 7 8 9 0001.5 6480 3668 Accepted 100
27 4 5 6 7 8 9 0001.5 6480 3648 Accepted 100
28 4 5 6 7 8 9 0001.4 6480 3592 Accepted 100
29 4 5 6 7 8 9 0001.4 6480 3648 Accepted 100
30 4 5 6 7 8 9 0001.4 6480 3708 Accepted 100
31 4 5 6 7 8 9 0001.4 6480 3672 Accepted 100
32 4 5 6 7 8 9 0001.4 6480 3656 Accepted 100
33 5 6 8 9 0003.3 6480 3712 Accepted 100
34 5 6 8 9 0001.5 6480 3668 Accepted 100
35 5 6 8 9 0001.4 6480 3732 Accepted 100
36 5 6 8 9 0001.4 6480 3596 Accepted 100
37 5 6 8 9 0001.4 6480 3592 Accepted 100
38 5 6 8 9 0001.4 6480 3576 Accepted 100
39 5 6 8 9 0001.5 6480 3588 Accepted 100
40 5 6 8 9 0001.4 6480 3576 Accepted 100
41 5 6 8 9 0001.5 6480 3592 Accepted 100
42 5 6 8 9 0001.4 6480 3708 Accepted 100
43 6 9 0478.6 6480 3720 Accepted 100
44 6 9 0475.4 6480 3728 Accepted 100
45 6 9 0476.1 6480 3656 Accepted 100
46 6 9 0489.8 6480 3652 Accepted 100
47 6 9 0478.8 6480 3652 Accepted 100
48 6 9 0480.9 6480 3652 Accepted 100
49 6 9 0487.5 6480 3648 Accepted 100
50 6 9 0476.2 6480 3668 Accepted 100
51 6 9 0476.7 6480 3588 Accepted 100
52 6 9 0486.6 6480 3600 Accepted 100
53 7 8 9 0001.9 7140 4448 Accepted 100
54 7 8 9 0002.0 7140 4492 Accepted 100
55 7 8 9 0001.9 7136 4368 Accepted 100
56 7 8 9 0001.9 7140 4512 Accepted 100
57 7 8 9 0001.9 7144 4372 Accepted 100
58 7 8 9 0001.9 7140 4432 Accepted 100
59 7 8 9 0001.9 7136 4488 Accepted 100
60 7 8 9 0001.9 7140 4436 Accepted 100
61 7 8 9 0002.0 7136 4444 Accepted 100
62 7 8 9 0001.9 7136 4428 Accepted 100
63 8 9 0009.7 7136 4484 Accepted 100
64 8 9 0001.9 7144 4368 Accepted 100
65 8 9 0002.0 7144 4396 Accepted 100
66 8 9 0001.9 7136 4372 Accepted 100
67 8 9 0001.9 7136 4488 Accepted 100
68 8 9 0001.9 7136 4360 Accepted 100
69 8 9 0001.8 7140 4432 Accepted 100
70 8 9 0001.9 7136 4372 Accepted 100
71 8 9 0001.9 7140 4372 Accepted 100
72 8 9 0002.0 7144 4496 Accepted 100
73 9 0630.6 7140 4376 Accepted 100
74 9 0637.5 7144 4492 Accepted 100
75 9 0615.4 7144 4372 Accepted 100
76 9 0618.0 7140 4492 Accepted 100
77 9 0615.3 7140 4420 Accepted 100
78 9 0616.7 7140 4372 Accepted 100
79 9 0618.0 7144 4436 Accepted 100
80 9 0612.8 7144 4436 Accepted 100
81 9 0616.8 7140 4376 Accepted 100
82 9 0617.0 7136 4488 Accepted 100
83 9 0599.9 7140 4512 Accepted 100
84 9 0614.5 7140 4432 Accepted 100
85 9 0605.2 7140 4512 Accepted 100
86 9 0613.6 7140 4396 Accepted 100
87 9 0611.3 7140 4432 Accepted 100
88 9 0613.7 7136 4368 Accepted 100
89 9 0629.4 7140 4512 Accepted 100
90 9 0607.6 7140 4512 Accepted 100
91 9 0600.3 7136 4444 Accepted 100
92 9 0605.9 7136 4432 Accepted 100
Submitter:
Compiler:
c++98
Code Length:
546 Bytes
Back to Top