Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

66907
179476
Accepted
25

Subtask Results

Subtask no. Testdata Range Constraints Score
1 0~2 範例測資 0 / 0
2 0~31 $N \leq 3000$ 3 / 3
3 0~58 $N \leq 50000$ 10 / 10
4 0~97 無額外限制 12 / 12

Testdata Results

Testdata no. Subtasks Time (ms) Memory (VSS, KiB) Memory (RSS, KiB) Verdict Score
0 1 2 3 4 0003.4 6236 3588 Accepted 100
1 1 2 3 4 0002.4 6236 3588 Accepted 100
2 1 2 3 4 0003.4 6236 3588 Accepted 100
3 2 3 4 0003.4 6236 3712 Accepted 100
4 2 3 4 0003.4 6236 3460 Accepted 100
5 2 3 4 0003.5 6236 3588 Accepted 100
6 2 3 4 0003.4 6236 3644 Accepted 100
7 2 3 4 0004.0 6236 3588 Accepted 100
8 2 3 4 0003.5 6236 3588 Accepted 100
9 2 3 4 0003.5 6236 3596 Accepted 100
10 2 3 4 0003.4 6236 3644 Accepted 100
11 2 3 4 0003.8 6236 3584 Accepted 100
12 2 3 4 0003.7 6236 3752 Accepted 100
13 2 3 4 0003.7 6236 3584 Accepted 100
14 2 3 4 0003.8 6236 3604 Accepted 100
15 2 3 4 0004.0 6236 3604 Accepted 100
16 2 3 4 0015.9 6632 3940 Accepted 100
17 2 3 4 0020.0 7464 4588 Accepted 100
18 2 3 4 0038.3 7800 5068 Accepted 100
19 2 3 4 0028.9 7460 4528 Accepted 100
20 2 3 4 0038.3 7656 4728 Accepted 100
21 2 3 4 0020.7 7488 4584 Accepted 100
22 2 3 4 0023.9 7468 4480 Accepted 100
23 2 3 4 0020.5 7468 4604 Accepted 100
24 2 3 4 0023.6 7472 4496 Accepted 100
25 2 3 4 0020.4 7464 4456 Accepted 100
26 2 3 4 0020.1 7464 4464 Accepted 100
27 2 3 4 0010.2 7476 4584 Accepted 100
28 2 3 4 0011.9 7492 4536 Accepted 100
29 2 3 4 0010.2 7476 4528 Accepted 100
30 2 3 4 0015.2 7468 4504 Accepted 100
31 2 3 4 0015.1 7464 4592 Accepted 100
32 3 4 0658.9 30520 27460 Accepted 100
33 3 4 0469.8 28176 24876 Accepted 100
34 3 4 0324.1 28112 24780 Accepted 100
35 3 4 0153.1 25952 22604 Accepted 100
36 3 4 0723.9 32920 29772 Accepted 100
37 3 4 0659.2 35780 32492 Accepted 100
38 3 4 0164.0 27044 23696 Accepted 100
39 3 4 0050.1 11556 8468 Accepted 100
40 3 4 0162.7 25680 22332 Accepted 100
41 3 4 0127.7 21688 18032 Accepted 100
42 3 4 0184.1 27432 24016 Accepted 100
43 3 4 0068.2 16112 12952 Accepted 100
44 3 4 0103.8 25492 21976 Accepted 100
45 3 4 0110.0 27280 23904 Accepted 100
46 3 4 0103.6 27260 23864 Accepted 100
47 3 4 0185.6 27572 24080 Accepted 100
48 3 4 0185.8 27576 24184 Accepted 100
49 3 4 0203.9 27580 24344 Accepted 100
50 3 4 0392.6 30232 27228 Accepted 100
51 3 4 0638.7 33268 29912 Accepted 100
52 3 4 0212.6 27604 24512 Accepted 100
53 3 4 0082.9 27144 23908 Accepted 100
54 3 4 0068.9 27180 23980 Accepted 100
55 3 4 0073.6 27048 23904 Accepted 100
56 3 4 0070.0 27236 23904 Accepted 100
57 3 4 0061.9 27296 23848 Accepted 100
58 3 4 0064.4 27092 23940 Accepted 100
59 4 2699.5 102148 97880 Accepted 100
60 4 4330.3 157524 150964 Accepted 100
61 4 2001.9 101280 97448 Accepted 100
62 4 1633.5 92372 88192 Accepted 100
63 4 1285.8 93252 89268 Accepted 100
64 4 1456.5 93556 89528 Accepted 100
65 4 2723.3 136684 129928 Accepted 100
66 4 2901.6 139032 132488 Accepted 100
67 4 2449.1 139204 132672 Accepted 100
68 4 0661.1 84944 80532 Accepted 100
69 4 0618.8 126192 119240 Accepted 100
70 4 1423.7 84136 79140 Accepted 100
71 4 2135.5 116124 112152 Accepted 100
72 4 3984.5 186036 179476 Accepted 100
73 4 0861.4 115876 112660 Accepted 100
74 4 0865.4 115872 112732 Accepted 100
75 4 0836.7 119888 112564 Accepted 100
76 4 1171.9 135008 128484 Accepted 100
77 4 1223.0 135160 128732 Accepted 100
78 4 1255.1 135696 129168 Accepted 100
79 4 1317.0 135752 129212 Accepted 100
80 4 1325.7 135772 129096 Accepted 100
81 4 1347.7 135812 129160 Accepted 100
82 4 2461.9 147048 140576 Accepted 100
83 4 4589.8 164988 158372 Accepted 100
84 4 3621.2 185292 178652 Accepted 100
85 4 0866.1 136916 130408 Accepted 100
86 4 0822.1 135940 129396 Accepted 100
87 4 0802.8 135908 129376 Accepted 100
88 4 1445.5 135932 129432 Accepted 100
89 4 0851.1 136488 129916 Accepted 100
90 4 0880.2 134584 127968 Accepted 100
91 4 0777.1 134308 127732 Accepted 100
92 4 0723.0 134136 127608 Accepted 100
93 4 0365.8 133312 126372 Accepted 100
94 4 0355.2 135488 127296 Accepted 100
95 4 0354.0 135472 127224 Accepted 100
96 4 0375.7 133344 126404 Accepted 100
97 4 0412.8 133344 126728 Accepted 100
Submitter:
Compiler:
c++20
Code Length:
8.3 KB
Back to Top