QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#473288#8600. ФутболQwerty1232#100 ✓195ms10296kbC++231.3kb2024-07-12 00:30:002024-07-12 00:30:01

Judging History

你现在查看的是最新测评结果

  • [2024-07-12 00:30:01]
  • 评测
  • 测评结果:100
  • 用时:195ms
  • 内存:10296kb
  • [2024-07-12 00:30:00]
  • 提交

answer

#include <bits/stdc++.h>

int32_t main() {
    std::ios_base::sync_with_stdio(false);
    std::cin.tie(nullptr);

    int n, q;
    std::cin >> n >> q;
    std::vector<int> input(n);
    std::vector<int> shit(q);
    for (auto& i : input) {
        std::cin >> i;
    }
    for (auto& i : shit) {
        std::cin >> i;
    }

    std::vector<int> divs;
    for (int i = 1; i <= n; i++) {
        if (n % i == 0) {
            divs.push_back(i);
        }
    }
    int m = divs.size();
    std::vector<std::vector<int>> fuck(m);
    for (int i = 0; i < m; i++) {
        fuck[i].resize(divs[i]);
        for (int j = 0; j < divs[i]; j++) {
            int val = 1e9;
            for (int t = j; t < n; t += divs[i]) {
                val = std::min(val, input[t]);
            }
            fuck[i][j] = val;
        }
    }

    std::vector<int> table(m, 1e9);
    int sum = 0;
    for (int i = 0; i < q; i++) {
        for (int j = 0; j < m; j++) {
            table[j] = std::min(table[j], fuck[j][sum % divs[j]]);
        }
        sum = (sum + shit[i]) % n;
        int it = std::lower_bound(divs.begin(), divs.end(), std::gcd(n, sum)) - divs.begin();
        int ans = table[it];
        std::cout << ans << " \n"[i == q - 1];
    }

    return 0;
}

詳細信息

Subtask #1:

score: 10
Accepted

Test #1:

score: 10
Accepted
time: 0ms
memory: 3580kb

input:

2 1
2 1
1

output:

1

result:

ok 1 number(s): "1"

Test #2:

score: 0
Accepted
time: 0ms
memory: 3716kb

input:

2 100
1 2
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1

output:

1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1

result:

ok 100 numbers

Test #3:

score: 0
Accepted
time: 0ms
memory: 3740kb

input:

90 100
61 83 44 52 58 27 36 57 2 68 74 47 38 13 76 28 48 78 75 67 89 80 1 6 72 3 29 54 88 87 73 81 71 51 59 25 37 46 33 9 11 70 45 49 69 17 53 32 42 18 64 24 22 23 31 90 5 55 79 41 12 8 82 63 20 26 85 21 66 60 10 7 77 4 34 62 14 16 35 39 86 30 65 43 56 19 50 40 84 15
28 88 7 31 86 8 16 72 81 32 89 8...

output:

1 1 1 1 5 1 1 1 1 1 1 2 1 1 1 1 2 2 1 1 1 1 1 1 1 1 1 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 3 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1

result:

ok 100 numbers

Test #4:

score: 0
Accepted
time: 0ms
memory: 3508kb

input:

78 100
22 23 11 24 55 42 34 21 52 2 38 49 43 48 8 40 17 31 46 74 7 29 47 77 68 63 39 15 70 18 35 27 64 60 19 41 62 5 37 66 4 78 33 16 65 56 67 58 28 30 57 54 12 69 36 76 53 44 9 59 13 71 20 10 75 1 61 51 50 3 72 26 32 45 14 73 6 25
12 70 21 5 5 20 15 65 70 47 21 29 52 59 25 76 14 12 42 33 10 32 65 4...

output:

13 4 1 4 1 1 1 1 1 1 3 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1

result:

ok 100 numbers

Test #5:

score: 0
Accepted
time: 0ms
memory: 3740kb

input:

72 100
46 37 10 44 70 55 42 38 9 13 23 1 2 52 64 56 26 11 71 65 27 4 22 53 7 35 12 5 31 49 30 68 6 60 61 66 18 57 43 32 58 48 24 72 20 14 45 21 41 40 28 16 17 33 25 62 29 67 50 47 3 19 69 8 36 59 51 39 63 54 15 34
22 49 6 43 56 63 46 23 61 21 25 57 70 51 7 28 47 10 61 3 18 14 60 42 20 14 19 16 68 58...

output:

2 1 1 7 4 1 1 1 1 1 1 2 1 1 4 1 1 1 1 1 1 1 1 1 1 1 5 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1

result:

ok 100 numbers

Test #6:

score: 0
Accepted
time: 0ms
memory: 3604kb

input:

88 100
67 11 77 69 38 27 3 12 57 42 45 24 54 50 44 62 80 72 55 52 22 83 40 6 60 58 7 46 86 16 5 66 14 59 30 75 63 25 88 15 87 49 41 76 31 84 68 71 2 70 73 23 37 8 36 32 85 34 35 21 79 64 65 17 39 51 82 1 10 18 43 19 33 28 13 26 29 48 78 4 74 9 61 47 20 53 56 81
32 71 84 44 33 73 3 40 80 55 29 76 58 ...

output:

2 1 2 2 14 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1

result:

ok 100 numbers

Test #7:

score: 0
Accepted
time: 0ms
memory: 3408kb

input:

100 100
13 53 83 37 10 23 75 88 76 61 84 24 69 94 41 46 79 1 55 73 54 15 33 31 60 70 66 8 35 92 77 6 36 20 98 91 86 3 21 82 50 40 26 64 44 71 42 74 47 87 39 95 97 17 19 78 93 81 25 52 49 68 72 29 7 28 63 12 43 45 30 58 99 51 18 90 14 22 96 80 56 85 48 67 65 59 16 89 27 5 32 4 38 100 2 9 57 62 11 34
...

output:

1 1 5 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1

result:

ok 100 numbers

Test #8:

score: 0
Accepted
time: 0ms
memory: 3580kb

input:

72 100
70 25 7 71 58 31 53 39 27 1 34 36 51 23 33 65 60 18 12 50 67 69 28 32 35 64 13 49 54 15 52 3 55 20 59 11 72 30 43 57 10 29 46 9 26 4 48 22 63 21 42 37 41 62 17 61 45 24 2 44 38 40 8 6 16 47 66 68 5 19 14 56
59 16 39 6 63 6 23 30 45 66 8 30 15 21 15 71 7 58 64 17 53 46 24 40 60 31 66 15 22 61 ...

output:

1 1 1 11 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1

result:

ok 100 numbers

Test #9:

score: 0
Accepted
time: 0ms
memory: 3544kb

input:

60 100
25 17 19 51 2 56 29 60 3 5 36 53 12 42 14 40 45 9 31 16 24 37 43 39 46 57 15 48 8 4 28 35 55 22 38 26 59 6 1 41 20 10 13 21 49 50 23 58 7 11 30 18 52 27 34 47 32 44 54 33
4 55 22 46 47 39 55 2 50 6 16 1 36 44 13 50 21 56 24 45 9 15 6 23 24 40 11 37 14 30 7 43 57 47 10 27 45 14 39 32 15 2 26 3...

output:

2 1 1 1 2 1 1 2 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1

result:

ok 100 numbers

Test #10:

score: 0
Accepted
time: 0ms
memory: 3508kb

input:

80 100
20 74 15 40 18 46 12 60 26 9 11 66 24 49 28 13 52 22 5 16 78 1 30 75 50 36 32 35 8 68 61 41 62 55 70 65 2 77 4 19 69 67 14 6 54 17 42 56 43 25 34 47 44 57 64 73 29 33 10 63 71 58 48 37 59 3 21 39 38 23 45 7 72 79 27 80 76 51 31 53
47 18 17 61 62 23 11 38 38 9 52 20 50 76 56 75 18 56 46 4 39 7...

output:

1 3 1 1 3 1 1 1 3 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 1 1 1 1 1 1 1 1 1 2 1 1 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1

result:

ok 100 numbers

Test #11:

score: 0
Accepted
time: 0ms
memory: 3764kb

input:

72 100
45 50 4 48 44 19 26 66 27 70 65 51 72 1 31 2 42 61 71 3 18 5 52 41 17 58 9 47 38 24 21 16 10 63 39 33 68 59 35 43 57 34 53 15 23 29 55 14 6 69 12 67 62 40 11 20 37 49 32 60 56 25 46 36 28 22 54 64 7 13 8 30
9 21 17 54 53 36 10 1 4 35 24 36 15 27 36 4 49 42 17 35 65 56 53 26 27 33 46 3 7 60 54...

output:

11 2 1 1 1 1 1 1 1 1 1 1 2 4 4 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1

result:

ok 100 numbers

Test #12:

score: 0
Accepted
time: 0ms
memory: 3772kb

input:

70 100
32 16 11 70 8 12 63 34 2 69 49 6 5 40 44 20 66 53 39 1 19 3 67 17 64 62 48 24 15 60 46 31 57 29 42 14 51 45 10 50 4 43 26 61 54 52 30 58 55 9 65 18 27 35 59 68 33 22 28 37 25 13 41 36 23 7 56 21 47 38
69 24 62 32 42 47 25 15 58 49 43 28 44 40 31 10 51 60 69 52 6 65 23 66 45 36 65 7 67 14 48 2...

output:

1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1

result:

ok 100 numbers

Test #13:

score: 0
Accepted
time: 0ms
memory: 3580kb

input:

80 100
40 51 32 36 34 44 64 22 3 9 24 46 66 45 17 73 7 5 74 57 47 60 53 49 43 16 33 12 65 30 61 29 67 4 42 1 78 20 19 41 58 35 14 63 62 13 79 28 72 70 26 52 59 6 11 39 37 38 80 21 25 75 68 48 15 18 71 77 27 55 23 56 50 76 31 69 2 10 8 54
61 32 45 32 17 46 63 41 63 55 40 56 32 51 66 54 29 69 65 67 48...

output:

1 1 1 3 1 1 1 1 5 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1

result:

ok 100 numbers

Test #14:

score: 0
Accepted
time: 0ms
memory: 3768kb

input:

90 100
6 11 79 82 52 83 35 55 80 68 10 12 19 25 28 3 44 63 77 30 60 89 72 14 71 58 34 74 69 18 2 47 75 23 21 48 17 76 1 46 49 16 67 51 50 13 57 38 53 84 22 27 64 90 87 59 41 73 33 78 56 36 61 24 32 20 5 86 88 8 85 54 26 31 29 42 4 40 62 7 81 65 66 39 70 37 43 45 9 15
34 57 76 73 11 59 72 2 69 60 50 ...

output:

1 1 1 2 1 2 1 2 1 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1

result:

ok 100 numbers

Test #15:

score: 0
Accepted
time: 0ms
memory: 3496kb

input:

60 100
53 7 35 13 22 32 27 40 55 52 4 11 60 19 15 18 5 36 58 24 46 50 34 41 9 26 8 44 25 28 54 48 31 57 20 6 21 16 42 1 23 43 47 56 38 10 45 2 3 37 49 33 12 59 51 14 39 17 30 29
31 2 38 46 18 12 17 54 4 30 4 14 22 27 30 40 57 17 12 29 34 47 9 16 52 6 17 55 39 36 18 57 24 46 5 1 35 40 46 21 23 26 29 ...

output:

1 1 1 1 3 1 1 1 1 1 1 5 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 4 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1

result:

ok 100 numbers

Test #16:

score: 0
Accepted
time: 0ms
memory: 3536kb

input:

90 100
78 15 46 75 23 53 86 20 17 9 89 48 60 56 22 52 2 64 41 45 57 55 31 65 51 43 76 1 7 63 38 68 35 82 40 3 34 90 54 5 27 72 62 12 6 33 74 83 79 37 24 73 28 81 80 59 11 16 70 10 36 13 29 84 87 4 66 30 32 14 88 42 61 69 77 49 58 85 8 19 18 25 50 67 21 47 26 39 71 44
64 59 2 69 65 89 62 1 31 4 58 64...

output:

2 1 3 1 1 1 3 1 1 1 3 1 1 1 1 1 1 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1

result:

ok 100 numbers

Test #17:

score: 0
Accepted
time: 0ms
memory: 3772kb

input:

60 100
3 28 31 60 22 35 9 57 43 25 41 24 20 40 10 51 19 1 7 21 52 55 29 15 37 4 50 38 44 46 36 53 2 45 14 18 8 33 56 47 48 42 5 49 34 54 23 58 12 30 39 27 13 17 59 6 32 11 26 16
15 54 23 34 52 41 41 56 33 54 24 4 17 20 7 34 25 31 15 12 21 1 31 18 39 18 19 25 39 24 39 27 53 36 39 30 4 37 26 55 17 51 ...

output:

3 3 1 2 1 1 2 1 1 1 1 1 1 2 1 1 1 1 2 1 1 1 1 1 1 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1

result:

ok 100 numbers

Test #18:

score: 0
Accepted
time: 0ms
memory: 3604kb

input:

72 100
42 40 41 50 16 27 12 49 56 70 14 46 6 18 37 31 67 20 21 33 48 62 55 4 38 52 61 19 17 36 5 51 26 29 8 34 53 71 15 44 63 65 43 2 24 64 45 39 9 47 57 28 22 54 66 60 59 13 1 25 72 68 58 10 35 69 30 11 23 32 3 7
52 33 9 53 68 48 17 68 19 65 21 62 69 15 27 41 24 1 2 63 33 40 28 51 39 15 12 50 70 59...

output:

6 1 1 1 1 1 2 1 1 7 1 1 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1

result:

ok 100 numbers

Test #19:

score: 0
Accepted
time: 0ms
memory: 3560kb

input:

88 100
74 80 14 42 77 69 44 54 53 11 32 61 33 20 73 78 48 34 12 65 75 57 38 51 49 58 39 67 31 2 17 52 13 72 56 55 25 82 46 19 86 62 15 6 10 37 30 84 45 7 79 50 35 36 70 60 28 43 41 23 81 1 47 9 24 5 71 85 4 83 64 76 63 68 40 26 87 8 66 22 88 18 59 21 3 27 16 29
1 78 46 74 9 40 87 84 76 73 19 5 9 66 ...

output:

1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1

result:

ok 100 numbers

Test #20:

score: 0
Accepted
time: 0ms
memory: 3532kb

input:

60 100
18 9 4 56 42 29 34 40 57 27 58 15 52 53 10 54 37 28 20 12 46 1 36 21 16 47 11 41 25 6 3 39 7 5 30 19 55 35 24 51 26 49 14 33 13 48 60 8 44 43 45 32 22 17 2 38 50 59 31 23
8 48 10 17 10 53 12 19 53 38 53 14 1 40 21 14 48 6 57 43 42 55 50 8 47 16 51 10 28 16 43 49 57 42 23 5 31 20 54 49 45 28 5...

output:

7 7 2 1 1 1 1 1 3 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1

result:

ok 100 numbers

Test #21:

score: 0
Accepted
time: 0ms
memory: 3496kb

input:

60 100
43 46 34 58 25 16 42 44 11 4 49 21 24 32 3 26 45 52 19 41 18 36 20 54 9 48 10 8 33 56 51 28 27 2 40 29 47 50 15 53 13 37 38 1 7 22 60 12 17 55 30 6 57 31 5 59 35 23 14 39
12 8 5 57 29 57 57 10 41 43 40 33 43 8 7 9 25 49 10 41 8 32 52 40 35 18 13 40 16 56 3 53 50 48 38 5 7 51 37 40 48 13 33 7 ...

output:

9 13 8 1 1 6 2 1 1 1 1 1 2 1 6 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 3 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1

result:

ok 100 numbers

Test #22:

score: 0
Accepted
time: 0ms
memory: 3492kb

input:

99 100
46 56 64 9 17 77 53 33 48 57 40 66 44 24 29 45 23 76 28 75 90 32 67 51 22 87 30 61 43 42 16 95 31 5 82 12 84 79 4 8 26 72 34 88 19 65 35 98 85 10 94 41 18 49 11 74 80 13 93 6 47 96 68 62 50 59 54 92 81 83 63 37 97 1 60 36 71 91 27 21 78 55 38 3 58 99 73 15 52 69 25 39 7 89 20 14 2 70 86
42 10...

output:

2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1

result:

ok 100 numbers

Test #23:

score: 0
Accepted
time: 0ms
memory: 3604kb

input:

90 100
35 68 2 52 3 81 14 86 29 82 39 60 61 78 72 41 34 18 15 37 31 62 65 70 50 6 56 20 46 21 69 42 67 77 87 12 25 57 47 80 36 17 75 30 24 23 84 83 64 8 49 73 43 40 38 22 45 19 76 53 13 26 11 1 74 48 33 10 54 44 5 28 9 85 63 88 58 59 89 51 66 27 79 90 32 16 71 4 55 7
12 15 41 53 64 73 7 44 26 24 11 ...

output:

9 1 1 1 1 1 1 1 1 1 2 2 1 2 1 1 1 1 1 1 7 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1

result:

ok 100 numbers

Test #24:

score: 0
Accepted
time: 0ms
memory: 3540kb

input:

84 100
61 66 43 47 79 51 45 41 49 78 28 84 34 75 9 39 68 40 19 26 73 80 76 2 57 22 58 15 83 5 64 37 42 48 4 35 23 54 8 69 81 62 67 17 11 6 38 44 55 12 24 46 56 29 16 14 32 33 18 59 72 77 71 65 36 82 31 63 70 25 53 50 7 74 30 27 3 52 1 20 13 10 21 60
15 37 66 81 4 31 4 2 79 15 11 50 3 54 60 15 35 82 ...

output:

1 2 1 1 1 1 3 1 1 1 1 1 1 1 1 1 1 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1

result:

ok 100 numbers

Test #25:

score: 0
Accepted
time: 0ms
memory: 3508kb

input:

54 100
38 34 21 35 40 15 28 22 16 5 6 2 8 48 47 9 31 33 29 7 39 45 3 17 44 49 20 11 43 50 25 10 26 42 30 23 24 46 14 18 41 12 53 27 37 54 4 51 32 36 13 1 52 19
46 52 28 13 10 30 5 13 40 7 33 41 33 50 6 45 29 13 48 12 41 3 41 21 20 8 17 31 9 21 44 47 37 33 29 32 51 12 35 27 32 15 11 53 6 27 9 28 52 2...

output:

3 3 4 1 1 1 1 1 1 1 1 1 3 1 1 1 1 1 1 1 1 1 2 1 1 1 1 1 1 1 3 1 1 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1

result:

ok 100 numbers

Test #26:

score: 0
Accepted
time: 0ms
memory: 3744kb

input:

100 100
21 30 90 1 4 50 89 55 14 99 48 76 59 97 73 26 93 19 74 92 62 5 98 40 8 47 16 32 78 94 20 7 41 35 2 44 61 68 49 34 91 23 45 38 17 13 87 56 25 79 96 6 52 54 57 58 36 53 69 75 42 9 85 72 46 51 80 15 66 22 84 67 24 100 64 43 27 63 10 28 29 81 65 83 3 77 88 95 12 60 86 70 18 31 39 37 82 11 33 71
...

output:

1 1 1 1 1 1 1 5 1 1 1 1 1 2 1 1 1 1 1 1 1 1 1 1 1 2 2 1 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1

result:

ok 100 numbers

Test #27:

score: 0
Accepted
time: 0ms
memory: 3504kb

input:

75 100
46 52 63 51 5 11 67 70 13 31 40 27 45 25 59 26 12 56 3 34 53 23 4 61 41 57 28 74 32 35 75 22 38 17 50 24 72 15 48 16 37 64 6 33 7 19 42 71 58 2 43 8 68 20 66 21 73 36 65 29 54 14 44 62 9 60 49 69 30 55 18 47 1 10 39
32 42 71 9 52 30 11 18 44 45 47 13 34 73 56 10 70 60 61 30 23 45 54 74 43 52 ...

