Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

38035
30124
Accepted
200

Subtask Results

Subtask no. Testdata Range Constraints Score
1 0~11 $N \leq 500, k \leq 3$ 8 / 8
2 0~28 $N \leq 1000, k \leq 5$ 14 / 14
3 0~39, 41 $N \leq 1000, k \leq 1000$ 32 / 32
4 40, 42~54 $N \leq 200000, k \leq 50$ 56 / 56
5 0~72 $N \leq 200000, k \leq 200000$ 90 / 90

Testdata Results

Testdata no. Subtasks Time (ms) Memory (VSS, KiB) Memory (RSS, KiB) Verdict Score
0 1 2 3 5 0002.7 6212 3736 Accepted 100
1 1 2 3 5 0002.7 6212 3752 Accepted 100
2 1 2 3 5 0002.8 6212 3748 Accepted 100
3 1 2 3 5 0002.7 6212 3856 Accepted 100
4 1 2 3 5 0002.8 6212 3888 Accepted 100
5 1 2 3 5 0002.6 6212 3736 Accepted 100
6 1 2 3 5 0002.6 6212 3956 Accepted 100
7 1 2 3 5 0005.1 6212 4024 Accepted 100
8 1 2 3 5 0004.9 6212 3888 Accepted 100
9 1 2 3 5 0005.0 6212 3728 Accepted 100
10 1 2 3 5 0004.8 6212 3956 Accepted 100
11 1 2 3 5 0004.7 6212 3732 Accepted 100
12 2 3 5 0002.5 6212 3664 Accepted 100
13 2 3 5 0002.7 6212 3960 Accepted 100
14 2 3 5 0002.8 6212 3820 Accepted 100
15 2 3 5 0002.8 6212 3800 Accepted 100
16 2 3 5 0002.5 6212 3664 Accepted 100
17 2 3 5 0002.6 6212 3960 Accepted 100
18 2 3 5 0007.3 6372 3956 Accepted 100
19 2 3 5 0007.6 6372 3956 Accepted 100
20 2 3 5 0007.7 6372 3952 Accepted 100
21 2 3 5 0007.5 6372 3872 Accepted 100
22 2 3 5 0007.4 6372 4024 Accepted 100
23 2 3 5 0007.6 6372 3884 Accepted 100
24 2 3 5 0007.4 6372 4024 Accepted 100
25 2 3 5 0007.4 6372 3880 Accepted 100
26 2 3 5 0007.5 6372 3876 Accepted 100
27 2 3 5 0006.9 6372 4028 Accepted 100
28 2 3 5 0006.8 6372 3872 Accepted 100
29 3 5 0007.2 6372 3996 Accepted 100
30 3 5 0007.2 6372 3888 Accepted 100
31 3 5 0006.9 6372 4024 Accepted 100
32 3 5 0006.8 6372 3996 Accepted 100
33 3 5 0007.1 6368 3988 Accepted 100
34 3 5 0007.0 6372 4020 Accepted 100
35 3 5 0006.7 6372 3876 Accepted 100
36 3 5 0006.5 6372 3880 Accepted 100
37 3 5 0007.0 6372 3956 Accepted 100
38 3 5 0006.8 6372 3876 Accepted 100
39 3 5 0007.5 6372 4032 Accepted 100
40 4 5 0046.3 7484 4732 Accepted 100
41 3 5 0007.7 6372 3956 Accepted 100
42 4 5 1248.9 32792 30052 Accepted 100
43 4 5 1245.1 32792 30008 Accepted 100
44 4 5 1246.2 32768 30036 Accepted 100
45 4 5 1247.3 32792 30068 Accepted 100
46 4 5 1248.2 32792 30124 Accepted 100
47 4 5 1250.1 32772 29976 Accepted 100
48 4 5 1244.9 32768 30016 Accepted 100
49 4 5 1242.5 32768 30072 Accepted 100
50 4 5 1249.6 32792 30028 Accepted 100
51 4 5 0927.4 31128 28112 Accepted 100
52 4 5 1252.6 32792 29988 Accepted 100
53 4 5 0979.8 32792 30020 Accepted 100
54 4 5 1013.8 32792 30012 Accepted 100
55 5 1355.6 32792 30060 Accepted 100
56 5 1338.7 32792 30080 Accepted 100
57 5 1163.2 32424 29480 Accepted 100
58 5 1348.3 32792 30012 Accepted 100
59 5 1193.7 32792 30012 Accepted 100
60 5 1324.5 32792 30020 Accepted 100
61 5 1341.8 32792 30124 Accepted 100
62 5 1330.9 32792 30016 Accepted 100
63 5 1334.2 32792 30036 Accepted 100
64 5 1152.8 32764 30048 Accepted 100
65 5 1312.5 32792 29988 Accepted 100
66 5 1204.0 32792 30032 Accepted 100
67 5 1256.0 32792 30084 Accepted 100
68 5 1306.0 32792 30052 Accepted 100
69 5 1227.8 32792 30024 Accepted 100
70 5 1168.8 32220 29512 Accepted 100
71 5 1010.0 32792 29964 Accepted 100
72 5 0999.3 32792 30104 Accepted 100
Submitter:
Compiler:
c++14
Code Length:
2.54 KB
Back to Top