This submission is migrated from previous version of oj.uz, which used different machine for grading. This submission may have different result if resubmitted.
12
3
4
5
7
6
13
15
8
11
9
10
14
2
1
185
26
129
3
75
100
14
115
91
165
77
4
194
28
53
23
191
59
88
153
169
7
102
13
11
132
128
171
127
10
63
111
42
80
154
81
57
38
196
105
155
152
37
130
30
189
140
136
65
159
123
66
118
48
175
97
90
135
117
96
195
21
164
46
43
193
45
94
173
55
62
92
71
143
156
89
56
176
113
101
18
83
199
122
110
47
190
99
160
36
109
166
5
178
64
12
70
145
73
126
61
170
15
16
150
72
68
20
141
167
24
120
33
84
78
86
192
85
149
29
168
138
142
95
107
182
200
184
9
35
76
151
163
22
40
183
174
147
187
179
69
103
98
82
54
121
41
44
32
137
67
144
60
134
119
79
146
74
19
1
116
186
58
112
50
49
181
52
172
198
161
27
106
180
124
177
2
157
6
133
131
148
188
139
158
39
162
25
87
17
104
31
51
93
197
125
114
108
34
8
185
196
76
115
79
178
24
33
114
54
23
171
198
48
174
34
112
182
108
184
17
188
85
42
56
94
84
120
132
153
26
1
16
89
133
164
141
154
110
96
6
137
117
49
162
181
40
83
91
80
22
67
138
145
167
2
177
122
200
101
25
187
38
93
27
143
64
18
9
149
62
60
59
20
57
165
146
8
75
130
103
127
106
183
124
105
152
68
77
129
172
168
41
156
63
131
111
71
189
100
7
43
5
119
4
170
139
163
157
161
31
140
61
144
98
44
148
65
194
176
32
30
151
135
72
159
28
21
73
87
14
53
58
186
74
136
99
166
82
179
147
125
121
50
12
37
3
107
29
92
78
113
35
195
193
102
160
13
36
118
109
47
142
104
123
55
191
90
116
69
95
39
45
150
10
128
199
88
15
180
197
51
70
173
19
158
11
97
66
192
169
190
126
46
155
81
134
175
52
86
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |