Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

1804
9192
Accepted
100

Subtask Results

Subtask no. Testdata Range Constraints Score
1 0~4 範例測資 0 / 0
2 0~44 $N \leq 200$ 12 / 12
3 0~67 $N \leq 5000$ 36 / 36
4 0~101 無額外限制 52 / 52

Testdata Results

Testdata no. Subtasks Time (ms) Memory (VSS, KiB) Memory (RSS, KiB) Verdict Score
0 1 2 3 4 0002.7 8164 3364 Accepted 100
1 1 2 3 4 0002.6 8164 3448 Accepted 100
2 1 2 3 4 0002.6 8164 3448 Accepted 100
3 1 2 3 4 0002.6 8164 3504 Accepted 100
4 1 2 3 4 0002.6 8164 3572 Accepted 100
5 2 3 4 0002.6 8164 3528 Accepted 100
6 2 3 4 0002.6 8164 3520 Accepted 100
7 2 3 4 0002.6 8164 3640 Accepted 100
8 2 3 4 0002.6 8164 3572 Accepted 100
9 2 3 4 0002.6 8164 3368 Accepted 100
10 2 3 4 0002.6 8164 3528 Accepted 100
11 2 3 4 0002.7 8164 3524 Accepted 100
12 2 3 4 0002.7 8164 3532 Accepted 100
13 2 3 4 0002.7 8164 3572 Accepted 100
14 2 3 4 0002.6 8164 3576 Accepted 100
15 2 3 4 0002.9 8164 3368 Accepted 100
16 2 3 4 0002.7 8164 3456 Accepted 100
17 2 3 4 0002.7 8164 3640 Accepted 100
18 2 3 4 0002.6 8164 3536 Accepted 100
19 2 3 4 0002.7 8164 3504 Accepted 100
20 2 3 4 0002.7 8164 3576 Accepted 100
21 2 3 4 0002.7 8164 3504 Accepted 100
22 2 3 4 0002.6 8164 3572 Accepted 100
23 2 3 4 0002.7 8164 3592 Accepted 100
24 2 3 4 0002.7 8164 3644 Accepted 100
25 2 3 4 0002.6 8164 3552 Accepted 100
26 2 3 4 0002.6 8164 3524 Accepted 100
27 2 3 4 0002.6 8164 3520 Accepted 100
28 2 3 4 0002.7 8164 3364 Accepted 100
29 2 3 4 0002.7 8164 3540 Accepted 100
30 2 3 4 0002.7 8164 3592 Accepted 100
31 2 3 4 0002.6 8164 3408 Accepted 100
32 2 3 4 0002.7 8164 3544 Accepted 100
33 2 3 4 0002.8 8164 3448 Accepted 100
34 2 3 4 0002.6 8164 3556 Accepted 100
35 2 3 4 0002.6 8164 3536 Accepted 100
36 2 3 4 0002.8 8164 3584 Accepted 100
37 2 3 4 0002.7 8164 3472 Accepted 100
38 2 3 4 0002.6 8164 3364 Accepted 100
39 2 3 4 0002.7 8164 3544 Accepted 100
40 2 3 4 0002.6 8164 3448 Accepted 100
41 2 3 4 0002.6 8164 3576 Accepted 100
42 2 3 4 0002.6 8164 3504 Accepted 100
43 2 3 4 0002.7 8164 3528 Accepted 100
44 2 3 4 0002.8 8164 3580 Accepted 100
45 3 4 0002.8 8164 3556 Accepted 100
46 3 4 0002.7 8164 3512 Accepted 100
47 3 4 0002.8 8164 3552 Accepted 100
48 3 4 0002.8 8164 3580 Accepted 100
49 3 4 0002.7 8164 3552 Accepted 100
50 3 4 0002.8 8164 3552 Accepted 100
51 3 4 0002.8 8164 3520 Accepted 100
52 3 4 0002.7 8164 3604 Accepted 100
53 3 4 0002.7 8164 3596 Accepted 100
54 3 4 0002.8 8164 3496 Accepted 100
55 3 4 0002.8 8164 3600 Accepted 100
56 3 4 0002.8 8164 3516 Accepted 100
57 3 4 0002.8 8164 3384 Accepted 100
58 3 4 0002.7 8164 3588 Accepted 100
59 3 4 0002.8 8164 3588 Accepted 100
60 3 4 0002.9 8164 3592 Accepted 100
61 3 4 0002.6 8164 3512 Accepted 100
62 3 4 0002.7 8164 3520 Accepted 100
63 3 4 0002.9 8164 3652 Accepted 100
64 3 4 0002.9 8164 3588 Accepted 100
65 3 4 0002.8 8164 3588 Accepted 100
66 3 4 0002.7 8164 3588 Accepted 100
67 3 4 0002.9 8164 3608 Accepted 100
68 4 0068.3 12200 8924 Accepted 100
69 4 0064.8 12200 8972 Accepted 100
70 4 0057.0 12200 9108 Accepted 100
71 4 0068.9 12200 9140 Accepted 100
72 4 0054.3 12200 7252 Accepted 100
73 4 0052.1 12200 9024 Accepted 100
74 4 0046.7 12200 8872 Accepted 100
75 4 0064.3 12200 8988 Accepted 100
76 4 0067.9 12200 9108 Accepted 100
77 4 0043.9 12200 8180 Accepted 100
78 4 0038.7 12200 7016 Accepted 100
79 4 0048.8 12200 8988 Accepted 100
80 4 0056.1 12200 9092 Accepted 100
81 4 0053.8 12200 7092 Accepted 100
82 4 0054.2 12200 7284 Accepted 100
83 4 0024.6 12200 7176 Accepted 100
84 4 0067.8 12200 8980 Accepted 100
85 4 0041.4 12200 7880 Accepted 100
86 4 0013.6 10200 5236 Accepted 100
87 4 0054.4 12200 7224 Accepted 100
88 4 0004.7 8316 3796 Accepted 100
89 4 0018.8 9200 4564 Accepted 100
90 4 0038.8 12200 6948 Accepted 100
91 4 0049.1 12200 9120 Accepted 100
92 4 0063.4 12200 9172 Accepted 100
93 4 0069.0 12200 9192 Accepted 100
94 4 0055.4 12200 7092 Accepted 100
95 4 0004.4 8316 3768 Accepted 100
96 4 0052.1 12200 9024 Accepted 100
97 4 0010.6 8700 4000 Accepted 100
98 4 0047.8 12200 8928 Accepted 100
99 4 0068.1 12188 9088 Accepted 100
100 4 0041.7 12200 7600 Accepted 100
101 4 0054.0 12200 7284 Accepted 100
Submitter:
Compiler:
c++17
Code Length:
1.92 KB
Back to Top