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