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