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