Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

8120
4956
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.3 6640 3576 Accepted 100
1 1 7 8 9 0001.7 6640 3572 Accepted 100
2 1 5 6 8 9 0001.8 6640 3576 Accepted 100
3 2 3 8 9 0001.3 6640 3576 Accepted 100
4 2 3 8 9 0001.3 6640 3868 Accepted 100
5 2 3 8 9 0001.3 6640 3628 Accepted 100
6 2 3 8 9 0001.5 6640 3644 Accepted 100
7 2 3 8 9 0001.3 6640 3632 Accepted 100
8 2 3 8 9 0001.4 6640 3636 Accepted 100
9 2 3 8 9 0001.3 6640 3580 Accepted 100
10 2 3 8 9 0001.4 6640 3636 Accepted 100
11 2 3 8 9 0001.3 6640 3636 Accepted 100
12 2 3 8 9 0001.4 6640 3636 Accepted 100
13 3 9 0161.8 6640 3616 Accepted 100
14 3 9 0158.3 6640 3636 Accepted 100
15 3 9 0160.1 6640 3584 Accepted 100
16 3 9 0159.1 6640 3640 Accepted 100
17 3 9 0158.9 6640 3644 Accepted 100
18 3 9 0159.6 6640 3580 Accepted 100
19 3 9 0162.2 6640 3636 Accepted 100
20 3 9 0164.5 6640 3612 Accepted 100
21 3 9 0161.2 6640 3576 Accepted 100
22 3 9 0160.7 6640 3572 Accepted 100
23 4 5 6 7 8 9 0001.4 6640 3572 Accepted 100
24 4 5 6 7 8 9 0001.4 6640 3864 Accepted 100
25 4 5 6 7 8 9 0001.3 6640 3568 Accepted 100
26 4 5 6 7 8 9 0001.3 6640 3804 Accepted 100
27 4 5 6 7 8 9 0001.3 6640 3584 Accepted 100
28 4 5 6 7 8 9 0001.4 6640 3628 Accepted 100
29 4 5 6 7 8 9 0001.4 6640 3584 Accepted 100
30 4 5 6 7 8 9 0001.3 6640 3608 Accepted 100
31 4 5 6 7 8 9 0001.4 6640 3640 Accepted 100
32 4 5 6 7 8 9 0001.4 6640 3524 Accepted 100
33 5 6 8 9 0001.4 6640 3568 Accepted 100
34 5 6 8 9 0001.3 6640 3632 Accepted 100
35 5 6 8 9 0001.4 6640 3876 Accepted 100
36 5 6 8 9 0001.3 6640 3836 Accepted 100
37 5 6 8 9 0001.3 6640 3572 Accepted 100
38 5 6 8 9 0001.3 6640 3644 Accepted 100
39 5 6 8 9 0001.3 6640 3572 Accepted 100
40 5 6 8 9 0001.3 6640 3628 Accepted 100
41 5 6 8 9 0001.6 6640 3796 Accepted 100
42 5 6 8 9 0001.4 6640 3636 Accepted 100
43 6 9 0156.8 6640 3576 Accepted 100
44 6 9 0159.8 6640 3528 Accepted 100
45 6 9 0159.1 6640 3648 Accepted 100
46 6 9 0162.8 6640 3872 Accepted 100
47 6 9 0158.5 6640 3632 Accepted 100
48 6 9 0159.8 6640 3648 Accepted 100
49 6 9 0159.2 6640 3800 Accepted 100
50 6 9 0158.2 6640 3576 Accepted 100
51 6 9 0158.4 6640 3680 Accepted 100
52 6 9 0164.2 6640 3572 Accepted 100
53 7 8 9 0003.6 8208 4932 Accepted 100
54 7 8 9 0003.7 8208 4788 Accepted 100
55 7 8 9 0003.7 8208 4928 Accepted 100
56 7 8 9 0003.7 8208 4892 Accepted 100
57 7 8 9 0003.9 8208 4884 Accepted 100
58 7 8 9 0004.0 8208 4728 Accepted 100
59 7 8 9 0003.8 8208 4764 Accepted 100
60 7 8 9 0003.7 8208 4812 Accepted 100
61 7 8 9 0003.7 8208 4724 Accepted 100
62 7 8 9 0004.0 8208 4892 Accepted 100
63 8 9 0057.5 8208 4888 Accepted 100
64 8 9 0003.8 8208 4728 Accepted 100
65 8 9 0003.8 8208 4816 Accepted 100
66 8 9 0003.7 8208 4784 Accepted 100
67 8 9 0003.8 8208 4948 Accepted 100
68 8 9 0003.7 8208 4932 Accepted 100
69 8 9 0003.7 8208 4752 Accepted 100
70 8 9 0003.7 8208 4764 Accepted 100
71 8 9 0003.5 8208 4772 Accepted 100
72 8 9 0003.6 8208 4956 Accepted 100
73 9 0246.3 8208 4932 Accepted 100
74 9 0251.3 8208 4764 Accepted 100
75 9 0245.0 8208 4724 Accepted 100
76 9 0243.9 8208 4816 Accepted 100
77 9 0248.1 8208 4800 Accepted 100
78 9 0244.0 8208 4724 Accepted 100
79 9 0433.9 8208 4768 Accepted 100
80 9 0249.2 8208 4724 Accepted 100
81 9 0243.8 8208 4748 Accepted 100
82 9 0248.2 8208 4748 Accepted 100
83 9 0212.0 8208 4820 Accepted 100
84 9 0256.3 8208 4812 Accepted 100
85 9 0206.0 8208 4732 Accepted 100
86 9 0200.9 8208 4724 Accepted 100
87 9 0200.2 8208 4824 Accepted 100
88 9 0202.1 8208 4764 Accepted 100
89 9 0206.3 8208 4736 Accepted 100
90 9 0199.9 8208 4820 Accepted 100
91 9 0199.3 8208 4816 Accepted 100
92 9 0205.5 8208 4732 Accepted 100
Submitter:
Compiler:
c++17
Code Length:
578 Bytes
Back to Top