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