This submission is migrated from previous version of oj.uz, which used different machine for grading. This submission may have different result if resubmitted.
2
0
2
0
1
6
4
5
3
6
6
4
2
7
3
17
15
13
11
9
12
10
8
6
16
14
12
14
12
10
8
6
9
16
16
16
14
14
13
12
11
9
9
17
15
15
14
13
12
10
10
8
26
0
0
2
15
14
13
12
11
9
9
7
14
14
12
12
11
10
9
8
27
3
1
2
2
9
5
4
3
5
4
3
21
12
10
8
6
4
2
7
13
11
9
7
5
3
1
3
3
2
3
2
13
13
12
11
10
9
8
6
12
12
11
10
9
8
7
29
3
1
2
2
3
3
1
2
2
10
0
0
3
4
2
0
4
2
0
4
11
10
8
8
7
6
11
10
9
7
7
6
24
7
6
5
4
7
6
5
4
15
15
14
13
12
11
10
9
8
15
14
13
12
11
10
9
8
30
6
4
5
3
6
6
4
2
4
8
8
7
6
5
9
8
7
6
4
11
3
2
3
2
13
10
8
6
4
2
0
10
8
6
4
2
0
1
5
4
3
5
4
3
15
6
4
2
0
6
4
2
0
1
1
1
6
11
10
9
8
7
6
11
10
9
8
7
6
25
0
0
1
13
12
10
10
9
8
7
13
12
11
10
8
8
7
25
5
4
3
5
4
3
16
9
7
7
6
5
9
8
7
5
5
23
12
10
8
6
4
2
0
12
10
8
6
4
2
0
1
6
4
5
4
7
6
4
2
15
8
6
4
2
0
8
6
4
2
0
4
7
6
4
4
7
5
5
4
15
3
2
3
2
10
1
1
7
13
12
11
10
9
7
5
12
10
11
10
9
8
7
26
15
13
11
9
7
5
3
8
15
13
11
9
7
5
3
8
10
11
10
9
8
7
6
11
10
9
8
7
6
26
10
8
6
4
2
0
10
8
6
4
2
0
1
17
16
15
14
13
12
11
10
8
16
16
15
14
13
12
11
10
9
28
0
0
2
0
0
1
14
12
10
8
6
4
2
8
15
13
11
9
7
5
3
1
4
9
8
6
4
2
8
6
4
6
5
10
2
0
2
0
3
2
0
2
0
1
4
2
0
4
2
0
1
13
12
10
10
9
8
6
12
12
11
10
8
8
7
23
13
12
11
10
8
8
6
12
12
10
10
9
8
7
19
13
12
11
10
9
8
7
13
12
11
10
9
8
7
28
15
14
13
12
11
10
9
8
15
14
13
12
11
10
9
8
39
1
1
7
1
1
5
11
10
9
8
7
6
11
10
9
8
7
6
22
12
10
8
10
9
8
7
13
12
11
10
8
6
4
16
14
12
10
8
6
10
8
8
15
13
13
11
9
7
5
3
14
7
6
4
4
7
5
5
4
19
9
8
6
6
4
8
8
6
6
5
19
2
9
8
7
6
5
9
8
7
6
5
18
4
2
0
4
2
0
1
2
0
2
0
1
7
6
5
4
7
6
5
4
22
6
4
2
0
6
4
2
0
1
13
12
10
8
6
4
2
12
10
8
6
4
8
7
13
4
2
0
4
2
0
1
3
2
3
2
10
1
1
6
2
7
6
5
4
7
6
5
4
16
1
8
8
7
6
5
9
8
7
6
4
25
2
0
2
0
1
1
1
4
15
14
13
12
11
9
9
8
15
14
12
12
11
10
9
8
33
5
4
2
4
4
3
9
1
6
6
5
4
7
6
5
3
11
3
2
0
2
0
1
0
0
5
16
14
15
14
12
12
11
10
8
16
16
15
14
12
12
11
9
7
17
0
0
1
8
6
7
5
3
8
6
7
5
3
9
8
8
6
4
2
8
6
4
6
4
6
1
3
2
3
2
7
13
11
9
10
8
8
7
13
12
10
10
8
6
7
20
10
8
6
8
7
6
11
10
9
7
5
3
17
3
1
2
2
7
15
13
13
11
9
7
5
8
15
13
11
9
7
10
8
8
17
16
16
15
14
13
12
11
10
9
17
16
15
14
13
12
11
10
8
38
14
14
12
10
8
6
9
7
14
14
12
10
8
6
9
7
14
0
0
2
3
2
3
2
15
0
0
1
0
0
1
13
12
10
8
6
4
2
12
10
8
6
4
8
7
8
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |