Problem magick
User Damian
Submission Time 2022-12-19 15:42:08
Score 100
Max Time 0.026 seconds
Max Memory 82.1 MB
Subtask 1: (17/17)
Testcase Score Verdict Time Memory
1 100
AC
0.00s 52MB
2 100
AC
0.00s 57MB
3 100
AC
0.00s 46MB
4 100
AC
0.00s 42MB
5 100
AC
0.00s 72MB
6 100
AC
0.00s 64MB
7 100
AC
0.00s 49MB
8 100
AC
0.00s 48MB
9 100
AC
0.00s 80MB
10 100
AC
0.00s 51MB
11 100
AC
0.00s 51MB
12 100
AC
0.00s 58MB
13 100
AC
0.00s 50MB
14 100
AC
0.00s 66MB
15 100
AC
0.00s 72MB
16 100
AC
0.00s 70MB
17 100
AC
0.00s 44MB
18 100
AC
0.00s 49MB
19 100
AC
0.00s 62MB
20 100
AC
0.00s 73MB
21 100
AC
0.00s 55MB
22 100
AC
0.00s 62MB
23 100
AC
0.00s 47MB
24 100
AC
0.00s 79MB
25 100
AC
0.00s 45MB
26 100
AC
0.00s 45MB
27 100
AC
0.00s 60MB
28 100
AC
0.00s 79MB
29 100
AC
0.00s 46MB
30 100
AC
0.00s 44MB
31 100
AC
0.00s 59MB
32 100
AC
0.00s 60MB
33 100
AC
0.00s 82MB
34 100
AC
0.00s 45MB
35 100
AC
0.00s 50MB
36 100
AC
0.00s 80MB
37 100
AC
0.00s 47MB
38 100
AC
0.00s 69MB
39 100
AC
0.00s 59MB
40 100
AC
0.00s 54MB
41 100
AC
0.00s 50MB
42 100
AC
0.00s 54MB
43 100
AC
0.00s 56MB
44 100
AC
0.00s 41MB
45 100
AC
0.00s 47MB
46 100
AC
0.00s 49MB
47 100
AC
0.00s 49MB
48 100
AC
0.00s 47MB
49 100
AC
0.00s 66MB
50 100
AC
0.00s 49MB
51 100
AC
0.00s 51MB
52 100
AC
0.00s 48MB
53 100
AC
0.00s 44MB
54 100
AC
0.00s 50MB
55 100
AC
0.00s 46MB
56 100
AC
0.00s 41MB
57 100
AC
0.00s 72MB
58 100
AC
0.00s 60MB
59 100
AC
0.00s 59MB
60 100
AC
0.00s 79MB
61 100
AC
0.00s 70MB
62 100
AC
0.00s 49MB
63 100
AC
0.00s 49MB
64 100
AC
0.00s 82MB
65 100
AC
0.00s 66MB
66 100
AC
0.00s 47MB
67 100
AC
0.00s 49MB
68 100
AC
0.00s 45MB
69 100
AC
0.00s 49MB
70 100
AC
0.00s 47MB
71 100
AC
0.00s 46MB
72 100
AC
0.00s 80MB
73 100
AC
0.00s 45MB
74 100
AC
0.00s 44MB
75 100
AC
0.00s 50MB
76 100
AC
0.00s 64MB
77 100
AC
0.00s 47MB
78 100
AC
0.00s 62MB
79 100
AC
0.00s 79MB
80 100
AC
0.00s 50MB
81 100
AC
0.00s 60MB
82 100
AC
0.00s 49MB
83 100
AC
0.00s 72MB
84 100
AC
0.00s 62MB
85 100
AC
0.00s 66MB
86 100
AC
0.00s 56MB
87 100
AC
0.00s 58MB
88 100
AC
0.00s 54MB
89 100
AC
0.00s 52MB
90 100
AC
0.00s 45MB
91 100
AC
0.00s 69MB
92 100
AC
0.00s 54MB
93 100
AC
0.00s 59MB
94 100
AC
0.00s 80MB
95 100
AC
0.00s 73MB
96 100
AC
0.00s 55MB
97 100
AC
0.00s 47MB
98 100
AC
0.00s 42MB
99 100
AC
0.00s 57MB
100 100
AC
0.00s 51MB
101 100
AC
0.00s 50MB
102 100
AC
0.00s 44MB
103 100
AC
0.00s 47MB
104 100
AC
0.00s 51MB
105 100
AC
0.00s 45MB
106 100
AC
0.00s 45MB
107 100
AC
0.00s 79MB
108 100
AC
0.00s 50MB
109 100
AC
0.00s 49MB
110 100
AC
0.00s 46MB
111 100
AC
0.00s 66MB
112 100
AC
0.00s 80MB
113 100
AC
0.00s 60MB
114 100
AC
0.00s 62MB
115 100
AC
0.00s 62MB
116 100
AC
0.00s 45MB
117 100
AC
0.00s 82MB
118 100
AC
0.00s 54MB
119 100
AC
0.00s 49MB
120 100
AC
0.00s 72MB
121 100
AC
0.00s 50MB
122 100
AC
0.00s 56MB
123 100
AC
0.00s 49MB
124 100
AC
0.00s 47MB
125 100
AC
0.00s 59MB
Subtask 2: (24/24)
Testcase Score Verdict Time Memory
1 100
AC
0.00s 59MB
2 100
AC
0.00s 66MB
3 100
AC
0.00s 47MB
4 100
AC
0.00s 70MB
5 100
AC
0.00s 51MB
6 100
AC
0.00s 80MB
7 100
AC
0.00s 55MB
8 100
AC
0.00s 49MB
9 100
AC
0.00s 69MB
10 100
AC
0.00s 72MB
11 100
AC
0.00s 52MB
12 100
AC
0.00s 42MB
13 100
AC
0.00s 41MB
14 100
AC
0.00s 49MB
15 100
AC
0.00s 45MB
16 100
AC
0.00s 46MB
17 100
AC
0.00s 57MB
18 100
AC
0.00s 58MB
19 100
AC
0.00s 73MB
20 100
AC
0.00s 45MB
21 100
AC
0.00s 47MB
22 100
AC
0.00s 51MB
23 100
AC
0.00s 50MB
24 100
AC
0.00s 79MB
25 100
AC
0.00s 44MB
26 100
AC
0.00s 50MB
27 100
AC
0.00s 47MB
28 100
AC
0.00s 45MB
29 100
AC
0.00s 62MB
30 100
AC
0.00s 46MB
31 100
AC
0.00s 54MB
32 100
AC
0.00s 80MB
33 100
AC
0.00s 51MB
34 100
AC
0.00s 62MB
35 100
AC
0.00s 56MB
36 100
AC
0.00s 49MB
37 100
AC
0.00s 59MB
38 100
AC
0.00s 60MB
39 100
AC
0.00s 49MB
40 100
AC
0.00s 72MB
41 100
AC
0.00s 54MB
42 100
AC
0.00s 72MB
43 100
AC
0.00s 80MB
44 100
AC
0.00s 66MB
45 100
AC
0.00s 55MB
46 100
AC
0.00s 49MB
47 100
AC
0.00s 45MB
48 100
AC
0.00s 59MB
49 100
AC
0.00s 69MB
50 100
AC
0.00s 42MB
51 100
AC
0.00s 47MB
52 100
AC
0.00s 58MB
53 100
AC
0.00s 52MB
54 100
AC
0.00s 66MB
55 100
AC
0.00s 46MB
56 100
AC
0.00s 41MB
57 100
AC
0.00s 47MB
58 100
AC
0.00s 45MB
59 100
AC
0.00s 50MB
60 100
AC
0.00s 50MB
61 100
AC
0.00s 73MB
62 100
AC
0.00s 70MB
63 100
AC
0.00s 57MB
64 100
AC
0.00s 47MB
65 100
AC
0.00s 50MB
66 100
AC
0.00s 64MB
67 100
AC
0.00s 45MB
68 100
AC
0.00s 44MB
69 100
AC
0.00s 45MB
70 100
AC
0.00s 82MB
71 100
AC
0.00s 51MB
72 100
AC
0.00s 49MB
73 100
AC
0.00s 79MB
74 100
AC
0.00s 60MB
75 100
AC
0.00s 79MB
76 100
AC
0.00s 49MB
77 100
AC
0.00s 72MB
78 100
AC
0.00s 49MB
79 100
AC
0.00s 80MB
80 100
AC
0.00s 72MB
81 100
AC
0.00s 49MB
82 100
AC
0.01s 62MB
83 100
AC
0.00s 62MB
84 100
AC
0.00s 41MB
85 100
AC
0.00s 69MB
86 100
AC
0.00s 60MB
87 100
AC
0.00s 55MB
88 100
AC
0.00s 45MB
89 100
AC
0.00s 47MB
90 100
AC
0.00s 54MB
91 100
AC
0.00s 66MB
92 100
AC
0.00s 58MB
93 100
AC
0.00s 45MB
94 100
AC
0.00s 49MB
95 100
AC
0.00s 57MB
96 100
AC
0.00s 66MB
97 100
AC
0.00s 56MB
98 100
AC
0.00s 73MB
99 100
AC
0.00s 46MB
100 100
AC
0.00s 59MB
101 100
AC
0.00s 59MB
102 100
AC
0.00s 46MB
103 100
AC
0.00s 42MB
104 100
AC
0.00s 80MB
105 100
AC
0.00s 47MB
106 100
AC
0.00s 52MB
107 100
AC
0.00s 51MB
108 100
AC
0.00s 50MB
109 100
AC
0.00s 44MB
110 100
AC
0.00s 50MB
111 100
AC
0.00s 82MB
112 100
AC
0.00s 60MB
113 100
AC
0.00s 70MB
114 100
AC
0.00s 79MB
115 100
AC
0.00s 47MB
116 100
AC
0.00s 49MB
117 100
AC
0.01s 50MB
118 100
AC
0.00s 45MB
119 100
AC
0.00s 47MB
120 100
AC
0.00s 45MB
121 100
AC
0.00s 62MB
122 100
AC
0.00s 49MB
123 100
AC
0.00s 72MB
124 100
AC
0.00s 64MB
125 100
AC
0.00s 49MB
Subtask 3: (13/13)
Testcase Score Verdict Time Memory
1 100
AC
0.00s 72MB
2 100
AC
0.00s 80MB
3 100
AC
0.00s 69MB
4 100
AC
0.00s 49MB
5 100
AC
0.00s 41MB
6 100
AC
0.00s 47MB
7 100
AC
0.00s 56MB
8 100
AC
0.00s 49MB
9 100
AC
0.00s 46MB
10 100
AC
0.00s 73MB
11 100
AC
0.01s 45MB
12 100
AC
0.00s 55MB
13 100
AC
0.00s 66MB
14 100
AC
0.00s 52MB
15 100
AC
0.00s 59MB
16 100
AC
0.00s 57MB
17 100
AC
0.00s 51MB
18 100
AC
0.00s 58MB
19 100
AC
0.00s 45MB
20 100
AC
0.00s 54MB
21 100
AC
0.00s 66MB
22 100
AC
0.00s 60MB
23 100
AC
0.00s 80MB
24 100
AC
0.00s 42MB
25 100
AC
0.00s 62MB
26 100
AC
0.00s 79MB
27 100
AC
0.00s 47MB
28 100
AC
0.00s 50MB
29 100
AC
0.00s 49MB
30 100
AC
0.00s 79MB
31 100
AC
0.00s 47MB
32 100
AC
0.00s 82MB
33 100
AC
0.00s 46MB
34 100
AC
0.00s 44MB
35 100
AC
0.00s 45MB
36 100
AC
0.00s 45MB
37 100
AC
0.00s 49MB
38 100
AC
0.01s 50MB
39 100
AC
0.00s 47MB
40 100
AC
0.00s 59MB
41 100
AC
0.00s 49MB
42 100
AC
0.00s 50MB
43 100
AC
0.00s 70MB
44 100
AC
0.00s 72MB
45 100
AC
0.00s 54MB
46 100
AC
0.00s 47MB
47 100
AC
0.00s 62MB
48 100
AC
0.00s 72MB
49 100
AC
0.00s 57MB
50 100
AC
0.00s 49MB
51 100
AC
0.00s 56MB
52 100
AC
0.00s 41MB
53 100
AC
0.00s 45MB
54 100
AC
0.00s 58MB
55 100
AC
0.00s 42MB
56 100
AC
0.00s 69MB
57 100
AC
0.00s 54MB
58 100
AC
0.00s 60MB
59 100
AC
0.00s 51MB
60 100
AC
0.00s 45MB
61 100
AC
0.00s 52MB
62 100
AC
0.00s 47MB
63 100
AC
0.00s 62MB
64 100
AC
0.00s 73MB
65 100
AC
0.00s 79MB
66 100
AC
0.00s 50MB
67 100
AC
0.00s 66MB
68 100
AC
0.00s 60MB
69 100
AC
0.00s 59MB
70 100
AC
0.00s 66MB
71 100
AC
0.00s 46MB
72 100
AC
0.00s 79MB
73 100
AC
0.00s 82MB
74 100
AC
0.00s 44MB
75 100
AC
0.00s 49MB
76 100
AC
0.00s 47MB
77 100
AC
0.00s 45MB
78 100
AC
0.00s 49MB
79 100
AC
0.00s 46MB
80 100
AC
0.00s 55MB
81 100
AC
0.00s 45MB
82 100
AC
0.00s 64MB
83 100
AC
0.00s 50MB
84 100
AC
0.00s 59MB
85 100
AC
0.00s 47MB
86 100
AC
0.00s 80MB
87 100
AC
0.00s 47MB
88 100
AC
0.00s 70MB
89 100
AC
0.00s 62MB
90 100
AC
0.00s 54MB
91 100
AC
0.00s 49MB
92 100
AC
0.00s 80MB
93 100
AC
0.00s 49MB
94 100
AC
0.00s 41MB
95 100
AC
0.00s 72MB
96 100
AC
0.00s 45MB
97 100
AC
0.00s 42MB
98 100
AC
0.00s 72MB
99 100
AC
0.00s 58MB
100 100
AC
0.00s 62MB
101 100
AC
0.00s 54MB
102 100
AC
0.00s 59MB
103 100
AC
0.00s 50MB
104 100
AC
0.00s 47MB
105 100
AC
0.00s 60MB
106 100
AC
0.00s 73MB
107 100
AC
0.00s 79MB
108 100
AC
0.01s 82MB
109 100
AC
0.00s 49MB
110 100
AC
0.00s 60MB
Subtask 4: (5/5)
Testcase Score Verdict Time Memory
1 100
AC
0.00s 66MB
2 100
AC
0.00s 45MB
3 100
AC
0.00s 46MB
4 100
AC
0.00s 52MB
5 100
AC
0.00s 69MB
6 100
AC
0.00s 79MB
7 100
AC
0.01s 66MB
8 100
AC
0.00s 57MB
9 100
AC
0.00s 47MB
10 100
AC
0.00s 59MB
11 100
AC
0.00s 46MB
12 100
AC
0.00s 55MB
13 100
AC
0.00s 45MB
14 100
AC
0.00s 70MB
15 100
AC
0.00s 45MB
16 100
AC
0.00s 47MB
17 100
AC
0.00s 50MB
18 100
AC
0.00s 49MB
19 100
AC
0.00s 80MB
20 100
AC
0.00s 54MB
21 100
AC
0.00s 47MB
22 100
AC
0.00s 49MB
23 100
AC
0.00s 72MB
24 100
AC
0.00s 42MB
25 100
AC
0.00s 72MB
26 100
AC
0.00s 41MB
27 100
AC
0.00s 49MB
28 100
AC
0.02s 64MB
29 100
AC
0.00s 80MB
30 100
AC
0.00s 62MB
31 100
AC
0.00s 49MB
32 100
AC
0.00s 58MB
33 100
AC
0.00s 79MB
34 100
AC
0.00s 62MB
35 100
AC
0.00s 73MB
36 100
AC
0.00s 46MB
37 100
AC
0.00s 49MB
38 100
AC
0.00s 50MB
39 100
AC
0.00s 45MB
40 100
AC
0.00s 70MB
41 100
AC
0.00s 47MB
42 100
AC
0.00s 47MB
43 100
AC
0.00s 59MB
44 100
AC
0.00s 79MB
45 100
AC
0.01s 66MB
46 100
AC
0.00s 46MB
47 100
AC
0.00s 45MB
48 100
AC
0.00s 60MB
49 100
AC
0.00s 47MB
50 100
AC
0.00s 49MB
Subtask 5: (41/41)
Testcase Score Verdict Time Memory
1 100
AC
0.02s 49MB
2 100
AC
0.02s 54MB
3 100
AC
0.02s 42MB
4 100
AC
0.02s 72MB
5 100
AC
0.02s 49MB
6 100
AC
0.02s 80MB
7 100
AC
0.02s 49MB
8 100
AC
0.02s 41MB
9 100
AC
0.02s 62MB
10 100
AC
0.02s 58MB
11 100
AC
0.02s 55MB
12 100
AC
0.02s 45MB
13 100
AC
0.02s 72MB
14 100
AC
0.03s 64MB
15 100
AC
0.02s 50MB
16 100
AC
0.02s 79MB
17 100
AC
0.02s 49MB
18 100
AC
0.02s 50MB
19 100
AC
0.02s 47MB
20 100
AC
0.02s 45MB
21 100
AC
0.02s 70MB
22 100
AC
0.02s 60MB
23 100
AC
0.02s 73MB
24 100
AC
0.02s 79MB
25 100
AC
0.02s 47MB
26 100
AC
0.02s 62MB
27 100
AC
0.02s 49MB
28 100
AC
0.02s 66MB
29 100
AC
0.02s 46MB
30 100
AC
0.02s 47MB
31 100
AC
0.02s 46MB
32 100
AC
0.02s 80MB
33 100
AC
0.02s 59MB
34 100
AC
0.02s 52MB
35 100
AC
0.02s 57MB
36 100
AC
0.02s 47MB
37 100
AC
0.02s 82MB
38 100
AC
0.02s 45MB
39 100
AC
0.02s 59MB
40 100
AC
0.02s 45MB
41 100
AC
0.02s 60MB
42 100
AC
0.02s 66MB
43 100
AC
0.02s 69MB
44 100
AC
0.02s 54MB
45 100
AC
0.02s 51MB
46 100
AC
0.02s 44MB
47 100
AC
0.02s 54MB
48 100
AC
0.02s 41MB
49 100
AC
0.02s 49MB
50 100
AC
0.02s 45MB
51 100
AC
0.02s 72MB
52 100
AC
0.02s 62MB
53 100
AC
0.02s 55MB
54 100
AC
0.02s 42MB
55 100
AC
0.02s 49MB
56 100
AC
0.02s 50MB
57 100
AC
0.02s 49MB
58 100
AC
0.02s 56MB
59 100
AC
0.02s 51MB
60 100
AC
0.02s 80MB
61 100
AC
0.02s 50MB
62 100
AC
0.02s 72MB
63 100
AC
0.02s 70MB
64 100
AC
0.02s 79MB
65 100
AC
0.02s 49MB
66 100
AC
0.02s 79MB
67 100
AC
0.02s 47MB
68 100
AC
0.02s 50MB
69 100
AC
0.02s 57MB
70 100
AC
0.02s 49MB
71 100
AC
0.02s 62MB
72 100
AC
0.02s 64MB
73 100
AC
0.02s 46MB
74 100
AC
0.02s 66MB
75 100
AC
0.02s 45MB
76 100
AC
0.02s 47MB
77 100
AC
0.02s 52MB
78 100
AC
0.02s 45MB
79 100
AC
0.02s 60MB
80 100
AC
0.02s 59MB
81 100
AC
0.02s 47MB
82 100
AC
0.02s 47MB
83 100
AC
0.02s 80MB
84 100
AC
0.02s 54MB
85 100
AC
0.02s 59MB
86 100
AC
0.02s 73MB
87 100
AC
0.02s 45MB
88 100
AC
0.02s 46MB
89 100
AC
0.02s 82MB
90 100
AC
0.02s 51MB
91 100
AC
0.02s 69MB
92 100
AC
0.02s 60MB
93 100
AC
0.02s 66MB
94 100
AC
0.02s 58MB
95 100
AC
0.02s 62MB
96 100
AC
0.02s 48MB
97 100
AC
0.02s 72MB
98 100
AC
0.02s 44MB
99 100
AC
0.02s 49MB
100 100
AC
0.02s 50MB
101 100
AC
0.02s 49MB
102 100
AC
0.02s 49MB
103 100
AC
0.02s 55MB
104 100
AC
0.02s 80MB
105 100
AC
0.02s 56MB
106 100
AC
0.02s 42MB
107 100
AC
0.02s 54MB
108 100
AC
0.02s 45MB
109 100
AC
0.02s 70MB
110 100
AC
0.02s 72MB
111 100
AC
0.02s 41MB
112 100
AC
0.02s 51MB
113 100
AC
0.02s 45MB
114 100
AC
0.02s 47MB
115 100
AC
0.02s 47MB
116 100
AC
0.02s 66MB
117 100
AC
0.02s 57MB
118 100
AC
0.02s 60MB
119 100
AC
0.02s 49MB
120 100
AC
0.02s 46MB
121 100
AC
0.02s 45MB
122 100
AC
0.02s 52MB
123 100
AC
0.02s 79MB
124 100
AC
0.02s 47MB
125 100
AC
0.02s 62MB
126 100
AC
0.02s 47MB
127 100
AC
0.02s 45MB
128 100
AC
0.02s 46MB
129 100
AC
0.02s 79MB
130 100
AC
0.02s 59MB
131 100
AC
0.02s 69MB
132 100
AC
0.02s 51MB
133 100
AC
0.02s 58MB
134 100
AC
0.02s 80MB
135 100
AC
0.02s 73MB
136 100
AC
0.02s 64MB
137 100
AC
0.02s 59MB
138 100
AC
0.02s 50MB
139 100
AC
0.02s 54MB
140 100
AC
0.02s 82MB
141 100
AC
0.02s 49MB
142 100
AC
0.02s 49MB
143 100
AC
0.02s 48MB
144 100
AC
0.02s 60MB
145 100
AC
0.02s 66MB
146 100
AC
0.02s 50MB
147 100
AC
0.02s 42MB
148 100
AC
0.02s 49MB
149 100
AC
0.02s 72MB
150 100
AC
0.02s 55MB
Subtask 6: (0/0)
Testcase Score Verdict Time Memory
1 100
AC
0.00s 44MB
2 100
AC
0.00s 49MB
3 100
AC
0.00s 41MB
4 100
AC
0.00s 56MB
5 100
AC
0.02s 50MB
6 100
AC
0.00s 47MB