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