output:

1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1

result:

ok 100 numbers

Test #28:

score: 0
Accepted
time: 0ms
memory: 3696kb

input:

99 100
80 35 81 20 15 71 52 10 69 73 72 50 57 59 37 3 97 7 94 77 16 92 31 64 53 11 45 33 23 83 38 98 21 58 19 28 65 74 40 63 22 8 82 56 25 96 5 78 29 66 13 24 9 75 34 32 87 46 26 2 55 62 42 88 39 86 41 68 95 60 85 99 4 44 70 67 90 18 76 47 1 17 43 6 89 12 27 49 93 51 36 91 14 48 61 84 79 54 30
88 21...

output:

18 1 1 1 1 1 1 1 1 1 4 1 1 1 1 1 1 1 1 1 1 1 1 1 2 1 1 1 1 1 1 1 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 4 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1

result:

ok 100 numbers

Test #29:

score: 0
Accepted
time: 0ms
memory: 3504kb

input:

72 100
36 7 39 45 31 9 68 3 30 41 51 26 56 65 63 59 15 69 62 10 18 55 24 13 16 27 67 38 70 20 34 35 47 71 32 12 25 50 1 54 42 49 8 19 44 66 4 48 14 17 53 43 6 29 5 72 52 61 46 23 33 58 21 22 2 60 37 64 40 28 11 57
30 61 26 27 36 22 37 29 33 28 16 62 24 60 9 7 45 33 5 69 18 63 7 34 62 54 27 66 25 14 ...

output:

5 1 2 10 10 1 1 1 1 1 1 1 1 1 1 1 5 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1

result:

ok 100 numbers

Test #30:

score: 0
Accepted
time: 0ms
memory: 3772kb

input:

56 100
27 42 53 43 49 12 18 23 38 26 6 25 33 28 44 5 50 52 39 3 9 55 4 14 16 17 51 35 21 20 13 15 29 10 36 30 22 7 56 19 8 32 46 48 47 41 54 24 40 37 34 45 2 31 1 11
18 8 37 13 8 42 51 38 7 50 54 22 48 41 19 7 24 40 34 28 12 34 25 12 35 24 24 45 26 54 13 41 49 30 45 39 22 12 25 16 28 38 43 29 3 7 45...

output:

1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1

result:

ok 100 numbers

Test #31:

score: 0
Accepted
time: 0ms
memory: 3544kb

input:

96 100
54 42 72 15 33 38 37 69 56 88 25 93 91 57 34 4 59 85 92 2 71 86 52 39 48 63 77 80 68 43 31 65 61 11 89 55 60 19 12 45 95 10 18 50 13 76 82 67 83 70 94 6 24 96 17 58 36 47 23 62 22 41 44 35 74 64 46 53 87 84 75 32 21 40 20 73 16 8 7 1 28 9 3 14 51 90 26 81 66 49 27 79 78 30 29 5
95 9 44 25 29 ...

output:

1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 5 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1

result:

ok 100 numbers

Test #32:

score: 0
Accepted
time: 0ms
memory: 3528kb

input:

90 100
68 75 76 50 2 67 34 87 12 70 60 9 18 38 82 28 33 8 5 55 39 20 46 7 42 47 27 57 81 44 59 52 69 86 11 1 56 16 79 65 30 62 31 84 64 78 13 77 45 74 36 10 24 54 15 51 53 25 26 88 14 58 73 72 49 48 3 29 89 80 37 21 19 22 4 90 85 17 41 61 35 43 66 71 40 23 83 32 6 63
67 61 51 87 59 22 31 18 25 29 4 ...

output:

1 1 1 1 1 1 1 1 1 5 1 1 1 1 1 1 1 1 1 1 1 1 1 2 1 1 2 1 1 1 1 1 1 1 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1

result:

ok 100 numbers

Test #33:

score: 0
Accepted
time: 0ms
memory: 3696kb

input:

60 100
50 40 13 23 10 9 8 19 36 11 20 59 54 14 58 55 29 27 15 25 60 17 24 32 43 56 57 31 35 6 22 18 2 12 26 16 38 52 30 3 42 34 44 1 41 21 28 46 48 37 7 33 45 47 4 53 51 5 39 49
29 7 26 7 5 6 7 17 24 43 26 25 7 57 14 7 48 38 38 13 21 55 17 29 27 32 9 3 6 40 16 52 32 19 25 32 54 51 34 10 53 49 46 43 ...

output:

1 6 1 2 1 4 2 1 1 2 1 2 1 1 6 1 1 1 1 1 2 4 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1

result:

ok 100 numbers

Test #34:

score: 0
Accepted
time: 0ms
memory: 3768kb

input:

60 100
11 38 22 51 15 23 32 19 54 39 46 47 21 41 18 43 48 2 27 36 13 25 17 5 1 10 33 59 37 14 30 57 53 49 28 6 31 35 16 40 44 55 29 8 45 3 24 4 7 56 20 60 42 34 50 12 9 52 26 58
6 48 37 42 44 19 14 22 45 58 12 55 50 50 48 18 10 13 58 45 44 26 40 51 35 27 12 27 12 15 58 51 14 48 46 46 55 21 41 50 34 ...

output:

1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1

result:

ok 100 numbers

Test #35:

score: 0
Accepted
time: 0ms
memory: 3536kb

input:

60 100
46 23 27 41 19 14 21 43 9 18 8 26 45 52 12 17 56 24 44 16 2 32 58 30 42 4 38 31 10 60 51 13 50 28 22 47 57 1 53 34 11 20 39 59 5 15 49 37 3 35 36 29 7 48 55 33 40 6 54 25
59 9 7 11 1 55 15 56 23 40 12 54 32 39 41 51 53 52 37 48 32 45 24 33 13 53 6 42 2 36 20 59 48 16 16 29 2 8 15 44 12 27 7 3...

output:

1 2 5 1 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1

result:

ok 100 numbers

Test #36:

score: 0
Accepted
time: 0ms
memory: 3588kb

input:

60 100
60 17 58 52 32 35 24 28 37 16 49 8 55 38 7 4 10 2 30 42 29 12 5 50 53 25 23 1 34 31 3 45 13 51 47 46 33 9 14 56 54 57 43 39 19 26 11 18 20 22 41 27 36 44 15 48 6 40 21 59
49 56 52 3 16 52 31 24 16 29 52 55 3 53 19 42 54 19 42 56 29 44 45 26 12 18 44 21 2 38 9 38 48 29 38 29 59 2 41 3 22 26 10...

output:

1 3 1 2 2 6 1 1 1 1 2 3 1 1 3 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1

result:

ok 100 numbers

Test #37:

score: 0
Accepted
time: 0ms
memory: 3528kb

input:

60 100
40 35 3 1 34 23 56 5 8 51 14 42 24 4 50 15 59 11 52 32 54 7 13 49 28 46 21 9 22 19 53 33 47 43 25 48 27 12 55 60 20 17 30 29 45 16 57 36 41 37 26 44 31 18 6 10 39 2 38 58
24 23 11 42 12 21 19 25 41 6 32 23 50 54 45 33 18 35 3 54 19 24 3 37 8 16 25 23 30 50 2 47 15 39 58 38 36 28 36 26 10 55 7...

output:

24 1 1 5 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1

result:

ok 100 numbers

Subtask #2:

score: 4
Accepted

Test #38:

score: 4
Accepted
time: 76ms
memory: 6708kb

input:

147840 150000
51955 126047 19305 15169 98491 83561 117203 117454 128806 11992 121483 459 147794 90253 74660 36430 145671 95804 131911 2992 15875 98400 8460 42838 33469 140328 134827 18359 147461 133604 9654 131981 145644 85202 30317 25085 27990 11397 53520 142147 41480 126743 53905 49586 108298 6886...

output:

3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 ...

result:

ok 150000 numbers

Test #39:

score: 0
Accepted
time: 63ms
memory: 6404kb

input:

143220 150000
24534 72329 33958 25432 9575 12565 16832 59291 103684 74775 68515 64244 95757 60764 49241 62774 4082 17225 50101 141175 117631 76280 90071 8204 51269 8021 62039 30369 96748 92627 61206 131171 121848 13125 41025 93021 125471 65341 22532 10412 71786 62668 19346 36892 132218 6846 132635 4...

output:

3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 ...

result:

ok 150000 numbers

Test #40:

score: 0
Accepted
time: 59ms
memory: 6408kb

input:

148200 150000
23122 142646 26179 50780 105005 25932 48820 23886 86086 17422 130019 94069 119769 56361 3548 73423 107100 101914 139990 16752 112748 137437 24942 13892 7851 84971 32059 59288 68199 42599 131019 18348 6906 60246 69717 77994 49864 60189 32341 58609 119507 42703 98149 139379 74026 57560 3...

output:

2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 ...

result:

ok 150000 numbers

Test #41:

score: 0
Accepted
time: 62ms
memory: 6204kb

input:

141372 150000
137435 45140 36704 47565 50057 44156 57833 140357 116168 136556 83666 21590 49770 39216 130631 123257 42311 12254 79473 10571 107739 117524 84526 17129 95218 109734 66285 55508 18509 70397 112899 69877 31717 6600 37532 13255 107368 34116 137988 119049 92960 22440 39513 42832 24994 8358...

output:

1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 ...

result:

ok 150000 numbers

Test #42:

score: 0
Accepted
time: 64ms
memory: 6480kb

input:

148680 150000
97755 74770 76339 101674 99315 98137 94238 96948 113272 111698 75780 42522 113466 97733 105526 27823 101017 36402 52050 88323 103271 50763 71727 141217 138774 140752 78163 140337 138947 100486 85516 34373 115431 140038 143315 34703 31647 51851 93642 63044 40722 123703 61052 106536 1175...

output:

7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 ...

result:

ok 150000 numbers

Test #43:

score: 0
Accepted
time: 65ms
memory: 6568kb

input:

142800 150000
27172 128203 5279 107080 74065 48692 18275 83196 17028 79058 93710 72477 92431 86872 40073 69641 116806 55074 35302 49759 92769 141243 96003 132229 102838 14670 81014 138701 9003 105890 67929 57846 39211 79861 138639 109530 125157 71589 5455 10286 8629 128466 104111 11089 45971 93918 1...

output:

133 133 133 133 133 133 133 133 133 133 133 133 133 133 133 133 133 133 133 133 133 133 133 133 133 133 133 133 133 133 133 133 133 133 133 133 133 133 133 133 133 133 133 133 133 133 133 133 133 133 133 133 133 133 133 133 133 133 133 133 133 133 133 133 133 133 133 133 133 133 133 133 133 133 133 ...

result:

ok 150000 numbers

Test #44:

score: 0
Accepted
time: 67ms
memory: 6476kb

input:

149760 150000
57896 58780 91338 44654 124599 139319 79778 115685 105885 51295 117267 50982 117533 149755 104869 6081 123727 103805 63103 128285 136996 26235 51064 56590 117614 144539 56867 26176 118905 7997 129728 49324 92839 38644 18891 102759 65503 38334 41675 64838 34437 58979 17558 74778 32540 8...

output:

1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 ...

result:

ok 150000 numbers

Test #45:

score: 0
Accepted
time: 70ms
memory: 6716kb

input:

147840 150000
112563 15725 72391 45158 145011 73593 73262 125767 14331 39803 97005 142498 129011 600 100966 89826 14065 19764 52676 61050 117930 94817 37362 48621 4497 140218 104813 107677 125830 34159 125049 12846 120520 13174 17594 91850 71519 122558 88375 136522 14010 63456 97569 83471 112637 119...

output:

3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 ...

result:

ok 150000 numbers

Test #46:

score: 0
Accepted
time: 66ms
memory: 6480kb

input:

149760 150000
125708 19241 100731 58612 120582 90100 46981 65620 67386 143602 138251 84852 54026 93547 50080 39333 75208 80364 38744 24483 10203 130969 106284 137128 113062 138203 20528 139337 5141 42963 107272 69363 8799 27287 87107 118602 18868 142641 20074 80593 70478 4655 56020 16410 113777 5980...

output:

3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 ...

result:

ok 150000 numbers

Test #47:

score: 0
Accepted
time: 61ms
memory: 6548kb

input:

146520 150000
3027 13940 86825 114881 5916 53410 3104 119986 136153 113383 121145 60122 118622 72916 111603 27289 142482 103353 21543 55101 13825 77067 82592 37677 59825 123905 135131 120792 123662 70150 141293 77467 27509 100738 41955 82713 90030 72388 139951 36888 69869 6554 60833 35045 51170 1026...

output:

1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 ...

result:

ok 150000 numbers

Test #48:

score: 0
Accepted
time: 71ms
memory: 6424kb

input:

140400 150000
85129 10798 19077 67138 57436 140369 137902 47168 72780 15514 20478 118106 15291 122422 37350 35836 75361 106604 63162 126990 101707 20365 83092 122007 132815 46389 113027 54572 26245 4267 290 58410 29188 30489 48728 106060 18877 93836 413 56181 53080 84657 42152 137577 13153 70220 136...

output:

1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 ...

result:

ok 150000 numbers

Test #49:

score: 0
Accepted
time: 62ms
memory: 6556kb

input:

148680 150000
131921 3478 105534 34548 9447 136884 77743 108817 111963 126786 7155 26489 21704 21449 124281 92512 1396 106023 405 118449 108751 31396 108912 35552 43924 53345 37427 97044 20802 95928 120442 36131 81823 76645 68766 45353 76415 60190 111483 132497 7435 36750 123143 3076 56970 14136 490...

output:

175 175 175 175 175 175 175 175 175 175 175 175 175 175 175 175 175 175 175 175 175 175 175 175 175 175 175 175 175 175 175 175 175 175 175 175 175 175 175 175 175 175 175 175 175 175 175 175 175 175 175 175 175 175 175 175 175 175 175 175 175 175 175 175 175 175 175 175 175 175 175 175 175 175 175 ...

result:

ok 150000 numbers

Test #50:

score: 0
Accepted
time: 71ms
memory: 6524kb

input:

140400 150000
125842 73929 2806 126740 35491 14514 38547 206 47989 122191 135483 79681 63387 118700 42881 32246 88272 124600 12013 98487 9936 56425 3580 77886 114122 79800 79379 104399 111383 67261 75151 131806 51107 134530 99113 38864 76876 132137 63037 126450 80394 24447 100055 50686 65112 54350 3...

output:

1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 ...

result:

ok 150000 numbers

Test #51:

score: 0
Accepted
time: 62ms
memory: 6316kb

input:

149688 150000
131766 11454 133311 76598 113093 14156 130949 136739 122847 44702 63715 19648 60830 144690 6003 115362 128250 7043 119650 148766 64701 86452 115104 114486 42671 58225 51379 148810 81210 26381 110511 51723 49099 65275 41735 86422 65835 104426 137660 42925 23977 112132 95867 83093 43965 ...

output:

13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 ...

result:

ok 150000 numbers

Test #52:

score: 0
Accepted
time: 61ms
memory: 6472kb

input:

148680 150000
14055 22404 49664 38277 40807 81439 30823 141800 93446 62906 63253 135234 84689 74059 144800 51562 50583 144415 112959 110488 90623 27081 101112 146410 131033 134291 44395 26075 84788 107707 37435 68879 75704 94105 79280 125886 122940 26627 14989 101501 101381 62683 20221 138858 102955...

output:

16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 ...

result:

ok 150000 numbers

Test #53:

score: 0
Accepted
time: 63ms
memory: 6312kb

input:

148200 150000
109916 28274 108949 43876 82426 57102 121321 70790 127821 126280 93 130858 81852 43797 130586 79465 13860 66280 74523 39394 123831 100090 1597 76279 43152 93646 27626 131615 5105 57216 103053 48630 130178 58167 24772 72598 91517 5079 55402 136777 13423 19056 138628 75177 148004 25276 1...

output:

5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 ...

result:

ok 150000 numbers

Test #54:

score: 0
Accepted
time: 64ms
memory: 6448kb

input:

142800 150000
15861 10117 124797 132378 39505 75429 71179 25566 22585 10966 55067 106906 25260 17565 17441 124352 82163 7922 106125 104617 78316 74200 75635 114014 141753 63172 50155 23079 77044 122829 9519 24141 42230 22236 84912 15256 131719 119529 141866 34447 74314 62739 22347 117139 87740 27198...

output:

2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 ...

result:

ok 150000 numbers

Test #55:

score: 0
Accepted
time: 71ms
memory: 6620kb

input:

146160 150000
107027 88704 76057 4032 128649 41580 136201 106504 71907 48208 126302 63835 24833 43409 76133 54150 48040 70276 60854 17400 114989 64078 28357 60712 87818 7575 12776 21174 25735 52500 98009 38970 24314 50409 66331 114799 111512 115392 6722 47921 120719 78712 78250 129723 61018 71449 14...

output:

5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 ...

result:

ok 150000 numbers

Test #56:

score: 0
Accepted
time: 73ms
memory: 6536kb

input:

146160 150000
119690 131487 4635 136654 63191 12486 86186 37362 96812 73031 28696 3006 86036 52834 121061 24125 133893 126668 50374 49030 124071 20211 49323 27051 83229 145929 46629 76458 40814 51333 46432 94389 138781 28683 20739 69232 122012 73866 48543 102303 145403 65922 72466 4814 5912 103057 1...

output:

1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 ...

result:

ok 150000 numbers

Test #57:

score: 0
Accepted
time: 64ms
memory: 6424kb

input:

146880 150000
61415 33674 28391 113741 24629 120685 58913 45642 53991 67292 77510 61156 95147 69774 13520 105199 53872 32252 61766 123672 90361 145002 121077 94082 88728 50905 114210 121513 100105 41096 65209 72662 113636 115310 57740 129565 35906 31120 55570 58291 49674 124624 25186 35070 136904 31...

output:

6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 ...

result:

ok 150000 numbers

Test #58:

score: 0
Accepted
time: 65ms
memory: 6516kb

input:

149940 150000
124838 85779 7161 96257 46587 74792 132987 94367 32389 132101 66820 95531 148708 4639 4853 104133 28008 141089 67278 75725 10602 120482 124435 125185 148152 43140 116664 83592 66432 65723 39386 43542 11936 77764 22625 8546 134583 107977 122205 11422 43183 77316 63893 132780 110817 4913...

output:

1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 ...

result:

ok 150000 numbers

Test #59:

score: 0
Accepted
time: 71ms
memory: 6600kb

input:

141120 150000
51699 19802 72404 9725 98197 75130 47819 7466 67580 135423 26362 102832 109807 15128 133411 33658 76443 90472 124479 26141 19509 138894 19937 101249 59763 12499 97663 17369 121490 31586 80998 119195 43843 53613 48772 111008 88377 134677 62599 84615 10030 13332 64673 87343 131008 130996...

output:

7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 ...

result:

ok 150000 numbers

Test #60:

score: 0
Accepted
time: 72ms
memory: 6532kb

input:

141120 150000
87367 36521 138030 86186 64349 12634 90525 89453 12359 108536 12867 29927 38962 91656 45603 120100 26816 40431 46496 70381 88120 128065 98799 140331 139893 59570 25197 47631 96035 88275 129287 77446 87194 55670 96799 120578 61795 99245 120602 28364 68816 133969 57870 74185 31277 110107...

output:

1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 ...

result:

ok 150000 numbers

Test #61:

score: 0
Accepted
time: 75ms
memory: 6532kb

input:

143640 150000
101593 132381 132994 22519 69916 93256 62572 66767 64384 5266 97917 8002 17559 131276 76164 57690 57039 83012 77333 43669 112866 10599 43736 28835 128257 49167 74298 27479 131236 71794 53994 22838 66664 81805 26225 114094 107889 98116 108468 3433 82083 100651 6194 48736 2792 96245 9334...

output:

3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 ...

result:

ok 150000 numbers

Test #62:

score: 0
Accepted
time: 67ms
memory: 6460kb

input:

144144 150000
37691 29654 143666 87501 74596 72808 12802 137194 999 14076 39722 108668 29829 93569 76352 8555 96009 64809 98618 4624 28437 113922 142191 133820 63167 28345 56570 8008 46483 71961 78678 38300 10004 52448 12048 112705 121557 24748 126077 56408 110376 22712 128490 18208 85056 80105 1178...

output:

52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 ...

result:

ok 150000 numbers

Test #63:

score: 0
Accepted
time: 59ms
memory: 6464kb

input:

149760 150000
146003 112693 75054 75681 60905 16776 104206 15194 46942 37111 91472 47254 63929 72089 38273 38126 93306 133744 83094 107245 148043 80479 85166 52551 112827 90327 135991 25632 6675 144309 148244 144512 130004 90987 86784 53432 14647 40069 65025 81701 86115 108957 144471 55738 18729 104...

output:

136 136 136 136 136 136 136 136 136 136 136 136 136 136 136 136 136 136 136 136 136 136 136 136 136 136 136 136 136 136 136 136 136 136 136 136 136 136 136 136 136 136 136 136 136 136 136 136 136 136 136 136 136 136 136 136 136 136 136 136 136 136 136 136 136 136 136 136 136 136 136 136 136 136 136 ...

result:

ok 150000 numbers

Test #64:

score: 0
Accepted
time: 74ms
memory: 6520kb

input:

143640 150000
3565 140163 83477 108389 131146 46167 66707 138380 134164 86360 77155 98935 71197 102838 1241 133293 46802 64589 46239 100650 120253 41898 59315 142599 91276 79967 136641 67841 68620 79208 115099 104844 16854 105506 14306 85828 10955 135228 56218 6558 134609 134784 67092 35322 20800 91...

output:

3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 ...

result:

ok 150000 numbers

Test #65:

score: 0
Accepted
time: 67ms
memory: 6544kb

input:

146160 150000
82842 14475 66976 129330 42918 52559 70553 116022 16518 42048 138000 10245 98944 75244 37626 129079 143155 134369 71057 19151 58441 116043 131648 144622 76786 84607 88965 29680 104399 989 144120 105443 52665 58741 132974 2053 3591 97029 101185 49408 81683 101477 102464 26847 108442 718...

output:

11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 ...

result:

ok 150000 numbers

Test #66:

score: 0
Accepted
time: 58ms
memory: 6444kb

input:

141960 150000
15283 127527 84578 92605 4185 94095 9188 89456 119048 95921 110515 93805 98919 42509 33975 63108 73236 60576 129617 57732 44409 110621 46321 64775 80062 95570 126161 122069 27394 140528 74216 47389 81273 131182 128376 27802 116745 90903 6274 35823 30450 11501 117223 7578 107502 45113 9...

output:

3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 ...

result:

ok 150000 numbers

Test #67:

score: 0
Accepted
time: 69ms
memory: 6544kb

input:

140400 150000
124572 21172 106512 85184 123144 63121 88146 29183 123484 135380 115318 30363 75261 38970 78439 112862 68530 21750 30298 80967 63288 30403 44055 12394 47816 139730 105013 93302 34512 106875 84646 114594 117379 82264 79744 23291 133353 128856 120655 28990 37262 12549 131592 25211 103551...

output:

108 108 108 108 108 108 108 108 108 108 108 108 108 108 108 108 108 108 108 108 108 108 108 108 108 108 108 108 108 108 108 108 108 108 108 108 108 108 108 108 108 108 108 108 108 108 108 108 108 108 108 108 108 108 108 108 108 108 108 108 108 108 108 108 108 108 108 108 108 108 108 108 108 108 108 ...

result:

ok 150000 numbers

Subtask #3:

score: 11
Accepted

Test #68:

score: 11
Accepted
time: 54ms
memory: 5992kb

input:

227561 300000
73189 67918 59157 26519 101740 188677 6268 205191 174583 176677 78190 126611 30812 65842 138072 18276 70837 103758 127302 2932 127000 49555 91327 7897 182706 108236 29655 56692 90510 215347 157427 104979 140920 184749 95668 45218 130382 120415 18647 165909 201803 36717 92674 209990 448...

output:

1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 ...

result:

ok 300000 numbers

Test #69:

score: 0
Accepted
time: 58ms
memory: 6032kb

input:

228359 300000
141993 27122 18203 22377 123220 185891 150204 116468 190784 113243 23498 160111 78566 170803 90303 100694 158128 65848 108261 166202 72156 181776 166212 197059 192482 54518 218891 11099 98486 77262 221897 89233 168861 210125 39429 217689 195530 48351 131846 101445 119750 150702 33006 1...

output:

1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 ...

result:

ok 300000 numbers

Test #70:

score: 0
Accepted
time: 50ms
memory: 5936kb

input:

229081 300000
104084 90225 159598 188001 125378 192428 96293 180608 55108 98436 94622 24083 195329 12583 76226 68193 217540 62469 4445 91770 111151 76309 103708 74077 201695 156254 48415 21771 163005 157423 226460 127623 5381 105167 90848 67893 22397 50436 166615 188171 4387 162326 167485 182817 227...

output:

1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 ...

result:

ok 300000 numbers

Test #71:

score: 0
Accepted
time: 58ms
memory: 6292kb

input:

229753 300000
173644 153750 68042 5410 170084 219510 17455 49336 97552 103893 199383 114910 57277 87809 33585 180077 196536 96973 145119 5497 219258 225670 31679 216180 176989 58809 92634 73228 182448 153328 56329 169993 158484 99081 127884 145355 94091 84138 19243 12087 66681 67463 22858 14183 1421...

output:

1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 ...

result:

ok 300000 numbers

Test #72:

score: 0
Accepted
time: 54ms
memory: 6220kb

input:

230449 300000
67461 164946 42527 129838 85839 109316 8570 61737 73724 170891 146261 23121 20405 178250 123564 3571 61836 165796 25951 191390 195372 26660 176478 134361 225651 212455 20802 182933 166757 13501 160977 45375 26965 37091 32549 141174 171600 62440 188193 63456 65395 143630 125631 59529 17...

output:

1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 ...

result:

ok 300000 numbers

Test #73:

score: 0
Accepted
time: 55ms
memory: 6292kb

input:

231289 300000
207763 206724 148345 109453 219664 142495 100588 152847 45093 103956 105159 94936 198428 35424 127654 1310 195431 161760 30568 227384 75289 97428 159090 183027 44713 216938 181360 178938 107635 27812 29674 107979 1322 186964 47045 91602 55260 74036 18698 187192 602 54476 139301 50776 1...

output:

1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 ...

result:

ok 300000 numbers

Test #74:

score: 0
Accepted
time: 58ms
memory: 6268kb

input:

232049 300000
54131 127580 166914 31187 128381 40007 113247 4486 191746 7487 140263 194374 184988 59043 117921 214648 194434 126715 15999 23369 27965 206211 55418 139810 38717 20348 218351 85617 195269 222001 117958 143931 10343 152716 118014 46243 33616 105733 71892 177074 69215 228779 81206 99746 ...

output:

1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 ...

result:

ok 300000 numbers

Test #75:

score: 0
Accepted
time: 58ms
memory: 6204kb

input:

232861 300000
164315 7847 101906 55298 27707 180164 38020 95779 75987 216444 89919 117882 166661 142413 153218 177124 158131 108853 179184 104847 204304 107498 91501 172757 7617 113676 69284 51083 203170 103317 198707 196398 159182 103452 119853 60234 103900 70274 46195 17819 199314 102564 211384 20...

output:

1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 ...

result:

ok 300000 numbers

Test #76:

score: 0
Accepted
time: 59ms
memory: 6172kb

input:

233713 300000
182620 49791 216487 113841 144899 134495 28883 29652 90448 164563 141485 204480 224943 169662 14038 71605 151907 1951 220095 190942 232409 107838 57384 143004 140304 95491 132763 27264 27149 168472 204286 75456 206222 47729 29400 145375 225902 44619 37657 200753 121966 101538 149667 14...

output:

1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 ...

result:

ok 300000 numbers

Test #77:

score: 0
Accepted
time: 53ms
memory: 5908kb

input:

200041 300000
45629 156776 190578 28265 12136 58702 81707 199820 178902 122343 56274 114579 115946 185138 156086 35605 94548 13500 168480 121186 10030 157873 70701 180686 160356 97251 143863 142964 159255 43321 53551 88843 27876 56270 15760 133558 24112 161777 104217 174085 148255 141991 23887 12150...

output:

1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 ...

result:

ok 300000 numbers

Test #78:

score: 0
Accepted
time: 52ms
memory: 5936kb

input:

200903 300000
145807 198044 185081 54239 100212 11526 122670 181230 176185 189903 60069 170323 5519 133444 51636 50338 1663 130024 46788 6199 178384 193515 23420 6843 197088 99449 65459 1463 31206 109012 8170 188301 60554 164381 155506 142531 144209 87994 135419 66599 43777 183790 55449 93763 113784...

output:

1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 ...

result:

ok 300000 numbers

Test #79:

score: 0
Accepted
time: 51ms
memory: 5900kb

input:

201683 300000
134862 32169 146462 194476 23386 132100 136643 82183 20847 154001 85532 105484 89930 50326 189536 180580 34460 134317 73708 174952 183027 121328 30143 19078 120908 40912 27068 169196 133535 136947 38486 189631 28109 93398 115960 126158 21416 5363 76206 92498 169379 39822 21866 69458 18...

output:

1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 ...

result:

ok 300000 numbers

Test #80:

score: 0
Accepted
time: 56ms
memory: 5968kb

input:

202393 300000
25423 77415 89636 89856 56847 72587 178286 44940 171211 188905 190887 157696 117099 39679 6364 84063 175398 83592 112854 42687 171862 166527 102179 98350 121161 55564 190995 84246 157416 123038 175265 158904 2362 147986 102328 11115 18470 154254 120446 99208 103194 113303 72079 156375 ...

output:

1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 ...

result:

ok 300000 numbers

Test #81:

score: 0
Accepted
time: 57ms
memory: 5900kb

input:

203227 300000
140668 96055 184508 12043 171299 7461 56039 35597 49212 195382 39405 176494 171997 12225 47026 157546 165786 189686 182190 161816 28996 73017 114934 94477 116098 82616 147337 1915 145919 142397 70449 87411 34084 21615 47032 163334 142762 104425 100668 199841 79050 151292 20727 101116 1...

output:

1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 ...

result:

ok 300000 numbers

Test #82:

score: 0
Accepted
time: 52ms
memory: 5912kb

input:

203999 300000
24499 24746 168149 18949 122044 149878 74846 79576 137542 174500 27117 58976 155435 120406 203993 116129 9281 154961 100584 117985 132105 79222 120651 186346 111666 142088 87337 38000 173846 156877 136891 18747 720 147115 158754 136514 111319 151851 148555 107967 197515 113078 160896 7...

output:

1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 ...

result:

ok 300000 numbers

Test #83:

score: 0
Accepted
time: 57ms
memory: 5960kb

input:

204793 300000
203165 33896 163156 58135 169621 8782 57447 191552 106029 186648 187038 34009 171613 92437 153135 170359 79600 79370 80379 129207 144674 86843 107966 142265 4477 129482 9952 148240 178356 194467 144049 176381 28496 27243 26655 90107 136661 182745 22995 149645 56903 120255 20592 99660 7...

output:

1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 ...

result:

ok 300000 numbers

Test #84:

score: 0
Accepted
time: 57ms
memory: 5900kb

input:

205529 300000
116307 22719 101691 90152 194954 57836 80182 14455 76359 20501 151637 164098 34555 105898 8559 37077 90823 76563 160346 126267 38854 115981 141923 25808 178727 83501 97714 187100 178860 53531 52940 150918 194384 105739 177591 2722 136584 195939 29595 40263 203931 74157 39837 24706 9402...

output:

1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 ...

result:

ok 300000 numbers

Test #85:

score: 0
Accepted
time: 57ms
memory: 5904kb

input:

206273 300000
178841 21937 113133 75195 94261 143607 89165 63612 198700 43920 2283 84596 67455 125238 30684 63511 177664 190447 125015 82588 156026 155266 16299 198325 126560 190721 202720 152480 4008 56572 82345 59232 202449 35590 36199 108397 3004 153937 119630 30253 66940 138113 111239 1885 19000...

output:

1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 ...

result:

ok 300000 numbers

Test #86:

score: 0
Accepted
time: 56ms
memory: 5940kb

input:

207061 300000
167501 123705 180229 76393 206907 205083 9029 32747 18731 144499 167003 79449 3862 157359 32736 141186 12105 101517 204213 161979 131136 194170 173596 45602 10997 187992 178698 159951 119403 199851 125998 191200 35834 81539 187984 48978 110991 200693 133491 89331 151816 135677 133256 2...

output:

1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 ...

result:

ok 300000 numbers

Test #87:

score: 0
Accepted
time: 55ms
memory: 6160kb

input:

237401 300000
116076 25612 161331 81704 10943 216150 159687 103108 60063 169846 99205 169253 176789 169441 37020 53552 63375 106372 224037 22404 175588 144827 115972 123128 173412 28242 198358 101231 235978 146284 194444 66634 108012 27058 24251 170662 162287 113080 201699 138158 34306 116960 33174 ...

output:

1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 ...

result:

ok 300000 numbers

Test #88:

score: 0
Accepted
time: 58ms
memory: 6220kb

input:

238229 300000
201288 30305 11047 78303 209801 28884 42656 53717 149303 129639 140798 127322 159626 59753 164547 195730 193282 154167 155517 217944 225101 12915 109019 139678 175197 145282 10534 75772 182957 85684 71958 111740 36011 100655 105330 194711 72122 109162 154256 11123 228839 154560 142668 ...

output:

1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 ...

result:

ok 300000 numbers

Test #89:

score: 0
Accepted
time: 55ms
memory: 6292kb

input:

238967 300000
188730 200446 199455 166051 188962 77503 198051 151634 34292 13176 148096 170909 161655 24530 192197 138697 95079 95199 64252 188115 225920 164792 202071 93328 224626 212620 172440 14202 156468 91567 86906 85355 173499 42082 193180 194469 133391 45257 119494 216757 85799 196392 232333 ...

output:

1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 ...

result:

ok 300000 numbers

Test #90:

score: 0
Accepted
time: 58ms
memory: 6196kb

input:

239783 300000
183503 94952 142619 173411 195649 103407 42149 162991 140483 219377 23757 8835 197687 178592 137642 161249 13558 232254 3006 174246 227809 149362 141982 98180 224776 37589 158049 187919 7819 125678 54419 208408 20298 10968 36960 222689 184223 1306 108933 190885 129300 121807 35912 9968...

output:

1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 ...

result:

ok 300000 numbers

Test #91:

score: 0
Accepted
time: 59ms
memory: 6224kb

input:

240571 300000
154904 101287 157438 204466 181835 189951 196593 230974 95902 75277 32651 71067 184588 235882 161334 129534 187972 36235 75666 130214 161115 218710 179083 190511 222955 49958 169216 110512 52586 118670 221967 172638 222132 118314 51275 38043 42972 93188 197847 11113 19854 236317 229953...

output:

1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 ...

result:

ok 300000 numbers

Test #92:

score: 0
Accepted
time: 59ms
memory: 6164kb

input:

241327 300000
57062 144516 213236 192945 156959 36909 56908 139580 95238 99996 147138 106632 5507 80954 85539 8281 131932 139523 183589 125197 168100 157724 50516 162629 36617 84727 16352 129267 180642 233659 143156 74306 69708 18181 111065 138037 172990 203608 198518 85407 66353 11766 18832 146608 ...

output:

1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 ...

result:

ok 300000 numbers

Test #93:

score: 0
Accepted
time: 59ms
memory: 6292kb

input:

241981 300000
232551 13201 187683 30380 24081 171970 233581 132328 131577 41035 1650 99986 223162 161857 134775 15828 104514 140407 169172 68267 35544 93938 33825 78751 12800 139509 147555 187 47037 42365 180046 51178 38355 72245 124485 111866 100568 218359 119101 110095 51490 56669 236737 131491 17...

output:

1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 ...

result:

ok 300000 numbers

Test #94:

score: 0
Accepted
time: 59ms
memory: 6216kb

input:

242789 300000
227054 28929 17948 167692 212371 76429 187770 192175 39893 85470 108926 84654 108736 143436 228800 78109 186009 130516 205773 78207 125333 1386 184211 5893 129955 6716 202934 16754 58279 157583 185663 174150 33374 215308 136852 168545 175908 46538 62353 170505 180703 208793 233015 1047...

output:

1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 ...

result:

ok 300000 numbers

Test #95:

score: 0
Accepted
time: 59ms
memory: 6288kb

input:

243589 300000
74699 105225 87262 231748 76221 54566 71371 138646 49166 220979 114633 141643 90127 138946 131957 124515 131412 150932 79003 241218 17345 41236 234110 179541 1630 220409 61397 118267 102244 117159 92928 205920 64697 222676 10379 115506 228776 106127 237776 51824 151244 107638 110809 23...

output:

1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 ...

result:

ok 300000 numbers

Test #96:

score: 0
Accepted
time: 59ms
memory: 6216kb

input:

244379 300000
58454 6590 73447 187046 190283 37795 112139 214777 156011 46925 77895 129050 197792 177914 156857 213616 43129 64044 217389 152690 51540 53152 210360 66328 127483 199505 146179 243433 188035 133597 5864 165029 197782 47433 47396 215828 168146 124500 198221 81422 60879 37697 177718 2151...

output:

1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 ...

result:

ok 300000 numbers

Test #97:

score: 0
Accepted
time: 61ms
memory: 6540kb

input:

275039 300000
10973 189821 269316 110452 169897 259959 41477 261709 193646 8758 148453 152178 196173 229478 9653 184477 204433 234060 129387 14291 134965 190777 216576 141983 65995 130299 137682 153970 193083 24381 229074 181901 45332 17714 209105 72604 136079 19916 69857 105012 40446 18640 66378 16...

output:

1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 ...

result:

ok 300000 numbers

Subtask #4:

score: 12
Accepted

Dependency #1:

100%
Accepted

Test #98:

score: 12
Accepted
time: 1ms
memory: 3768kb

input:

900 1000
43 860 256 252 850 780 424 883 290 746 669 61 846 257 388 764 105 851 243 834 733 492 867 327 160 775 427 45 272 766 628 133 714 23 30 700 477 554 161 104 22 240 679 106 42 711 235 396 357 174 818 408 316 773 301 291 640 144 495 426 732 845 622 126 345 516 561 612 414 87 412 79 879 101 750 ...

output:

9 2 1 3 1 1 1 5 1 3 7 1 1 1 1 1 1 1 1 1 1 3 1 1 1 1 1 1 1 1 1 2 1 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 1 1 1 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 1 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 ...

result:

ok 1000 numbers

Test #99:

score: 0
Accepted
time: 1ms
memory: 3628kb

input:

960 1000
792 68 155 418 446 514 381 542 425 419 46 151 162 864 708 841 505 797 268 213 633 250 260 464 658 189 692 338 32 827 531 870 959 152 313 234 409 203 167 400 329 309 592 647 910 691 506 53 680 107 229 616 580 812 503 502 705 575 244 202 608 598 587 915 39 649 729 177 907 323 410 504 383 953 ...

output:

6 23 37 1 1 2 1 1 1 1 2 2 1 1 1 1 1 1 1 1 1 2 1 1 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 3 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 3 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 ...

result:

ok 1000 numbers

Test #100:

score: 0
Accepted
time: 1ms
memory: 3560kb

input:

924 1000
364 835 883 81 367 140 624 791 80 478 804 523 15 707 88 751 849 383 657 19 687 464 910 549 611 426 136 303 913 304 811 300 588 58 172 613 882 660 151 516 787 608 425 52 816 373 371 781 161 35 391 116 656 610 76 113 617 325 921 338 915 693 276 366 392 345 668 815 618 902 757 117 726 868 852 ...

output:

48 1 1 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1...

result:

ok 1000 numbers

Test #101:

score: 0
Accepted
time: 1ms
memory: 3620kb

input:

960 1000
886 583 500 76 549 795 347 831 297 468 290 39 427 457 87 768 855 581 463 914 316 753 681 116 643 456 516 176 884 113 734 285 378 650 129 295 152 737 957 47 412 660 719 306 922 277 46 332 876 493 446 907 685 247 668 434 755 120 915 414 27 674 557 661 824 413 696 764 694 822 419 142 30 917 40...

output:

1 1 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 57 1 1 1 1 1 1 1 4 1 1 1 1 1 1 1 1 1 1 4 1 3 1 1 1 1 1 2 1 1 1 1 1 1 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1...

result:

ok 1000 numbers

Test #102:

score: 0
Accepted
time: 1ms
memory: 3724kb

input:

936 1000
479 724 798 579 113 69 165 775 350 721 725 89 516 166 148 174 527 129 20 432 355 56 238 502 219 171 9 275 443 588 841 437 515 334 468 776 329 321 266 755 602 668 627 205 70 505 431 245 120 436 649 923 739 96 252 915 531 768 318 15 542 256 435 324 511 507 345 733 512 241 837 397 616 28 589 3...

output:

2 9 1 1 9 7 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 1 1 1 5 1 1 1 1 1 1 1 1 1 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 14 1 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1...

result:

ok 1000 numbers

Test #103:

score: 0
Accepted
time: 1ms
memory: 3560kb

input:

960 1000
773 789 3 422 700 149 295 343 785 88 951 248 499 416 937 548 418 920 503 941 202 692 755 472 58 960 924 842 876 668 117 122 341 844 630 350 333 647 411 653 56 892 570 94 351 900 830 296 898 204 265 218 180 915 667 633 4 731 796 43 619 543 657 55 716 101 604 18 196 263 65 825 832 742 745 358...

output:

1 2 1 1 2 2 2 8 1 1 2 1 7 1 1 1 1 1 1 1 1 1 1 1 2 1 1 1 1 1 1 1 2 1 1 2 2 1 1 2 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 ...

result:

ok 1000 numbers

Test #104:

score: 0
Accepted
time: 1ms
memory: 3584kb

input:

900 1000
732 430 868 249 95 442 13 362 423 324 122 762 363 627 343 609 20 668 850 653 188 678 593 328 194 561 722 138 198 466 873 870 663 673 836 813 79 199 157 116 25 536 583 164 255 399 111 674 382 537 331 219 271 618 141 632 720 481 3 330 715 454 350 866 319 72 612 544 177 166 588 701 879 686 786...

output:

1 1 1 1 1 1 2 1 1 1 4 2 1 1 1 1 5 1 1 1 1 1 1 1 1 1 1 1 1 1 7 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 ...

result:

ok 1000 numbers

Test #105:

score: 0
Accepted
time: 1ms
memory: 3484kb

input:

936 1000
741 123 181 433 30 59 812 876 717 839 391 702 586 820 920 859 451 465 108 345 112 858 474 27 258 840 675 763 151 242 887 125 155 75 649 751 430 244 24 425 248 782 692 528 312 165 589 445 915 393 732 513 285 32 214 502 74 376 512 47 247 252 292 644 163 620 842 353 410 607 556 158 93 590 505 ...

output:

7 1 1 1 1 1 4 1 4 1 4 1 4 1 1 1 4 1 1 2 1 1 1 1 2 1 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 ...

result:

ok 1000 numbers

Test #106:

score: 0
Accepted
time: 0ms
memory: 3632kb

input:

960 1000
617 220 64 406 373 956 437 472 465 892 898 816 43 921 60 868 453 846 146 642 653 51 332 430 367 709 178 450 773 897 423 22 837 170 265 215 7 37 177 154 660 699 402 219 144 747 342 509 95 611 88 374 657 948 857 347 591 151 689 548 719 908 301 449 258 831 543 830 825 677 115 866 143 139 285 9...

output:

4 49 1 4 5 4 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 3 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1...

result:

ok 1000 numbers

Test #107:

score: 0
Accepted
time: 1ms
memory: 3564kb

input:

924 1000
872 439 368 70 762 803 441 66 818 125 412 576 67 58 882 293 20 708 270 190 25 240 538 130 647 913 884 129 157 145 15 495 668 425 619 410 910 405 175 746 810 757 505 812 660 518 43 332 814 685 896 916 381 922 742 828 179 215 53 355 594 864 575 739 729 16 464 703 128 138 397 877 710 177 879 6...

output:

7 1 1 2 1 1 1 1 1 1 7 1 1 1 1 1 1 1 1 1 1 1 3 1 1 1 1 1 3 1 1 1 1 1 1 1 1 1 2 1 3 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 4 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 ...

result:

ok 1000 numbers

Test #108:

score: 0
Accepted
time: 1ms
memory: 3788kb

input:

924 1000
100 234 869 27 538 7 478 885 758 206 866 535 783 319 910 247 795 489 17 414 707 205 433 601 623 883 523 170 387 855 625 404 371 167 117 733 706 527 114 669 223 710 378 35 318 261 528 878 683 865 37 428 757 180 45 576 399 567 539 550 494 158 416 487 464 876 425 86 473 690 532 633 349 221 192...

output:

1 1 1 3 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 14 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 1 1 1 1 1 1 1 1 1 1 1 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 5 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1...

result:

ok 1000 numbers

Test #109:

score: 0
Accepted
time: 0ms
memory: 3580kb

input:

990 1000
727 58 213 244 728 724 662 717 906 867 609 916 354 620 261 796 821 197 553 71 633 322 46 912 964 718 323 714 977 899 886 572 59 310 352 602 667 888 844 871 797 829 260 272 550 690 223 214 648 268 329 855 936 738 878 445 227 198 897 65 358 863 142 651 356 744 588 348 676 297 246 409 483 813 ...

output:

1 1 1 1 5 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 4 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 6 1 1 1 1 1 1 1 4 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 6 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 6 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 ...

result:

ok 1000 numbers

Test #110:

score: 0
Accepted
time: 1ms
memory: 3608kb

input:

960 1000
943 758 273 836 97 809 90 645 348 561 756 897 642 875 699 520 638 277 721 358 883 776 703 787 747 263 695 465 731 184 550 245 438 94 53 158 331 166 470 455 504 493 274 330 876 37 543 74 752 601 723 662 930 286 688 941 365 934 182 587 566 378 698 48 476 923 284 67 521 663 81 505 105 343 46 3...

output:

7 7 2 57 2 2 1 1 2 1 12 1 1 5 1 1 2 1 1 1 1 1 1 1 2 1 1 2 1 1 1 1 1 1 1 1 1 1 1 1 1 2 1 1 1 1 1 1 8 1 1 1 1 1 22 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 7 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1...

result:

ok 1000 numbers

Test #111:

score: 0
Accepted
time: 1ms
memory: 3728kb

input:

960 1000
327 345 555 122 141 772 378 703 763 49 595 210 423 852 125 797 64 701 825 269 362 339 473 930 157 291 691 272 900 284 723 83 945 454 395 243 212 919 62 134 371 728 713 177 188 65 689 534 225 77 762 858 40 679 59 385 441 347 704 12 496 528 258 788 720 277 420 658 22 820 833 579 129 29 271 23...

output:

23 34 2 2 2 5 1 2 1 1 1 1 1 1 2 1 1 1 4 1 1 1 1 1 6 1 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 3 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 5 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 ...

result:

ok 1000 numbers

Test #112:

score: 0
Accepted
time: 1ms
memory: 3624kb

input:

960 1000
550 770 783 641 684 942 80 344 158 165 579 272 432 382 498 767 937 935 645 134 853 53 557 26 2 70 167 443 777 561 859 452 136 849 25 754 424 351 75 678 756 539 556 85 437 94 843 542 620 400 146 251 940 211 427 566 137 262 609 43 923 936 526 639 4 196 832 768 627 613 879 554 461 325 619 954 ...

output:

2 1 1 1 2 7 5 1 1 1 1 1 1 1 1 1 2 1 7 1 1 1 2 1 1 1 4 1 2 1 2 1 1 1 1 1 1 1 1 1 1 1 2 1 2 1 1 7 1 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 4 1 1 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 22 1 1 1 1 1 1 1 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1...

result:

ok 1000 numbers

Test #113:

score: 0
Accepted
time: 1ms
memory: 3604kb

input:

960 1000
914 363 345 258 737 524 562 21 549 416 557 744 469 215 248 1 838 61 152 645 434 635 814 860 837 414 613 746 544 846 187 253 410 801 317 715 607 676 457 677 897 184 891 320 290 548 423 158 140 426 185 902 475 162 754 892 927 326 300 247 64 375 753 887 769 275 154 372 16 807 95 44 625 574 314...

output:

116 3 86 1 5 7 1 1 1 1 1 1 1 1 1 1 1 1 1 7 1 7 1 1 1 1 8 1 1 1 1 1 1 1 1 1 1 1 1 1 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 3 1 1 1 1 1 1 1 1 3 1 1 1 1 1 1 1 3 1 1 1 1 1 1 1 1 1 1 1 1 1 10 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 3 1 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 ...

result:

ok 1000 numbers

Test #114:

score: 0
Accepted
time: 1ms
memory: 3624kb

input:

900 1000
700 400 848 72 642 865 799 606 445 14 397 695 146 772 364 850 356 4 598 499 346 174 160 126 742 83 148 134 205 645 101 639 560 271 760 284 369 575 886 314 98 27 664 224 254 864 96 118 371 553 194 661 304 491 164 727 833 5 824 321 128 563 683 462 483 801 240 743 534 785 429 450 610 763 758 3...

output:

3 3 3 1 1 1 1 3 3 1 26 1 1 1 1 7 1 1 1 1 1 1 1 1 3 1 1 1 1 1 1 1 26 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 5 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 ...

result:

ok 1000 numbers

Test #115:

score: 0
Accepted
time: 1ms
memory: 3524kb

input:

900 1000
658 498 476 19 345 873 63 539 177 93 597 647 38 872 49 615 161 777 464 411 843 558 245 289 82 802 616 894 336 276 645 604 796 807 196 856 743 45 98 191 427 242 628 869 820 344 655 502 278 310 308 555 4 791 366 493 160 696 312 58 5 433 475 422 770 205 767 862 292 741 390 755 399 708 634 875 ...

output:

2 1 1 2 2 2 5 2 2 1 16 2 5 1 1 1 1 1 1 1 3 1 2 2 2 1 1 1 1 1 1 1 2 1 1 1 1 1 1 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 1 1 1 1 1 1 1 1 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1...

result:

ok 1000 numbers

Test #116:

score: 0
Accepted
time: 1ms
memory: 3524kb

input:

960 1000
893 943 479 357 493 173 164 692 612 850 39 469 537 155 736 662 396 709 440 127 498 334 451 1 599 773 454 95 388 556 722 468 529 176 530 90 235 914 307 495 324 632 903 845 345 672 434 564 704 559 359 10 900 389 884 477 650 146 80 888 93 330 380 86 286 586 265 150 348 5 232 168 461 116 936 79...

output:

2 13 2 2 2 1 1 2 1 2 2 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 5...

result:

ok 1000 numbers

Test #117:

score: 0
Accepted
time: 1ms
memory: 3724kb

input:

936 1000
721 861 95 54 857 158 484 32 286 348 481 360 367 298 807 531 823 742 145 806 557 182 647 240 749 655 303 491 191 374 933 505 646 841 91 7 731 860 609 573 805 244 216 362 112 311 411 170 847 672 803 280 659 344 764 489 711 371 912 185 700 874 657 814 342 233 570 414 13 287 40 879 918 552 462...

output:

1 1 1 3 3 2 3 1 1 2 1 1 2 1 1 1 6 2 1 1 1 1 1 1 1 1 1 1 1 3 1 3 1 1 1 1 1 1 1 1 1 1 1 1 13 1 1 13 1 1 1 1 1 1 1 1 1 1 1 1 4 1 1 3 1 1 1 1 1 1 1 1 3 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 5 1 1 1 1 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 4 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 ...

result:

ok 1000 numbers

Test #118:

score: 0
Accepted
time: 1ms
memory: 3724kb

input:

960 1000
870 33 685 82 746 49 676 830 770 642 342 431 744 330 929 356 165 41 186 806 957 156 210 590 688 605 12 410 692 203 578 358 359 29 933 283 666 114 649 606 407 214 137 813 854 307 737 547 204 530 579 734 193 684 367 448 944 719 823 260 718 281 654 219 341 817 901 655 275 395 434 940 218 501 7...

output:

6 6 2 1 1 1 1 2 1 1 1 1 1 1 1 1 3 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 6 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 ...

result:

ok 1000 numbers

Test #119:

score: 0
Accepted
time: 1ms
memory: 3768kb

input:

960 1000
667 220 839 68 951 520 498 771 612 470 56 351 824 738 948 188 62 340 206 840 670 275 882 54 540 816 38 101 111 416 803 11 321 425 258 922 87 489 913 635 386 184 199 137 399 254 269 82 511 630 289 873 859 758 384 417 156 4 145 677 872 98 327 593 772 147 558 14 576 16 128 257 43 941 194 792 9...

output:

153 1 6 1 1 2 1 2 1 1 1 1 1 1 2 2 2 2 1 1 1 1 1 1 1 1 1 2 1 1 1 1 1 1 1 1 1 1 1 1 1 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 ...

result:

ok 1000 numbers

Test #120:

score: 0
Accepted
time: 1ms
memory: 3584kb

input:

972 1000
604 692 243 728 779 663 120 193 48 651 697 306 659 477 503 784 804 89 350 180 463 823 893 917 895 903 909 301 533 71 846 376 811 767 94 883 574 564 507 34 928 500 752 680 709 849 844 592 812 192 128 923 160 834 208 961 821 148 112 364 643 861 536 227 336 530 261 84 32 610 24 753 69 661 855 ...

output:

9 3 3 3 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 17 1 1 1 1 1 1 1 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 6 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1...

result:

ok 1000 numbers

Test #121:

score: 0
Accepted
time: 1ms
memory: 3728kb

input:

960 1000
104 562 138 260 783 924 885 542 292 484 803 198 559 801 925 802 48 217 872 524 360 406 90 777 483 861 320 782 576 560 299 723 949 317 170 372 670 194 13 818 124 529 45 607 253 350 837 666 519 881 275 564 725 102 910 533 618 838 383 183 44 743 83 831 832 486 824 392 539 394 156 770 580 6 821...

output:

1 1 1 1 1 13 7 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 7 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1...

result:

ok 1000 numbers

Test #122:

score: 0
Accepted
time: 1ms
memory: 3532kb

input:

900 1000
740 642 275 678 486 886 266 815 515 695 595 723 492 496 587 340 291 63 30 369 257 28 702 736 447 827 238 440 555 700 883 825 779 521 685 865 891 117 593 5 728 701 864 252 681 801 84 451 206 617 691 70 103 577 785 245 320 882 55 889 510 805 98 250 293 803 879 313 97 167 458 207 876 414 13 1 ...

output:

8 1 1 1 1 3 1 3 1 3 1 1 1 1 3 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 3 1 1 1 1 1 16 1 1 1 1 1 4 1 1 1 1 1 1 1 1 1 1 1 1 1 1 9 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1...

result:

ok 1000 numbers

Test #123:

score: 0
Accepted
time: 1ms
memory: 3608kb

input:

990 1000
132 405 123 343 103 930 785 718 721 724 698 260 564 229 64 395 710 810 597 627 244 215 348 19 115 892 969 945 442 292 919 978 976 105 759 421 814 72 278 23 93 973 616 382 774 231 656 763 328 517 175 658 956 36 56 497 455 674 264 646 756 867 476 734 563 769 171 194 135 165 266 222 686 161 37...

output:

1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 7 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 ...

result:

ok 1000 numbers

Test #124:

score: 0
Accepted
time: 1ms
memory: 3528kb

input:

900 1000
880 837 178 4 297 211 460 506 649 285 721 881 690 853 288 104 56 44 134 552 114 795 811 683 107 883 39 615 355 789 522 606 679 149 539 41 45 93 263 103 467 34 588 439 893 803 638 820 459 760 352 874 876 321 430 628 54 221 666 94 57 675 625 575 567 427 225 823 573 158 899 735 2 543 550 631 7...

output:

1 2 1 2 2 1 1 1 1 1 3 2 1 1 1 1 1 1 2 1 1 1 3 1 1 1 1 1 1 1 1 1 1 1 1 2 1 1 1 1 1 1 1 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 1 1 1 1 1 1 1 1 1 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 ...

result:

ok 1000 numbers

Test #125:

score: 0
Accepted
time: 1ms
memory: 3604kb

input:

910 1000
180 14 62 532 158 230 157 223 832 848 187 291 868 385 261 696 469 569 658 762 466 417 531 479 145 780 402 733 736 760 567 715 894 895 272 769 862 650 99 836 521 831 191 639 468 5 908 428 129 861 510 465 751 478 634 242 528 704 826 550 744 10 70 579 447 703 653 122 352 309 353 697 234 390 61...

output:

4 1 1 1 1 1 4 1 1 2 1 2 1 1 1 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 1 1 ...

result:

ok 1000 numbers

Test #126:

score: 0
Accepted
time: 1ms
memory: 3796kb

input:

960 1000
556 600 654 317 318 432 642 139 284 709 613 226 640 243 308 395 783 843 625 902 536 23 208 839 758 791 691 497 1 701 805 836 186 430 724 344 775 682 167 713 623 830 24 113 272 924 930 504 54 18 428 948 297 35 491 727 745 746 892 73 710 221 515 937 187 331 210 895 610 43 472 939 171 142 486 ...

output:

54 13 2 1 1 1 79 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 22 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 3 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 3 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 ...

result:

ok 1000 numbers

Test #127:

score: 0
Accepted
time: 1ms
memory: 3564kb

input:

840 1000
596 835 215 424 497 122 150 707 468 515 510 756 456 697 250 543 67 151 443 49 203 199 572 829 644 228 87 179 268 791 99 739 788 592 579 314 351 831 743 422 672 640 18 237 64 111 724 213 542 481 340 350 717 455 523 251 737 284 601 121 46 368 83 59 790 317 108 768 262 725 38 577 277 568 741 2...

output:

1 6 14 1 18 1 27 3 1 1 1 1 1 3 3 1 1 1 3 1 3 1 3 1 1 1 1 1 3 1 1 1 1 1 1 3 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1...

result:

ok 1000 numbers

Test #128:

score: 0
Accepted
time: 0ms
memory: 3556kb

input:

840 1000
752 450 314 438 372 182 770 768 74 448 507 489 693 116 93 358 669 30 54 43 825 346 730 498 686 261 606 296 384 238 69 330 52 176 158 455 275 339 350 300 213 456 407 719 203 404 204 667 746 199 420 154 187 728 429 643 193 491 605 567 125 628 34 622 380 570 815 796 437 421 461 319 532 471 35 ...

output:

4 3 3 1 3 14 1 1 1 1 8 1 2 1 1 1 1 1 1 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 3 3 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 1 1 1...

result:

ok 1000 numbers

Test #129:

score: 0
Accepted
time: 0ms
memory: 3520kb

input:

840 1000
53 840 198 692 163 466 416 170 522 228 424 128 711 648 575 219 695 348 540 565 454 57 67 337 153 654 625 451 180 836 160 106 148 651 773 158 737 76 322 516 135 738 703 704 238 96 221 267 787 448 559 111 794 670 362 732 450 65 97 431 18 505 723 712 286 26 557 600 241 436 220 137 776 708 486 ...

output:

53 1 1 6 1 1 2 1 1 1 2 1 1 1 1 1 1 1 2 1 1 3 1 2 1 1 1 1 1 1 2 3 1 1 3 1 1 5 1 1 1 1 1 1 6 1 1 1 1 1 2 1 1 5 1 1 1 3 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1...

result:

ok 1000 numbers

Test #130:

score: 0
Accepted
time: 0ms
memory: 3720kb

input:

840 1000
547 335 222 304 310 493 349 553 634 399 328 254 740 583 178 529 505 351 361 794 129 173 772 517 226 545 317 407 381 69 232 544 32 67 259 744 473 654 125 211 196 468 266 750 245 719 397 236 410 391 633 582 723 555 749 516 753 85 207 365 380 369 763 696 510 34 224 124 78 171 334 638 590 385 1...

output:

258 1 6 4 7 1 104 1 1 3 1 1 1 2 1 1 1 1 3 1 1 1 1 2 1 1 1 1 1 1 1 3 1 1 2 1 1 1 1 1 1 1 1 1 1 1 3 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 ...

result:

ok 1000 numbers

Test #131:

score: 0
Accepted
time: 1ms
memory: 3488kb

input:

840 1000
363 271 153 448 567 237 118 837 154 501 818 514 576 243 469 464 710 230 820 81 147 253 102 181 761 344 84 300 733 285 462 57 288 758 24 422 17 548 633 726 185 218 366 551 433 675 93 205 135 654 373 372 25 581 483 303 652 751 554 600 283 262 168 406 529 715 682 465 172 724 516 618 412 198 45...

output:

1 1 1 3 2 1 1 1 1 27 1 1 1 1 1 1 1 4 1 4 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 1 1 1 1 1 1 1 1 1 1 1 4 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 4 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 1 1 1 1 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1...

result:

ok 1000 numbers

Test #132:

score: 0
Accepted
time: 1ms
memory: 3524kb

input:

990 1000
496 882 522 492 384 108 434 106 728 139 732 215 153 798 472 520 364 275 57 906 23 726 889 223 359 188 217 289 831 399 888 94 558 330 671 567 409 371 246 400 640 596 797 648 52 933 247 372 515 447 165 5 432 930 2 245 838 30 658 118 617 966 805 945 396 849 960 915 926 436 749 147 191 846 536 ...

output:

1 1 3 2 2 1 1 1 2 2 2 1 1 3 3 2 1 2 1 1 1 2 1 2 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 1 1 1 1 1 1 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 ...

result:

ok 1000 numbers

Subtask #5:

score: 16
Accepted

Test #133:

score: 16
Accepted
time: 19ms
memory: 3896kb

input:

2048 150000
1369 1292 383 872 441 332 63 1307 1335 1731 24 261 1699 1215 1818 1136 560 358 211 1165 723 1514 1670 241 598 474 317 1182 658 1596 1352 1663 406 1326 1461 678 366 768 581 216 50 822 1746 1860 1403 1052 370 1413 1440 1559 1029 1575 512 713 377 821 1425 1868 1944 338 459 322 1799 96 874 6...

output:

1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 ...

result:

ok 150000 numbers

Test #134:

score: 0
Accepted
time: 21ms
memory: 3968kb

input:

16384 150000
15392 9505 2237 11880 261 8536 772 5292 3644 4865 2000 7364 1516 4607 14501 5389 16197 3991 14951 4939 2338 3782 4915 5825 13455 2362 11280 7857 15066 9450 12053 8868 9275 2344 8631 9563 16118 5625 8623 14061 1125 12524 10163 6515 5378 13703 3534 3566 13274 11397 13919 14518 3063 15879 ...

output:

1 1 1 1 1 3 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 34 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1...

result:

ok 150000 numbers

Test #135:

score: 0
Accepted
time: 16ms
memory: 4452kb

input:

65536 150000
39172 40521 55161 2079 61793 52678 23134 29303 55470 16330 65147 26352 36558 7807 24815 30139 39596 59302 45596 16523 9990 35180 19880 65162 59489 29183 62338 50093 11974 35574 44676 11218 6467 50457 13262 14446 45643 61964 24472 7602 56879 64476 61295 44984 9876 16217 8802 50800 44296 ...

output:

1 1 1 1 2 1 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 ...

result:

ok 150000 numbers

Test #136:

score: 0
Accepted
time: 11ms
memory: 3524kb

input:

4 150000
1 3 4 2
2 3 3 3 1 3 3 2 2 2 2 2 3 3 3 3 2 1 2 3 3 1 3 3 2 2 3 3 2 2 3 3 3 1 2 2 1 2 2 1 1 2 3 1 3 3 1 2 2 1 2 2 1 3 3 2 1 2 1 3 2 1 2 1 2 1 2 2 2 3 3 1 1 1 1 1 3 3 1 3 1 1 3 3 3 2 3 3 3 2 1 1 2 3 1 3 2 2 2 2 1 1 2 3 3 3 2 3 1 2 2 3 2 3 1 2 2 1 2 2 1 1 1 3 3 3 2 3 1 2 2 2 3 3 3 3 2 2 1 1 2 2...

output:

1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 ...

result:

ok 150000 numbers

Test #137:

score: 0
Accepted
time: 11ms
memory: 3592kb

input:

16 150000
12 10 2 8 15 9 13 3 1 5 14 11 7 4 16 6
6 1 7 14 4 4 15 5 1 9 3 12 14 11 3 14 7 7 5 11 2 1 10 6 7 12 10 15 5 8 3 2 5 15 12 4 14 13 7 7 10 11 10 4 11 4 10 9 15 1 8 12 2 2 8 3 2 1 7 6 10 8 2 1 10 12 14 9 8 2 14 6 9 9 13 2 14 14 10 2 10 2 12 2 1 1 8 11 12 11 1 3 5 12 2 3 5 6 2 3 12 3 2 11 1 11...

output:

1 1 1 1 3 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 ...

result:

ok 150000 numbers

Test #138:

score: 0
Accepted
time: 12ms
memory: 3708kb

input:

128 150000
16 9 82 20 95 84 123 46 40 55 114 63 58 50 21 89 96 34 44 6 74 27 57 85 99 94 43 101 30 66 15 37 18 100 48 67 72 113 23 83 29 13 127 5 112 106 47 51 126 86 79 2 125 115 120 91 33 104 14 73 121 111 65 60 109 62 7 64 80 90 61 19 87 38 68 78 117 39 49 10 118 52 41 22 76 98 54 97 56 59 45 1 7...

output:

1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 ...

result:

ok 150000 numbers

Test #139:

score: 0
Accepted
time: 17ms
memory: 3552kb

input:

512 150000
170 114 40 247 231 492 282 218 112 35 145 143 483 352 327 314 374 129 93 436 219 285 16 415 296 287 509 494 209 30 62 148 350 447 297 104 27 23 320 195 324 173 235 332 78 168 234 177 371 454 207 132 36 18 484 382 500 358 38 380 342 291 322 31 244 210 119 504 68 105 172 438 205 445 102 140...

output:

3 5 8 1 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 3 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 ...

result:

ok 150000 numbers

Test #140:

score: 0
Accepted
time: 19ms
memory: 3820kb

input:

4096 150000
673 2885 655 1309 2040 1366 2639 1350 3651 942 233 604 3322 3572 3105 3291 3350 3389 1992 2923 3698 2015 3978 1444 2113 2075 2722 2087 1795 3831 730 3599 3568 3777 1127 1884 3522 2372 886 559 2209 489 2504 2717 2499 3269 3110 1504 2376 129 3060 1312 3684 754 2508 1728 2424 529 221 268 15...

output:

1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 3 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 ...

result:

ok 150000 numbers

Test #141:

score: 0
Accepted
time: 22ms
memory: 3828kb

input:

16384 150000
5928 7978 6744 4264 2019 6602 16367 8773 11117 5315 2009 15212 11457 9863 6833 14080 7123 797 1471 1175 14378 6491 1501 5675 1348 10563 3933 14218 2707 6655 6720 3352 1116 5216 1616 15002 5530 12664 8835 9250 8547 6358 10140 2079 3559 5816 6072 3937 60 15040 16381 12945 15522 2807 9321 ...

output:

1 1 4 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 1 1 1 1 1 1 1 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 ...

result:

ok 150000 numbers

Test #142:

score: 0
Accepted
time: 19ms
memory: 3796kb

input:

4096 150000
347 2000 3048 2834 3118 2118 3806 1748 46 2242 1844 3312 2666 393 4051 1341 2207 500 3766 3959 1963 1803 2027 3908 105 703 48 2748 3888 3371 465 3447 271 2774 2105 3999 504 2547 1734 1651 3758 2964 281 461 985 1069 542 1591 2513 240 3194 299 3708 2364 2165 2923 1492 1715 3264 1491 331 27...

output:

1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 40 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 4 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1...

result:

ok 150000 numbers

Test #143:

score: 0
Accepted
time: 30ms
memory: 4180kb

input:

32768 150000
180 25655 153 18748 21296 6936 1207 6049 4862 26292 28888 17387 17000 20618 29372 16453 27651 32255 11630 7815 25908 17411 3309 2884 6470 6552 1570 19722 116 21730 7614 15159 20436 3778 14093 26572 12221 6573 26635 8751 18448 6918 22469 32514 15499 20495 26138 18120 26820 28756 5481 237...

output:

2 2 1 1 1 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 14 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 8 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 9 1 1 1 1 1 1 1 1 1 9 1 1 1 1 1 1...

result:

ok 150000 numbers

Test #144:

score: 0
Accepted
time: 26ms
memory: 5120kb

input:

131072 150000
28650 64577 35026 95567 110056 7576 17094 69492 86172 74297 23929 49388 77199 107604 113331 47858 58782 72567 94135 100051 109070 74365 16166 67409 81725 117684 71312 115875 82501 67164 67947 48765 58231 44726 2550 90415 100274 94724 54200 40305 86754 105685 104082 120734 2577 28057 12...

output:

1 1 1 1 5 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 ...

result:

ok 150000 numbers

Test #145:

score: 0
Accepted
time: 9ms
memory: 3616kb

input:

8 150000
2 7 6 4 3 1 8 5
4 4 6 3 2 2 5 5 2 6 2 2 1 2 6 3 6 3 5 4 3 1 1 4 3 5 3 5 2 7 7 7 3 6 5 5 7 3 1 2 4 4 6 3 5 4 2 7 6 2 7 1 6 3 7 3 1 5 2 3 2 5 2 7 6 1 7 1 4 1 5 4 2 1 5 1 5 7 5 5 6 2 5 6 4 2 1 4 6 3 2 6 4 3 3 4 1 4 1 1 7 1 2 1 7 7 2 6 3 5 4 5 1 5 2 6 7 2 4 5 5 5 5 2 4 4 3 7 3 5 4 3 3 5 4 7 6 6...

output:

2 2 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 ...

result:

ok 150000 numbers

Test #146:

score: 0
Accepted
time: 15ms
memory: 4012kb

input:

32 150000
10 20 17 15 9 19 5 12 32 4 8 11 31 24 27 2 13 7 23 25 6 30 1 21 22 3 18 16 28 14 26 29
27 13 31 7 5 24 15 21 10 7 23 7 19 24 7 29 21 31 5 18 26 19 24 6 28 5 24 24 1 23 30 12 8 11 21 20 14 7 24 26 3 17 16 24 21 26 21 11 10 20 23 16 15 18 2 29 12 19 10 30 22 8 17 23 26 15 6 26 4 5 10 14 6 22...

output:

1 10 1 1 1 1 1 1 1 2 1 1 1 1 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1...

result:

ok 150000 numbers

Test #147:

score: 0
Accepted
time: 16ms
memory: 3544kb

input:

128 150000
78 94 86 31 68 43 36 118 52 3 24 5 70 48 74 121 63 102 59 22 99 28 30 45 25 44 92 15 93 23 12 128 27 53 120 42 19 47 112 18 11 81 66 77 29 41 56 89 69 110 117 13 64 75 124 101 37 114 60 103 20 82 100 97 83 125 80 26 115 72 87 8 109 106 95 107 38 126 123 79 21 90 61 105 65 71 54 127 50 49 ...

output:

1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 8 1 1 1 1 1 1 1 1 1 8 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 ...

result:

ok 150000 numbers

Test #148:

score: 0
Accepted
time: 17ms
memory: 3896kb

input:

1024 150000
530 702 394 471 529 27 526 262 49 298 85 936 277 180 601 787 570 989 210 353 812 193 663 750 793 718 138 339 218 785 649 1006 696 87 805 480 203 424 1019 38 188 800 712 522 92 798 504 232 688 263 944 676 403 844 874 65 35 151 609 75 802 481 150 335 264 42 178 449 498 179 654 963 343 604 ...

output:

1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 3 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 ...

result:

ok 150000 numbers

Test #149:

score: 0
Accepted
time: 19ms
memory: 3920kb

input:

4096 150000
220 1162 1666 2911 3195 3404 3954 1224 771 3711 2687 1363 2404 3790 747 2042 1892 1950 3958 3139 1922 3733 2259 161 3257 3355 2111 2385 1762 3155 2485 1785 3132 1909 3697 3232 3660 3718 3753 2618 213 3514 3604 3567 3032 3548 964 3135 1939 3061 3400 2446 1141 3879 3240 634 1039 465 1073 3...

output:

3 3 1 1 1 1 1 3 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 ...

result:

ok 150000 numbers

Test #150:

score: 0
Accepted
time: 24ms
memory: 4144kb

input:

32768 150000
3865 23077 8478 6298 21658 5965 26341 4066 23334 20519 24798 4244 11212 4411 20636 11863 21407 128 16225 10541 9186 14703 18123 10327 25414 6393 1223 506 31818 26171 25400 19385 8393 28207 5883 22360 6676 8197 2357 9145 20761 16050 532 25647 17523 22584 14404 26879 23146 16839 3828 2710...

output:

1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 ...

result:

ok 150000 numbers

Test #151:

score: 0
Accepted
time: 30ms
memory: 5200kb

input:

131072 150000
66184 1735 91260 66813 80475 130734 9033 27245 60063 80870 75685 24536 128749 33079 97781 84864 100261 70053 72442 25473 28479 104124 89629 41202 69825 78835 18230 52138 19366 36485 115029 76271 4138 103164 19394 127544 56544 54857 36807 7317 58376 11877 58937 32792 109932 72447 18392 ...

output:

10 1 1 1 1 1 1 1 4 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 3 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1...

result:

ok 150000 numbers

Test #152:

score: 0
Accepted
time: 11ms
memory: 3616kb

input:

16 150000
15 16 2 7 13 9 5 10 4 14 12 6 1 8 11 3
4 10 9 10 10 8 7 11 8 15 3 7 10 9 9 6 11 14 5 10 13 7 5 14 15 15 3 12 8 2 10 10 6 3 1 15 7 15 12 6 6 14 6 4 4 5 3 1 4 14 13 6 15 14 9 7 13 15 15 14 8 7 14 4 3 15 8 15 12 10 10 1 7 12 11 2 9 13 13 14 12 8 4 4 12 5 7 15 13 3 7 1 9 13 11 6 13 5 9 14 8 11...

output:

1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 ...

result:

ok 150000 numbers

Test #153:

score: 0
Accepted
time: 16ms
memory: 3704kb

input:

128 150000
88 10 40 47 91 84 92 14 100 113 89 75 112 5 85 30 101 96 26 126 93 68 111 87 86 15 13 18 81 83 125 90 32 12 27 76 1 98 117 33 60 36 16 37 67 109 43 65 63 95 9 105 80 70 72 29 79 97 23 77 120 108 4 118 38 53 99 20 119 54 102 2 28 78 24 45 74 3 6 123 62 59 51 7 41 52 22 8 128 82 46 48 35 50...

output:

1 1 1 1 1 1 1 1 1 1 3 1 1 1 1 3 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 ...

result:

ok 150000 numbers

Test #154:

score: 0
Accepted
time: 17ms
memory: 4012kb

input:

512 150000
142 341 495 246 347 424 421 291 224 32 205 241 265 499 162 132 342 75 125 194 160 159 277 428 301 427 38 252 248 62 297 103 383 479 85 24 82 143 348 345 53 365 117 74 278 381 272 54 94 409 156 509 324 471 191 413 416 104 339 281 327 408 386 68 455 411 121 35 18 263 393 123 113 396 463 451...

output:

1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 ...

result:

ok 150000 numbers

Test #155:

score: 0
Accepted
time: 19ms
memory: 3796kb

input:

4096 150000
3480 3542 3809 3184 1161 1896 3110 3549 1357 65 1597 780 3078 2481 3427 1380 2864 640 1160 2467 3464 3304 2924 3625 3784 2722 1727 1052 62 2323 1626 3639 1813 4000 2326 3140 1610 1853 1305 2055 2282 3049 962 3193 3215 2799 55 1510 3459 3642 1013 3651 2667 2528 94 3296 3536 1535 1961 3505...

output:

1 1 5 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 ...

result:

ok 150000 numbers

Test #156:

score: 0
Accepted
time: 21ms
memory: 3784kb

input:

16384 150000
14845 4797 1830 8141 3253 13274 3989 15207 16382 2838 1638 4194 1535 9860 6240 12962 14671 7019 11276 13917 13308 2188 6413 1054 16090 6930 13410 8410 3267 2640 13030 1615 8512 6484 349 5876 4485 11422 375 6286 3150 14552 5118 2394 1118 1979 14964 1608 9738 19 2875 7741 5541 12631 12146...

output:

1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 ...

result:

ok 150000 numbers

Test #157:

score: 0
Accepted
time: 30ms
memory: 5160kb

input:

131072 150000
55407 87199 46711 14567 65177 104611 56051 66597 39158 17727 63974 58911 42708 16262 58564 54677 48895 32669 89129 33664 122305 84708 98630 112153 109097 41823 42620 31656 14123 55854 95097 111707 68588 16516 28336 80023 12042 56260 75214 2733 122240 34733 8573 67119 39562 33267 123190...

output:

6 6 6 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 ...

result:

ok 150000 numbers

Test #158:

score: 0
Accepted
time: 11ms
memory: 3520kb

input:

4 150000
2 3 1 4
1 2 3 2 1 1 2 1 3 2 2 2 1 2 1 3 2 1 3 1 1 1 3 1 3 1 1 2 1 1 1 2 3 1 2 3 1 2 1 3 2 1 3 1 2 3 2 1 2 1 3 2 3 3 1 1 2 3 1 3 2 3 3 1 3 3 3 2 2 3 1 1 3 1 1 3 1 1 2 2 2 2 2 2 2 2 1 3 1 2 3 2 3 1 2 2 2 3 1 1 1 1 2 2 3 2 2 3 2 2 1 1 3 3 2 1 2 2 3 1 1 1 1 3 3 2 1 3 2 3 3 3 3 1 1 1 2 1 1 2 2 2...

output:

1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 ...

result:

ok 150000 numbers

Test #159:

score: 0
Accepted
time: 14ms
memory: 3584kb

input:

16 150000
10 1 7 14 13 15 5 9 3 4 6 2 12 16 11 8
12 14 15 14 6 7 13 2 12 3 9 10 9 10 8 6 4 3 2 3 3 7 1 8 9 4 4 8 11 4 2 12 9 12 10 10 4 3 15 8 4 10 11 14 14 14 11 3 2 1 7 3 15 15 6 4 4 13 15 5 10 9 6 4 1 8 15 2 8 2 13 12 11 8 5 11 11 2 8 6 10 9 14 11 15 4 4 14 4 10 3 10 3 11 9 10 2 10 13 1 14 15 7 1...

output:

3 3 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 ...

result:

ok 150000 numbers

Test #160:

score: 0
Accepted
time: 16ms
memory: 3532kb

input:

128 150000
34 104 20 71 67 19 33 59 42 119 74 31 95 108 52 63 12 21 126 123 60 46 2 81 85 40 48 112 102 23 58 30 105 57 100 66 36 127 91 55 109 29 114 41 13 88 44 61 86 15 111 5 122 80 128 84 18 77 24 6 64 120 121 92 11 38 90 82 7 116 70 97 87 45 75 16 103 83 106 10 50 115 98 107 4 78 8 26 110 54 11...

output:

1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 ...

result:

ok 150000 numbers

Test #161:

score: 0
Accepted
time: 13ms
memory: 3716kb

input:

512 150000
47 368 171 2 416 455 22 401 134 364 505 441 269 303 438 267 23 474 231 30 64 482 316 8 270 198 249 365 122 305 155 246 114 95 190 105 451 417 94 191 428 196 317 389 247 233 19 459 200 261 164 473 497 379 291 10 38 96 427 175 429 462 132 185 182 211 36 319 314 461 430 286 471 84 352 494 10...

output:

3 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 3 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 ...

result:

ok 150000 numbers

Test #162:

score: 0
Accepted
time: 15ms
memory: 3516kb

input:

32 150000
23 30 22 13 25 2 9 3 6 20 26 32 15 4 31 5 12 27 11 1 28 19 7 10 14 18 8 24 21 16 17 29
22 15 22 21 10 19 30 29 6 25 25 17 25 10 31 2 14 3 23 27 1 30 11 16 18 26 1 13 29 6 18 27 11 15 8 4 15 16 18 3 30 15 23 25 1 25 11 25 12 29 27 28 6 25 13 24 4 29 14 16 22 26 4 19 23 2 31 3 31 12 15 24 10...

output:

6 1 1 2 1 1 1 1 1 1 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 ...

result:

ok 150000 numbers

Subtask #6:

score: 25
Accepted

Dependency #4:

100%
Accepted

Test #163:

score: 25
Accepted
time: 39ms
memory: 5372kb

input:

99792 100000
51390 66556 871 78039 87466 23484 32791 56052 58555 54489 14533 19663 20400 35462 29954 55337 32979 98923 59257 5167 95156 42178 51601 40124 13680 89665 30261 89599 54939 51288 14394 47009 35682 86540 34768 16039 79768 34931 99212 99093 35423 18137 6661 59765 23705 69585 82465 36865 544...

output:

1 42 1 1 1 5 1 1 1 1 1 1 1 1 1 1 2 1 1 1 1 1 1 1 1 2 1 1 1 1 1 1 1 1 1 1 1 25 1 9 1 1 1 7 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 4 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 ...

result:

ok 100000 numbers

Test #164:

score: 0
Accepted
time: 46ms
memory: 5536kb

input:

98280 100000
37414 59349 37874 14582 50966 54116 85426 35153 86371 87638 21979 52367 41118 69552 23166 26122 19437 50699 62577 67302 67606 11607 76856 89367 83124 65522 96404 7626 27279 31272 13358 67981 67736 31536 25003 58967 15854 30944 60123 69601 79228 21559 51095 92428 71038 86450 83486 63843 ...

output:

1 1 175 1 1 1 1 1 4 1 1 1 1 1 1 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 4 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 3 1 1 2 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 2 1 1 5 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 5 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 5 1 1 1 1 1 1 1 1 1 1 ...

result:

ok 100000 numbers

Test #165:

score: 0
Accepted
time: 42ms
memory: 5236kb

input:

94500 100000
76970 54579 40859 55281 75646 64700 75117 50670 15612 30628 46701 27551 72777 44859 83149 39320 49214 27014 74299 39973 79988 26018 35182 79420 13240 43153 43628 17505 33225 50061 51668 91809 23940 3682 63195 20624 75773 60481 63225 80789 83005 37316 50934 75537 4287 63062 38130 45374 6...

output:

1 2 2 2 1 1 1 1 1 1 1 1 8 1 1 1 1 1 1 2 1 1 1 1 1 1 1 1 1 1 1 1 1 5 1 1 1 1 1 1 1 1 1 1 3 1 1 1 1 1 1 1 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 11 1 1 1 1 1 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 18 3 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 29 1 1 1 1 1 1 1 1 1 1 1 1...

result:

ok 100000 numbers

Test #166:

score: 0
Accepted
time: 38ms
memory: 5192kb

input:

92820 100000
71218 92688 62744 11850 81490 27646 68895 81094 26354 34391 56263 68954 31542 59834 64106 19187 25616 40034 44164 87918 43415 23175 18633 86211 33016 8080 43371 9812 20547 68544 73839 15962 1442 10273 86008 56489 20247 59625 72658 20981 61235 46483 34817 43219 13254 160 17577 13151 8624...

output:

12 18 1 1 5 5 1 1 1 1 1 1 1 1 5 1 5 1 1 1 1 1 113 1 1 1 1 3 3 1 1 3 13 2 1 1 1 69 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 1 1 1 1 1 1 1 4 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 7 1 1 1 1 1 1 1 1 1 1 1 ...

result:

ok 100000 numbers

Test #167:

score: 0
Accepted
time: 50ms
memory: 5556kb

input:

98280 100000
45096 75106 10219 20640 90850 56239 14929 77563 91624 35709 6743 5102 37542 92007 29510 33853 45829 94247 36979 71517 918 17063 92960 25869 65376 5694 13666 13862 66902 46636 48490 28861 77534 34587 52837 92895 27985 93334 13854 35014 32779 58688 18806 93943 14199 80178 5497 47151 45951...

output:

13 1 4 1 1 1 1 13 1 1 1 1 43 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 4 1 1 1 1 12 1 170 1 1 1 1 1 18 1 1 1 1 1 12 1 5 1 14 1 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 7 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 9 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1...

result:

ok 100000 numbers

Test #168:

score: 0
Accepted
time: 42ms
memory: 5340kb

input:

94500 100000
64070 71598 55918 30427 64068 47721 14090 37281 79269 31271 49686 4463 238 16692 88387 32771 76828 78568 27140 76599 88934 70009 6452 75662 8137 20649 54789 52299 14600 50275 48702 54399 67705 7098 42531 68949 54578 38909 26174 60042 63365 4851 21216 8525 88682 8832 53590 49938 24859 57...

output:

1 1 5 94 2 1 2 1 1 1 6 1 5 1 1 1 1 1 1 1 1 1 1 1 2 1 1 1 2 1 1 2 1 1 2 1 1 1 1 1 1 1 1 1 1 2 1 3 1 1 1 1 2 1 1 1 1 1 1 1 1 1 1 2 1 1 1 1 1 1 1 1 1 1 1 1 62 1 1 1 1 1 1 11 1 1 1 1 1 1 1 1 1 1 1 2 1 1 1 1 1 1 2 1 2 1 1 1 1 1 1 1 1 1 1 1 2 1 1 1 1 1 2 1 1 1 1 1 1 1 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1...

result:

ok 100000 numbers

Test #169:

score: 0
Accepted
time: 41ms
memory: 5364kb

input:

93240 100000
83286 35321 65804 48961 36448 60538 16121 65539 21718 49553 39243 63072 29886 36879 56049 37853 40585 13025 89915 16865 22760 50520 70842 62951 26689 77816 89075 88842 67409 1723 75081 32770 67347 13480 14987 84278 42700 56138 82235 83765 86116 26851 52622 29472 84053 46591 73567 38204 ...

output:

2 1 1 1 1 3 1 3 2 3 1 1 1 2 1 2 1 1 1 1 1 1 1 2 1 1 2 1 1 1 2 1 1 1 1 2 1 1 1 1 1 1 1 1 1 1 1 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 1 1 1 2 1 1 1 1 1 1 1 1 1 1 1 1 1 2 1 1 2 1 1 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 20 1 1 1 1 1 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 6 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1...

result:

ok 100000 numbers

Test #170:

score: 0
Accepted
time: 43ms
memory: 5432kb

input:

99792 100000
75921 2708 29267 78189 97839 66053 54615 77924 85299 3373 6852 58385 80203 71479 41377 86630 23453 53901 35968 28064 67772 5348 47684 47413 83122 56809 25767 78676 89052 18613 47104 73177 75613 62059 60884 43761 84320 86642 56534 97670 10151 66063 92220 63167 2195 89360 79685 97031 8124...

output:

9 1 13 1 4 1 1 1 1 7 1 5 1 5 1 1 2 1 5 13 1 2 1 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 13 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 3 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1...

result:

ok 100000 numbers

Test #171:

score: 0
Accepted
time: 42ms
memory: 5460kb

input:

99000 100000
66532 52341 54671 43366 71891 42608 14601 22840 5158 37107 87505 65298 13059 66113 95030 96012 64841 86368 16122 50635 87418 2539 15731 32509 65308 37034 24909 12410 29861 63657 15702 11485 73437 40475 92487 5385 86358 28954 42911 89016 84020 68563 39339 92738 19069 84691 16644 23829 59...

output:

3 5 1 13 5 2 2 1 1 2 2 1 1 1 1 1 1 2 1 1 1 1 2 1 1 1 1 1 1 1 1 1 1 1 2 1 1 1 1 1 1 1 1 1 1 1 1 25 1 1 1 1 1 1 1 1 1 1 1 1 3 15 1 1 1 1 1 1 1 1 1 2 1 1 1 1 1 1 1 1 1 1 4 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 1 1 1 1 1 1 2 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1...

result:

ok 100000 numbers

Test #172:

score: 0
Accepted
time: 37ms
memory: 5264kb

input:

90288 100000
59488 60711 64741 66189 45475 14265 1804 54595 45046 47635 19546 21648 86868 5621 81439 6857 72383 79218 58418 9694 43872 35252 50877 69115 54077 17762 50916 12768 11323 36797 49855 30196 50563 81399 12596 17570 21804 48566 53947 42831 84610 68693 43031 44497 28938 12959 52654 89501 328...

output:

1 26 1 3 1 5 1 1 3 1 1 1 2 1 1 1 1 1 1 1 1 1 1 2 11 1 1 1 1 1 58 1 1 1 1 1 1 2 1 1 7 1 1 1 1 1 1 1 1 1 2 1 1 1 1 2 1 1 1 1 1 1 3 1 1 1 1 1 1 1 1 14 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 7 1 1 1 1 1 1 1 1 1 1 1 ...

result:

ok 100000 numbers

Test #173:

score: 0
Accepted
time: 47ms
memory: 5428kb

input:

95760 100000
17896 28758 18711 6175 35193 48927 8919 81749 541 14989 4508 3233 77267 35971 61421 10933 36560 91704 29726 52023 20042 46922 72192 56489 5400 41076 50386 82693 20539 82029 87516 91981 80382 85137 2041 42657 10461 52931 42641 56193 17174 21105 54390 74132 13568 4766 60013 15853 65984 94...

output:

2 6 1 1 2 9 1 26 3 2 1 1 1 1 1 2 1 1 1 1 1 1 1 1 1 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 53 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 ...

result:

ok 100000 numbers

Test #174:

score: 0
Accepted
time: 42ms
memory: 5500kb

input:

97440 100000
44586 9533 27503 88363 71182 48437 57520 64450 25520 39721 60779 79979 39689 91474 74559 52743 63305 22677 19702 35061 29726 4210 42334 14509 71744 26831 46715 48742 53453 44979 73920 77626 40899 10091 40112 19716 64313 21156 52174 27324 68775 28106 87620 27472 83911 64237 43012 33773 9...

output:

2 1 2 1 1 1 1 2 2 1 1 5 16 1 3 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 1 1 1 1 1 1 1 1 1 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 1 1 1 1 1 1 1 1 1 1 2 1 1 1 1 1 1 1 2...

result:

ok 100000 numbers

Test #175:

score: 0
Accepted
time: 39ms
memory: 5236kb

input:

91728 100000
12628 18786 37867 28911 33713 40139 84132 8845 31389 90813 12528 80621 62652 22478 32486 75835 18499 4262 68672 77626 57754 18142 57821 24781 70314 53920 33532 41035 59906 3125 28611 50836 66586 19352 71498 28371 78085 36760 23645 6532 60741 54752 8107 73302 8283 63417 49702 78086 20614...

output:

14 1 1 2 1 1 5 1 1 3 1 2 1 2 2 1 1 1 1 1 1 1 2 1 1 1 1 1 1 1 5 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 5 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 6 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1...

result:

ok 100000 numbers

Test #176:

score: 0
Accepted
time: 40ms
memory: 5192kb

input:

94080 100000
26339 2103 73958 6232 19624 6497 56674 23885 6052 64575 85501 13193 40654 73512 8429 81687 93514 31117 11236 29227 24143 51462 48502 16756 42229 66435 72056 14741 55853 8730 54329 27903 15225 46690 39533 17177 16781 43764 88030 10787 60761 41188 58799 34077 85082 2270 47549 13578 85758 ...

output:

1 2 1 1 1 1 1 1 2 1 1 1 1 15 1 1 1 1 1 56 2 1 1 1 1 7 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 1 1 1 2 1 1 1 1 1 1 1 1 1 1 1 6 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 6 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 3 1 1 1 1 1 1 1 1 1 1 6 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 ...

result:

ok 100000 numbers

Test #177:

score: 0
Accepted
time: 48ms
memory: 5408kb

input:

95760 100000
85320 46301 69092 3055 1773 10526 41217 92664 92106 15675 90237 22724 40436 12447 49138 40774 8980 39983 65872 87029 3592 46266 72634 79517 40464 4534 8567 30913 28598 25747 2254 60041 21099 33922 20065 31017 74791 77151 25389 91445 21623 33132 27058 64755 46503 25236 3458 68584 64807 1...

output:

52 6 1 1 7 8 5 1 1 1 1 5 2 6 2 1 1 1 1 2 1 1 1 1 2 1 1 1 1 5 1 1 1 5 1 12 1 1 1 5 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 5 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 4 25 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1...

result:

ok 100000 numbers

Test #178:

score: 0
Accepted
time: 47ms
memory: 5404kb

input:

95760 100000
64042 29604 39406 47874 70173 70587 20323 71727 82926 38139 4172 52551 12295 78306 60667 36762 92597 21097 67592 18557 48498 5551 29433 5119 46066 59915 74542 77596 60127 10299 13737 43729 25745 72240 36319 62752 70077 75446 52358 15161 40456 30200 37911 87355 75455 79309 82499 33554 54...

output:

9 3 8 2 58 1 3 1 1 1 3 3 1 1 1 1 9 1 1 1 1 1 1 1 1 1 1 1 1 3 1 13 1 1 1 1 1 1 1 1 1 5 1 1 1 1 1 1 1 1 1 1 2 149 1 1 1 1 1 1 1 1 1 1 1 3 5 1 1 1 1 1 1 1 1 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 179 3 1 1 1 1 1 1 1 2 1 1 1 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 ...

result:

ok 100000 numbers

Test #179:

score: 0
Accepted
time: 41ms
memory: 5332kb

input:

92820 100000
55566 28129 20694 17417 64558 75334 68004 61913 129 42483 45729 40441 90951 28616 53392 29119 84940 91370 70857 18838 3679 46227 48612 10435 16769 4690 72832 12839 84375 74655 84497 24848 45438 55588 82804 89924 47505 37366 48847 54195 78407 88833 20605 64292 38632 85100 69089 82832 383...

output:

224 10 10 10 10 1 15 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 5 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 6 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 3 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1...

result:

ok 100000 numbers

Test #180:

score: 0
Accepted
time: 42ms
memory: 5464kb

input:

99960 100000
19923 99533 98781 62583 51049 99437 74561 18238 69583 72148 46459 41321 35626 17437 34097 40555 14970 83675 65431 75448 14838 4680 35630 78162 58830 13586 67004 4075 76176 27162 67263 87169 10572 63304 89073 64353 84858 99191 59688 51694 30147 259 33851 30310 44083 42781 11660 74568 549...

output:

1 1 1 2 1 4 4 3 4 1 1 1 1 1 1 1 1 1 1 1 1 1 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 10 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1...

result:

ok 100000 numbers

Test #181:

score: 0
Accepted
time: 41ms
memory: 5424kb

input:

95040 100000
54512 19594 75215 84654 70227 38828 86735 30320 84672 56750 38324 69819 11786 659 52644 31801 8892 51462 61750 24607 43507 59299 91447 63781 16470 28239 6502 77266 88416 54954 59149 90199 2841 46338 91134 26707 39135 74386 40128 83452 55274 56014 63332 83312 69076 72268 57562 16624 1955...

output:

1 1 1 1 1 4 1 1 1 5 56 1 1 1 2 4 1 1 1 1 1 1 1 1 1 4 1 35 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 4 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 ...

result:

ok 100000 numbers

Test #182:

score: 0
Accepted
time: 41ms
memory: 5192kb

input:

91080 100000
34327 70072 89756 30069 33052 68828 15144 12764 82062 26142 75323 71108 4342 17104 4652 50631 831 44014 58323 18581 63518 57303 50038 90801 32605 67212 78300 46039 37367 6037 47880 78013 88491 9754 51853 57319 54730 17466 83782 14336 70819 76593 56293 49401 12782 65085 79216 38803 57850...

output:

5 6 1 1 1 1 12 1 2 2 1 1 1 3 3 1 1 3 3 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 10 1 4 1 1 1 2 1 1 1 1 1 1 1 3 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 3 1 1 1 26 1 1 1 3 1 1 1 1 1 1 1 1 10 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 ...

result:

ok 100000 numbers

Test #183:

score: 0
Accepted
time: 40ms
memory: 5292kb

input:

97200 100000
43281 65865 67716 33641 23398 48768 75967 49432 6142 55308 69552 41620 16443 31130 64902 97023 5845 69532 47368 87455 31648 62758 64173 87520 91657 20388 96084 13857 14278 91520 95020 57730 54703 78869 15677 84147 4011 55329 60977 40097 93545 35329 41555 91845 79079 13769 64516 90395 28...

output:

2 1 5 16 1 3 6 1 1 3 1 3 1 1 1 3 1 1 1 1 1 1 1 1 1 2 1 1 1 1 1 1 1 1 1 7 1 1 1 1 3 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 3 4 1 1 1 1 5 1 1 1 1 1 1 1 1 1 1 1 1 1 3 1 1 1 1 1 1 1 1 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 5 1 1 1 1 1 1 1 1 1 4 1 1 3 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 1 1 1 1 1 5 1 1 1 1 1 1...

result:

ok 100000 numbers

Test #184:

score: 0
Accepted
time: 42ms
memory: 5212kb

input:

91080 100000
58878 8430 69934 41014 15938 2844 90352 15227 67951 4447 34617 34275 76798 36896 78038 38242 50406 58598 32135 64867 52021 59513 58992 62208 2822 28582 14947 73934 64408 43388 13908 42420 29487 59997 40844 46598 40823 34616 40015 49408 27215 87313 40816 87000 58820 15292 20131 62416 897...

output:

70 12 2 15 93 110 2 1 1 1 4 2 1 1 1 7 1 1 8 1 1 1 1 5 1 1 1 1 1 1 83 1 1 1 1 1 1 1 2 1 1 1 1 1 1 1 1 1 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1...

result:

ok 100000 numbers

Test #185:

score: 0
Accepted
time: 49ms
memory: 5444kb

input:

98280 100000
62140 3993 55014 56315 94689 49024 7213 53708 71893 23503 83892 64472 12526 48295 75075 35888 49986 89827 22006 230 55777 69732 88493 12924 94357 33029 32561 93606 64711 50436 56010 50974 93657 23677 62219 97511 23977 18087 65580 39652 75088 68606 9300 69353 72914 39794 60538 3649 43079...

output:

1 1 1 1 1 1 1 1 3 1 1 7 7 1 1 5 1 1 1 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 8 1 2 1 1 1 2 1 1 1 1 1 1 5 1 1 3 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 ...

result:

ok 100000 numbers

Test #186:

score: 0
Accepted
time: 44ms
memory: 5400kb

input:

93600 100000
78150 56820 40246 5634 32919 69178 71144 3745 3278 40830 48776 43171 45228 8738 44879 17324 65205 67819 33775 92649 10207 381 20016 49633 54270 1016 89253 31531 23714 57450 4396 51801 5305 68805 54763 29909 27006 17305 63924 25991 21702 84993 48485 12772 648 59101 74892 11782 1857 54087...

output:

90 87 1 1 1 1 1 2 1 145 1 1 1 32 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 1 1 1 1 1 1 1 1 1 1 1 1 1...

result:

ok 100000 numbers

Test #187:

score: 0
Accepted
time: 42ms
memory: 5204kb

input:

90090 100000
44009 77609 79675 49528 71902 46590 1169 45218 14726 56322 6360 48492 51070 33440 86478 429 11335 83365 8750 3871 46889 43948 57391 65061 59490 10996 22822 71650 17869 33921 50566 68208 83931 25195 5793 79654 16488 15875 42963 49619 40001 75511 54780 26800 26898 58533 82753 32925 11171 ...

output:

1 1 4 1 1 1 1 3 2 1 1 1 7 1 1 1 1 1 1 1 1 1 4 1 1 1 1 1 1 1 1 1 1 4 1 1 1 1 1 1 1 1 1 1 1 1 1 1 4 1 1 1 4 1 1 1 1 2 1 1 1 1 4 1 1 4 1 1 1 1 1 1 1 1 2 1 1 1 1 1 1 1 1 2 1 1 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 8 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 ...

result:

ok 100000 numbers

Test #188:

score: 0
Accepted
time: 38ms
memory: 5148kb

input:

92820 100000
54029 68998 25148 63321 19116 44498 66007 9466 24922 52528 87317 31428 92270 41817 39245 5925 19547 9016 68667 14590 49129 69804 43545 43799 80010 78230 9195 51637 83506 20301 54833 45496 75217 83714 61834 79113 5821 44238 11028 88391 22632 41477 8363 48578 59039 78887 81385 39666 43836...

output:

14 2 6 1 1 1 2 1 1 1 14 3 1 3 2 1 2 1 1 9 1 25 1 1 1 1 1 1 1 1 1 1 1 1 1 2 1 1 1 1 1 1 1 3 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 1 1 1 1 1 1 1 1 1 1 3 1 1 1 1 1 1 1 1 1 1 1 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 4 1 1 1 4 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1...

result:

ok 100000 numbers

Test #189:

score: 0
Accepted
time: 40ms
memory: 5184kb

input:

97200 100000
30205 42210 47280 54716 96006 22483 5230 15293 151 11653 1318 10001 14984 59645 10471 59664 75987 25459 59709 23650 75333 81181 33941 67042 8833 30017 72078 77366 70000 89854 58803 94685 33046 32527 30720 11927 78208 12181 1966 8710 36712 8159 87627 64135 63087 6959 62024 91651 12695 65...

output:

1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 5 1 1 1 1 1 1 1 1 1 7 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 1 1 3 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 3 1 1 1 1 1 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 4 1 1 ...

result:

ok 100000 numbers

Test #190:

score: 0
Accepted
time: 47ms
memory: 5440kb

input:

95760 100000
64258 81432 33169 94975 83198 65264 43891 94243 65905 93705 74200 34180 23407 95609 27264 62159 94552 41047 87644 30611 57888 12088 47404 19285 6251 5941 76357 50570 22420 18625 54848 11909 39917 95275 61023 89178 22188 19725 65539 64637 69170 47088 58806 7013 7945 14217 60411 33645 417...

output:

105 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 3 1 1 1 3 1 1 3 5 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 ...

result:

ok 100000 numbers

Test #191:

score: 0
Accepted
time: 35ms
memory: 5376kb

input:

99000 100000
24610 46083 95269 56548 16482 84613 77013 24609 79595 10364 14384 28965 55046 87319 58922 9374 39312 57265 40911 41193 3905 57574 16462 71839 20387 58622 53063 30423 97577 46428 71824 20409 56250 86525 73694 66771 31502 71567 6511 72460 53786 38782 36889 27552 19349 12110 81501 5554 904...

output:

5 4 21 1 17 1 1 1 1 1 1 1 1 3 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 ...

result:

ok 100000 numbers

Test #192:

score: 0
Accepted
time: 47ms
memory: 5496kb

input:

95760 100000
13842 33604 79593 65261 45119 25773 63474 73155 58483 59954 92013 27093 75877 62125 31231 85462 25446 73598 44594 82766 57499 63348 68915 7351 3783 59395 95363 43138 78627 92202 73213 77259 70945 17613 25182 39655 13180 89498 83555 63951 4304 34151 15349 67058 63938 64455 73137 15235 91...

output:

7 1 1 1 6 4 1 6 1 1 2 1 1 2 1 1 84 1 1 1 5 1 1 1 1 5 7 1 1 1 1 1 1 5 5 1 1 5 1 1 1 1 1 5 1 1 1 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 1 1 1 1 1 1 1 1 1 1 5 1 1 1 1 1 4 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1...

result:

ok 100000 numbers

Test #193:

score: 0
Accepted
time: 43ms
memory: 5236kb

input:

83160 100000
889 45555 4734 82654 8153 23300 4949 34190 33155 16393 26206 19553 45450 15893 50519 5111 27598 81945 20670 25783 31139 60710 56378 21655 75769 18343 45428 562 41487 70957 45837 71395 55010 55080 59605 76971 81869 64042 6435 33751 8119 27263 6046 69156 21559 47949 12738 8189 63256 36855...

output:

9 7 1 1 1 1 1 2 1 1 1 1 1 1 1 51 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 19 1 9 1 1 1 1 1 1 1 1 1 4 1 1 1 1 1 1 3 1 2 3 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 1 1 1 1 1 1 1 1 1 1 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 1 1 1 1 1 1 1 1 1 1 1 ...

result:

ok 100000 numbers

Subtask #7:

score: 22
Accepted

Dependency #1:

100%
Accepted

Dependency #2:

100%
Accepted

Dependency #3:

100%
Accepted

Dependency #4:

100%
Accepted

Dependency #5:

100%
Accepted

Dependency #6:

100%
Accepted

Test #194:

score: 22
Accepted
time: 41ms
memory: 5288kb

input:

83160 100000
2167 39975 34497 50728 63404 77694 51584 7509 70820 55565 36477 81625 43396 11035 31965 54922 20576 61533 76443 81641 59378 79712 52345 7151 12485 50049 37476 58431 81320 34681 75929 33245 24274 2793 168 5740 72493 71166 12670 17750 31370 74393 81698 44624 52071 82393 75357 69879 41922 ...

output:

3 2 3 3 7 2 1 1 1 1 1 1 1 1 1 3 1 1 1 1 4 1 1 1 1 5 1 1 1 1 1 1 1 1 4 1 1 1 1 3 1 3 16 2 1 1 1 1 1 1 1 1 1 3 1 1 1 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 3 4 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 1 1 1 3 1 3 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 1 1 1 1 1 1 1 1 1 1 1 1 2 1 1 1 1 1 1 1 1 1 1 1 1 1...

result:

ok 100000 numbers

Test #195:

score: 0
Accepted
time: 48ms
memory: 5344kb

input:

83160 100000
15628 1032 38815 4948 1239 78253 13690 72302 26793 13541 40959 10248 68776 1113 61027 76421 16740 24670 35068 29783 49172 9622 7348 31277 40177 5519 31613 8399 79518 75824 3008 66260 47978 5588 38758 1532 38570 4825 39368 2960 71188 28877 35744 56558 35260 60689 65094 50794 980 63032 14...

output:

1 1 4 1 4 24 1 1 1 1 1 1 1 1 1 15 1 1 1 1 1 1 1 1 1 5 4 1 3 4 1 2 1 1 1 1 4 1 1 1 1 1 1 1 1 1 1 1 1 4 1 1 1 1 1 2 1 1 4 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 8 1 1 1 1 1 1 1 1 1 1 1 1 1 4 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 1 1 2 1 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 3 ...

result:

ok 100000 numbers

Test #196:

score: 0
Accepted
time: 48ms
memory: 5296kb

input:

83160 100000
13724 19515 6839 22880 9990 4040 67110 82746 10645 56401 69233 4173 12157 4404 34828 59268 3093 566 73080 43457 18674 995 57306 17436 53125 33109 26109 56466 57427 68130 76014 58482 23437 5827 14843 69592 14667 64442 15929 49937 4817 34794 71676 71459 75761 21354 26250 25787 11375 70786...

output:

190 95 4 1 7 1 1 1 7 1 1 1 1 1 1 2 3 1 1 1 6 1 1 6 3 1 1 1 1 1 3 1 1 1 1 2 1 1 1 1 1 1 1 1 1 2 1 1 1 1 1 1 1 1 1 18 1 1 1 1 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 4 1 1 1 1 1 1 1 1 1 1 1 1 1 1 3 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 ...

result:

ok 100000 numbers

Test #197:

score: 0
Accepted
time: 44ms
memory: 5184kb

input:

83160 100000
44699 65288 80398 19779 39138 2200 61029 33350 52009 24086 12781 11622 73505 15418 72403 10484 58016 24381 61965 40678 54907 27433 50888 68631 61523 46398 3204 58445 80700 41702 22909 65029 1623 6834 47962 70863 44522 5922 16722 3222 57810 68572 20228 1035 24864 30397 79837 27687 27929 ...

output:

104 10 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 3 1 1 1 1 3 1 1 1 1 1 1 1 1 19 1 1 1 1 1 1 1 1 1 1 1 1 6 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 1 1 1 1 1 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 1 1 1 1 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 ...

result:

ok 100000 numbers

Test #198:

score: 0
Accepted
time: 167ms
memory: 9908kb

input:

291060 300000
122900 214490 49449 182794 131414 140002 169826 95366 237289 151130 143291 46150 76420 64497 273863 249765 201222 72640 284542 63008 13429 285332 64750 86280 77717 100710 91653 26787 167205 61191 80010 203688 177208 84954 240977 279866 227880 118475 249989 231005 21279 184761 107566 11...

output:

4 8 1 1 3 9 1 1 4 1 1 1 1 2 1 1 2 1 4 1 1 2 1 1 1 1 1 1 1 2 1 2 1 1 1 1 4 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 3 4 1 1 63 7 1 3 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 1 4 1 1 2 1 2 1 1 1 1 1 1 1 1 1 1 1 8 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1...

result:

ok 300000 numbers

Test #199:

score: 0
Accepted
time: 134ms
memory: 9168kb

input:

296010 300000
158935 64765 22480 226264 96698 252817 232214 206919 244243 101682 156163 139212 187491 264877 132794 100954 30000 211181 207189 106614 96104 160680 171426 183489 171475 217702 178251 36476 161663 174093 292172 213296 45970 179368 204368 64196 128669 256035 35696 238492 58246 190490 23...

output:

1 2 8 57 2 1 1 1 1 1 9 2 1 1 1 1 2 1 1 1 1 1 1 1 1 2 1 1 1 2 1 1 1 1 1 1 28 1 1 1 1 1 1 1 1 1 1 3 1 1 1 3 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 ...

result:

ok 300000 numbers

Test #200:

score: 0
Accepted
time: 144ms
memory: 9724kb

input:

296400 300000
29846 1647 227132 220465 173038 49041 22070 12732 132421 99779 94479 21206 282141 274929 145217 121201 95468 177354 273780 220913 273609 198501 14704 67953 21224 143303 26905 25264 123452 167276 157386 263416 190743 212305 259839 81797 118162 10108 43230 197805 202687 257007 124818 262...

output:

103 1 1 3 1 1 2 1 1 10 1 1 1 3 1 1 1 1 1 1 1 2 1 1 1 3 1 1 1 1 1 1 1 1 16 1 1 1 1 1 1 4 3 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 3 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 8 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 ...

result:

ok 300000 numbers

Test #201:

score: 0
Accepted
time: 180ms
memory: 10240kb

input:

294840 300000
24377 51910 50963 93094 86145 73828 168304 133590 249331 182587 97366 292437 163895 99987 233185 104691 117413 118257 75271 220713 120787 4866 153583 2083 217263 53567 46053 91505 291080 135789 280561 284717 40824 152519 91096 145978 184635 81045 90767 238211 34134 189367 79110 219684 ...

output:

7 4 1 6 3 6 3 1 4 2 2 3 2 1 1 2 3 1 2 1 1 2 1 1 1 1 1 4 1 1 1 1 3 1 2 1 1 1 1 3 1 1 1 1 2 1 1 1 1 1 1 1 1 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 6 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 10 1 1 1 1 3 1 1 1 1 1 1 1 1 2 1 1 1 1 1 1 1 6 1 1 1 1 1 1 1 1 1 1 1 10 1 1 1 1 1 1 1 1 11 1 1 1 1 1 1 1...

result:

ok 300000 numbers

Test #202:

score: 0
Accepted
time: 125ms
memory: 9752kb

input:

299040 300000
179411 192639 140064 34389 269270 60958 49576 280819 173698 93450 226631 272785 205528 243773 266345 225622 257307 33709 208457 131907 84315 268939 177709 183875 295513 207565 218565 22171 281256 112887 248792 17934 265668 63939 111745 297722 2357 213959 239491 244426 103608 227321 268...

output:

1 18 1 2 1 1 1 1 1 3 7 2 50 1 1 1 1 2 6 3 1 5 1 1 3 1 1 1 1 1 3 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 3 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 23 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 1 1 1 1...

result:

ok 300000 numbers

Test #203:

score: 0
Accepted
time: 150ms
memory: 9804kb

input:

298080 300000
21668 272443 2436 100667 114228 150791 147854 233604 183531 153862 34927 253038 254233 225423 285822 239613 11183 112102 86517 233881 272273 214257 157571 159412 253900 296852 55560 58436 136017 266052 4837 277221 178665 289573 130719 288448 235971 281797 286650 107829 289611 41124 918...

output:

3 337 3 3 3 1 1 1 1 1 3 1 1 1 1 1 1 2 1 2 1 1 1 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 1 1 1 2 1 1 1 1 1 9 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 1 1 1 1 1 1 1 1 1 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 4 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 4 1 4 1 1 1 1 6 1 1 1 1 1 1 1 1 ...

result:

ok 300000 numbers

Test #204:

score: 0
Accepted
time: 141ms
memory: 9932kb

input:

299520 300000
19287 184102 36151 202990 230526 201941 238749 106968 151529 63539 33691 186795 98908 53957 197304 133897 192375 85527 265200 840 38622 86605 180053 84114 235409 273425 171977 175765 252172 3720 3898 143434 73590 40711 89046 102704 14548 74664 47175 199612 28236 170857 52301 199045 801...

output:

12 14 1 1 1 3 1 1 1 1 1 2 1 1 3 1 1 1 1 1 1 10 285 1 1 1 1 1 1 1 1 1 1 1 4 1 1 1 1 1 1 1 1 1 1 2 4 1 1 1 1 1 1 1 1 1 1 1 1 1 1 4 1 1 1 1 1 1 3 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 3 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 4 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1...

result:

ok 300000 numbers

Test #205:

score: 0
Accepted
time: 161ms
memory: 9864kb

input:

297000 300000
240864 278927 201947 51377 57186 226353 190594 137300 46898 70098 180427 258097 236754 62143 118695 247421 42128 264821 287432 61713 289122 116805 152662 266003 147105 238398 63861 244571 198963 61267 294485 296659 181281 265860 75872 34754 98880 140993 164316 82422 51163 82587 276705 ...

output:

170 1 1 1 1 3 1 1 1 1 2 1 4 3 1 1 17 1 1 9 1 3 1 2 1 1 2 1 1 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 9 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 21 2 2 1 1 1 1 1 1 1 1 1 1 1 1 1 2 1 1 1 4 1 3 1 1 1 1 4 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 1 39 1 1 1 1 1 1 2 1 1 1 1 1 1 1 2 2 1 2...

result:

ok 300000 numbers

Test #206:

score: 0
Accepted
time: 144ms
memory: 9932kb

input:

293040 300000
278616 16124 211723 131141 150984 223538 173725 185675 105237 194860 9589 289751 88531 165523 228207 280447 115172 187978 128913 82699 23336 74121 20297 266594 46020 217035 87869 52607 195006 91506 248824 273754 221419 194963 2384 122616 19760 257917 10157 36439 136559 183224 292304 23...

output:

6 1 3 1 3 1 3 1 1 1 1 1 1 1 1 1 1 1 4 6 1 1 1 1 1 1 1 2 1 1 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 6 1 1 1 2 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 3 2 1 1 1 1 1 1 1 6 1 1 1 1 1 2 1 1 1 1 1 1 1 1 1 1 1 1 ...

result:

ok 300000 numbers

Test #207:

score: 0
Accepted
time: 166ms
memory: 10188kb

input:

292320 300000
185553 261197 5199 23817 259012 5157 214270 54493 82124 236768 250652 37982 147572 130398 219371 79717 162041 62501 123221 35809 181420 11382 203236 90466 225358 168013 69235 88943 226463 219213 217533 7305 85448 201795 104243 223550 288057 53727 133455 20219 227357 266460 258104 28188...

output:

1 109 1 1 1 1 1 1 1 1 1 1 1 5 1 1 1 1 1 1 2 1 1 4 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 13 1 1 1 2 1 1 1 1 1 1 1 2 1 1 1 1 1 2 1 1 1 1 1 1 1 1 1 1 1 1 4 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 50 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 37 1 1 1 1 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 1 1 1 1 1 1 1 1...

result:

ok 300000 numbers

Test #208:

score: 0
Accepted
time: 150ms
memory: 9808kb

input:

299376 300000
140018 84493 130378 33000 33228 194769 191350 196407 186770 60902 256362 173094 117374 159371 123164 1622 206865 188527 42102 242177 180912 268031 144710 146068 253869 101112 190691 64206 263523 82448 14686 141545 108294 142020 297490 254856 179161 96578 223117 32565 269123 110897 2259...

output:

4 92 1 1 1 1 1 1 2 1 1 12 1 1 1 1 1 22 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 5 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 3 1 1 1 1 1 1 1 1 1 1 1 1 7 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 1 1 1 1 1 1 1 1 1 3 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1...

result:

ok 300000 numbers

Test #209:

score: 0
Accepted
time: 172ms
memory: 10204kb

input:

299880 300000
286784 180415 1330 17324 35652 67059 221574 1669 232005 280031 125959 83639 117145 63037 150425 73076 32810 166759 27711 163613 93781 187499 267214 123712 102437 51889 77662 90230 9444 246320 293711 77166 50570 260884 285384 112963 68177 130113 208717 226881 182148 102555 20473 135297 ...

output:

1 1 1 3 1 1 79 4 7 7 4 84 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 3 1 1 1 19 10 1 1 1 1 1 2 1 1 1 1 1 1 1 1 1 1 1 1 1 3 1 1 1 1 1 1 1 1 1 7 1 1 1 1 1 2 1 1 1 1 2 1 1 7 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 1 1 1 1 1 1 1 1 1 10 1 1 1 1 6 1 1 1 1 1 1 1 1 1...

result:

ok 300000 numbers

Test #210:

score: 0
Accepted
time: 153ms
memory: 9896kb

input:

293040 300000
243785 272428 201392 218447 214451 46747 17806 26535 68913 148426 236652 20057 224158 291296 206778 267825 94301 211335 164331 114203 91628 22099 167911 90880 34564 257543 200079 235629 138475 181611 105265 217052 223791 139042 50509 136969 260987 258674 198577 144389 36790 148827 8621...

output:

6 1 4 6 1 16 1 1 1 1 1 1 1 2 3 1 1 1 1 29 6 1 1 1 1 51 1 1 1 1 1 1 1 1 1 1 1 3 1 1 1 1 1 1 1 1 2 1 1 2 1 1 2 1 1 1 1 1 1 1 1 1 1 1 1 2 2 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1...

result:

ok 300000 numbers

Test #211:

score: 0
Accepted
time: 135ms
memory: 9216kb

input:

298452 300000
241377 36144 96768 131009 264391 217008 251883 129814 208795 18088 218555 8024 232953 20818 74111 60567 193558 24747 176097 84146 192615 71672 20672 198666 153321 228934 228997 48496 169677 224353 69377 63525 23535 115930 30816 164666 227350 276292 1913 289822 147347 145787 272062 5767...

output:

8 1 8 6 1 1 4 1 3 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 5 1 1 1 1 1 1 1 1 2 1 1 1 1 1 1 1 2 1 1 1 1 2014 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1...

result:

ok 300000 numbers

Test #212:

score: 0
Accepted
time: 168ms
memory: 9976kb

input:

291060 300000
216431 233555 62518 5879 76737 52329 5958 215077 251321 122495 29598 29420 33446 209824 152469 205541 35782 205550 3988 111730 105200 251469 145816 263625 264383 32615 95909 79237 135961 40888 127036 227528 268199 15238 175505 201153 92420 180350 180272 160370 186605 163086 108889 1562...

output:

1 1 14 4 1 1 4 5 1 5 1 16 1 1 14 8 1 1 1 1 1 3 1 1 1 1 1 1 1 1 6 4 1 1 1 10 1 1 3 1 1 8 1 1 1 1 1 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 1 1 1 ...

result:

ok 300000 numbers

Test #213:

score: 0
Accepted
time: 166ms
memory: 10192kb

input:

292320 300000
130435 289746 237535 78741 82391 15311 33459 71636 257228 231935 81901 215591 97999 93009 77783 69374 115224 5366 239494 150473 104655 217457 78229 54550 17073 135268 28588 122058 281364 219639 90763 52056 239518 160609 45921 39019 196409 19974 92891 220596 230721 174002 182677 12490 1...

output:

4 18 1 3 1 2 3 3 1 8 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 3 1 1 1 1 2 1 1 1 1 1 1 1 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 14 1 1 2 1 14...

result:

ok 300000 numbers

Test #214:

score: 0
Accepted
time: 163ms
memory: 10236kb

input:

295680 300000
79588 105035 1383 143481 46897 100444 204553 189900 176080 242596 163906 14137 199542 214860 268175 408 19604 241337 52188 181289 158844 21705 20815 246308 12194 48245 115618 154642 295052 295084 31434 201434 192261 172903 165564 75896 172087 178152 252987 118386 100915 48534 133987 19...

output:

1 2 6 1 1 49 8 2 1 11 1 1 1 1 1 1 1 3 3 1 3 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 1 1 1 1 3 1 1 1 1 1 1 4 1 1 1 1 1 1 1 1 7 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 1 1 1 1 1 1 37 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 1 1 1 1 1...

result:

ok 300000 numbers

Test #215:

score: 0
Accepted
time: 179ms
memory: 10296kb

input:

294840 300000
269518 240367 66389 144931 160881 35439 267614 135004 170410 187029 221170 194027 88041 267262 132664 3422 139855 158486 142316 58081 88615 50399 162392 254214 100005 75000 45335 183237 16112 280792 285399 237035 178892 287002 119042 26538 207169 153212 54193 27277 93559 149817 160621 ...

output:

13 2 3 2 2 3 1 8 153 2 6 5 6 1 1 2 1 1 1 1 2 1 1 3 1 1 1 1 4 1 1 3 1 1 1 1 1 1 1 1 24 1 4 3 1 5 1 1 1 1 1 1 1 1 1 1 1 2 1 1 3 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 4 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 ...

result:

ok 300000 numbers

Test #216:

score: 0
Accepted
time: 166ms
memory: 10184kb

input:

292320 300000
188661 89642 144236 65862 114760 228531 270348 71750 252630 193781 249648 63084 251189 98515 243512 125451 54821 71653 71009 106469 258505 49092 16872 271673 110102 157110 24894 102387 269447 247271 273407 193115 99539 28297 233160 264522 5523 65188 264335 40952 208963 66960 244967 302...

output:

7 1 1 7 1 1 7 1 1 1 174 7 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 1 1 1 1 1 1 1 1 1 1 1 1 2 1 1 1 1 1 1 1 1 1 1 1 1 8 1 1 1 1 1 1 1 1 1 3 1 1 1 1 1 1 1 6 1 1 1 1 1 1 1 1 1 1 1 1 3 1 1 1 1 44 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 3 1 1 1 1 1 1 1 1 1 1 1 1 1 1...

result:

ok 300000 numbers

Test #217:

score: 0
Accepted
time: 127ms
memory: 9288kb

input:

293664 300000
69837 267231 239945 166273 68954 290903 255291 100072 10594 226687 48536 35545 191958 206819 128808 3005 78316 178405 245509 16300 101950 200379 231540 230930 12919 69012 74576 244666 67483 88550 134164 229975 75483 175809 82530 135576 166912 73723 237065 75441 213626 125321 130509 233...

output:

30 1 1 1 1 1 1 2 1 1 1 1 1 1 1 1 1 1 2 17 1 1 1 1 4 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 3 1 1 1 1 1 9 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 3 2 1 1 1 1 1 1 1 1 1 1 1 1 1 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 ...

result:

ok 300000 numbers

Test #218:

score: 0
Accepted
time: 163ms
memory: 9956kb

input:

291060 300000
220228 241400 108291 121301 126346 270885 17006 55003 168840 95904 96807 189431 14904 283805 85581 214706 264868 43126 81862 275917 35169 109863 275555 53405 109001 179460 250657 222796 135728 8079 106282 218661 159679 194770 193340 237768 213982 218912 218096 246665 55610 79775 143425...

output:

43 1 3 3 8 1 3 1 1 1 2 1 1 16 1 1 1 1 3 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 1 1 1 1 1 1 1 1 1 11 1 1 1 1 1 1 1 1 1 1 1 1 2 2 1 1 1 1 1 1 1 1 2 2 1 1 1 1 1 1 1 1 2 1 1 1 1 1 1 2 1 1 1 1 1 1 1 2 1 1 1 1 1 2 2 1 1 1 1 1 1 1 1 1 1 1 1 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 137 1 1 1 1 1 1 1 1 1 2 1 1 1 2 1 1 1...

result:

ok 300000 numbers

Test #219:

score: 0
Accepted
time: 148ms
memory: 9880kb

input:

294000 300000
19337 210689 241122 102186 203427 111303 121994 127799 42574 264733 254644 260861 207246 203680 76359 157608 88730 119049 130125 209499 159805 22978 264600 235099 56983 29162 38519 75247 154886 39994 218476 184727 191206 65613 211591 20207 3330 81646 258027 154695 78821 186272 187784 1...

output:

6 1 6 6 1 6 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 1 1 1 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 ...

result:

ok 300000 numbers

Test #220:

score: 0
Accepted
time: 153ms
memory: 9896kb

input:

293040 300000
89376 233841 127980 238170 264781 182214 240830 157983 82449 183754 242329 162700 39175 43838 134239 215925 157815 57877 112582 69532 39987 109481 230391 184125 265652 64361 173489 102500 132666 178823 12346 149775 93677 134533 286069 27957 207076 218648 129442 42011 88617 239326 23420...

output:

2 11 2 1 1 2 1 2 1 1 1 1 1 1 1 1 1 1 19 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 8 1 1 1 4 1 1 4 1 1 1 1 1 1 1 1 1 1 1 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 1 8 1 1 1 1 1 1 1 1 1 1 1 3 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 ...

result:

ok 300000 numbers

Test #221:

score: 0
Accepted
time: 160ms
memory: 9856kb

input:

297000 300000
78338 243027 223498 265127 94311 153599 219832 270780 241683 200133 76845 58168 7998 40814 106984 223895 31267 149162 130730 213017 218512 33667 141345 210775 206419 132372 113654 72081 191155 113059 230259 99405 198606 275790 227584 34763 168068 255896 282686 43833 177455 293178 20565...

output:

531 9 1 1 2 1 1 2 1 1 1 1 1 5 1 1 2 1 31 1 1 1 1 1 1 1 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 21 1 1 1 1 1 1 1 1 1 1 3 1 1 1 6 3 3 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 40 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1...

result:

ok 300000 numbers

Test #222:

score: 0
Accepted
time: 160ms
memory: 10220kb

input:

292320 300000
228613 74285 245234 97508 91119 95709 24462 219845 68659 19753 278291 1697 20763 132303 98276 261979 21731 89214 163576 271224 158198 96032 183295 75047 197723 273772 61858 164117 112250 1578 275988 59133 133790 128489 48478 231092 239674 139983 8305 221894 291059 211886 226536 124852 ...

output:

26 1 1 1 1 175 8 1 1 3 1 1 1 1 1 1 1 1 1 1 5 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 6 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 5 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 78 1 1 1 1 1 1 2 1 1 5 1 1 1 1 1 1 1 1 1 1 1 1 ...

result:

ok 300000 numbers

Test #223:

score: 0
Accepted
time: 153ms
memory: 9760kb

input:

293760 300000
246073 87631 113429 122819 131096 253738 241226 102417 29811 267652 80943 49430 42468 57815 263470 265776 17883 292474 42115 24269 257268 157950 246406 95084 240277 204624 231357 182221 110304 116050 147177 270989 155750 243264 230202 253359 156649 14420 86888 207729 256781 140125 1966...

output:

3 4 1 9 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 9 1 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 9 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 1 1 1 1 1 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 6 1 1 1 1 33 1 1 1 1 1 1 1 1 1 1 1 1 1 6 5 1 1 1...

result:

ok 300000 numbers

Test #224:

score: 0
Accepted
time: 150ms
memory: 9788kb

input:

296400 300000
247950 156445 32446 93508 206565 273604 92240 242870 82563 72676 253208 228097 174672 200228 240500 276765 144854 82015 175505 225543 28933 18148 200350 112443 292011 263093 87888 284620 109179 108608 120303 9333 111994 174678 138263 43300 43699 96262 70103 61192 69622 179749 228591 26...

output:

5 1 6 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 24 1 1 1 1 3 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 7 14 1 1 1 1 3 1 1 1 14 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 9 1 1 1 1 1 1 1 1 1 1 9 1 1 1 6 1 1 1 1 1 1 5 1 1 3 1 1 1 1 1 1 1 1 6 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1...

result:

ok 300000 numbers

Test #225:

score: 0
Accepted
time: 153ms
memory: 9772kb

input:

293760 300000
164430 71798 189184 120149 268356 175348 287999 209476 109330 269462 66277 234341 236654 146422 281536 124658 94590 18063 27664 71904 244990 71047 90710 270963 228549 202670 184202 105605 146074 172703 112143 162932 22323 498 51379 234817 84079 143278 186117 146259 147414 151428 118350...

output:

293 12 23 4 12 1 21 3 1 1 1 1 1 1 1 1 1 1 1 1 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 1 1 2 1 1 1 1 22 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 3 3 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 1 1 1 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 1 1 1 3 1 1 1 1 1 1 1 1 2 3 1 1 1 1 1 1 1 1 1 1 1 1 1...

result:

ok 300000 numbers

Test #226:

score: 0
Accepted
time: 172ms
memory: 10208kb

input:

294840 300000
174381 163510 280522 172631 102627 122702 48717 66216 194715 152187 282178 8112 144606 96626 150878 184345 209863 278167 74643 274260 139736 130363 254766 157250 241071 73953 169359 216432 28550 22195 195163 186452 2939 228518 109788 43756 47029 124957 52912 5505 242059 208222 187656 1...

output:

1 1 1 1 4 1042 3 1 1 1 1 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 4 17 1 1 1 1 1 1 5 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 5 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 ...

result:

ok 300000 numbers

Test #227:

score: 0
Accepted
time: 144ms
memory: 9928kb

input:

299520 300000
115907 181726 21056 63854 169275 120003 185691 164401 214490 118796 262332 846 179680 262557 231574 130319 152463 84095 240061 257830 56875 298765 105792 4825 218755 132473 59208 23806 71484 136708 136694 120409 163792 233907 87937 15423 61097 94298 182578 174750 269467 50245 116626 18...

output:

1 1 1 1 9 1 1 76 1 1 10 1 1 1 1 1 1 20 1 1 1 1 1 1 1 1 1 1 1 1 1 1 15 1 1 1 1 1 2 1 10 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 29 1 1 1 1 1 1 1 1 1 1 1 1 1 1 3 1 1 1 1 3 1 1 1 2 1 1 1 1 1 1 1 1 1 1 ...

result:

ok 300000 numbers

Test #228:

score: 0
Accepted
time: 106ms
memory: 9336kb

input:

300000 300000
118751 203420 143501 184802 60798 287093 178428 81852 99441 261363 281058 68460 56817 94411 56023 240159 61487 102444 13083 37266 294059 217632 230203 164714 154523 243160 162736 72647 269197 12724 158191 116118 31402 160865 124861 15359 157436 106810 253668 31910 143238 13301 259647 1...

output:

1 2 1 1 2 2 1 1 1 1 1 1 1 1 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 8 1 1 1 1 1 1 1 1 1 ...

result:

ok 300000 numbers

Test #229:

score: 0
Accepted
time: 107ms
memory: 9340kb

input:

300000 300000
202195 144743 47979 91952 44413 291207 221841 146803 250963 214618 203955 65149 273917 103053 154383 195342 91333 66650 4906 249124 59801 161037 46051 113386 11546 52823 237644 71920 98497 297922 37372 131297 297188 36043 41287 61354 271853 109709 194188 21609 181660 171982 213125 2343...

output:

1 1 1 1 1 2 1 1 1 4 1 1 1 1 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 1 1 1 1 1 9 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 ...

result:

ok 300000 numbers

Test #230:

score: 0
Accepted
time: 112ms
memory: 9464kb

input:

300000 300000
32139 268075 95041 35974 252328 260241 217144 247377 235369 158292 101862 208197 62842 253965 87276 117799 257599 71714 287213 289749 78253 37910 15474 7174 4384 39295 65530 153685 179132 202584 87819 249747 158793 266338 271213 131638 71863 257822 234473 273762 161396 55528 44089 2766...

output:

11 9 3 6 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 4 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 1 2 1 1 1 1 1 1 1 1 1 1 1 1 2 1 1 1 1 1 1 1 2 1 1 1 1 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1...

result:

ok 300000 numbers

Test #231:

score: 0
Accepted
time: 111ms
memory: 9400kb

input:

300000 300000
233254 44911 129281 48973 136903 159712 208265 29816 222241 97114 213780 65502 202479 187356 98563 249289 226743 224814 126566 180977 198716 174595 267101 258087 274888 49317 94798 277510 233384 59280 271763 45034 14066 176680 252197 161828 232590 217116 155125 87512 71481 265884 26666...

output:

1 1 3 1 2 1 1 3 1 1 1 1 1 1 1 5 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 12 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1...

result:

ok 300000 numbers

Test #232:

score: 0
Accepted
time: 109ms
memory: 9428kb

input:

300000 300000
59979 122900 207666 138771 271404 247964 188529 187701 206864 276189 256125 232951 75425 42890 264546 95746 122219 292286 86917 145862 12520 52535 172554 275274 246868 28474 20330 71974 16797 275101 119409 51022 136557 166203 62903 135407 5798 150004 97923 249261 6066 138438 99134 2633...

output:

1 3 3 1 1 3 1 1 1 1 1 1 1 1 1 1 2 1 1 1 1 1 1 1 1 1 1 2 1 1 1 3 1 1 1 3 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 3 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 ...

result:

ok 300000 numbers

Test #233:

score: 0
Accepted
time: 191ms
memory: 10216kb

input:

277200 300000
110380 180550 124049 206737 211822 30876 158408 12258 149613 72264 98453 255319 241647 172607 91346 58959 36089 187332 242277 180590 210250 85724 49903 265987 45320 43524 265964 60818 253244 70323 31022 127204 225581 79037 107767 61749 58662 40550 242953 36569 75510 49600 141942 122000...

output:

44 3 199 1 8 8 8 1 1 1 4 37 1 1 1 1 1 1 1 8 1 1 7 1 1 1 1 1 1 1 1 1 1 1 1 7 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 3 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 7 1 1 7 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 5 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 3 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 ...

result:

ok 300000 numbers

Test #234:

score: 0
Accepted
time: 195ms
memory: 10176kb

input:

277200 300000
100778 244013 93384 36993 184926 34712 150279 12292 158189 62777 54611 73550 268030 24345 193274 104071 75922 1953 221297 139230 22508 27634 238294 135965 239313 56762 150876 146993 87418 265130 202825 128134 26848 231049 270349 159451 55954 265710 61314 203781 236649 1392 18963 253721...

output:

36 18 1 9 5 5 1 1 1 1 3 7 1 1 3 1 66 1 1 1 1 1 1 1 2 1 144 1 7 1 1 1 1 1 1 1 1 12 1 8 1 1 1 1 1 1 1 1 1 1 1 3 1 1 1 1 1 1 1 7 1 1 3 1 1 1 1 1 1 8 1 1 1 1 1 12 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 4 1 1 1 1 1 1 1 1 1 4 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1...

result:

ok 300000 numbers

Test #235:

score: 0
Accepted
time: 187ms
memory: 10164kb

input:

277200 300000
34284 52080 210296 185747 164041 181111 63371 152424 23333 167662 220447 93049 113279 250257 80733 12464 20512 123459 238403 64324 60572 253230 144196 227448 171428 231239 216895 105353 270330 131036 125265 250202 179764 219095 85669 238879 172794 538 84149 241699 4151 114301 74210 115...

output:

704 8 8 1 2 1 192 1 1 1 1 3 1 2 1 1 1 1 1 6 1 1 2 6 1 1 1 1 1 1 1 41 2 1 1 2 1 1 1 1 1 1 7 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 1 1 1 6 1 1 1 1 1 1 1 1 1 6 1 1 1 1 1 1 8 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 1 1 3 1 1 1 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1...

result:

ok 300000 numbers

Test #236:

score: 0
Accepted
time: 191ms
memory: 10252kb

input:

277200 300000
113010 162900 95967 78753 36444 263284 145445 201988 177944 201592 167750 158031 269201 195095 143593 68980 81481 77706 54565 69112 123369 52196 199748 27188 126446 65488 38467 247847 61841 95461 36244 221053 20891 272707 118518 18360 48345 277169 113195 81924 41591 138023 245743 60983...

output:

1 1 19 1 4 1 1 1 1 1 19 388 2 1 1 1 1 1 1 1 2 16 1 1 1 1 1 1 1 1 1 1 1 4 1 1 1 1 1 1 3 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 3 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 4 1 1 1 1 1 1 1 1 1 1 1 1 3 1 1 1 1 1 1 1 1 1 1 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1...

result:

ok 300000 numbers

Test #237:

score: 0
Accepted
time: 195ms
memory: 10124kb

input:

277200 300000
45691 189837 57425 14288 261732 182239 195499 38074 32138 200221 248083 155953 221335 22328 85378 68588 67647 211306 227323 27876 72991 246546 182061 225885 188845 266804 222337 78343 40809 116472 175740 21825 186630 10383 141093 138565 32317 167548 133825 31646 114576 205000 44565 111...

output:

3 5 3 6 6 1 37 1 6 2 6 1 1 1 3 1 1 3 1 3 59 1 4 3 1 1 1 1 1 3 1 1 6 3 3 1 1 5 1 1 251 1 3 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 1 1 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 3 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 1 1 1 1 1 1 ...

result:

ok 300000 numbers

Extra Test:

score: 0
Extra Test Passed