Source Code
#include <iostream>
#include <vector>
#include <map>

using namespace std;

#define pb push_back
const int N=1e6+1;
int mp[N];
bool won[N];
int main(){
    int n, m;
    scanf("%d%d", &n, &m);

    vector<pair<int,vector<int>>> v;

    int par;
    scanf("%d", &par);
    while ( par-- ){
        int x;
        scanf("%d", &x);
        won[x]=1;
    }
    v.resize(n);
    for(int i=0 ; i<n ; i++){
        int q, x;
        scanf("%d", &q);
        vector<int> team;
        team.resize(q);
        bool flag=0;
        for(int i=0; i<q ; i++){
            scanf("%d", &x);
            if(!won[x])
                flag=1;
            team.pb(x);
        }
        if(!flag){
            v.pb({i+1, team});
            for( auto k : team )
                mp[k]++;
        }
    }

    vector<int> ans;
    for(int i=0 ; i<v.size() ; i++){
        for(auto j: v[i].second ){
            if(mp[j]==1){
                ans.pb(v[i].first);
                break;
            }
        }
    }

    printf("%d\n", ans.size() );
    for(auto i: ans)
        printf("%d ", i);
    puts("");

    return 0 ;
}
Copy
Projects Rand()
GNU G++17
409 ms
85.3 MB
Accepted
Test Case #1
1 ms
360 KB
Accepted
Input
3 3
2 1 2
3 1 2 3
2 1 2
2 2 3
Output
1
2
Judge Output
1
2
Checker Message
The contestent found 1 winning projects
Test Case #2
0 ms
416 KB
Accepted
Input
4 3
3 1 2 3
2 1 2
2 2 3
2 1 3
3 1 2 3
Output
0
Judge Output
0
Checker Message
The contestent found 0 winning projects
Test Case #3
330 ms
84.6 MB
Accepted
Input
1000000 200000
200000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79...
Output
122
12269 14079 15963 18354 23640 24075 29268 31842 32984 35362 41572 43463 45675 53188 54545 55900 59406 72225 73621 74584 75921 79748 81592 86962 87758 94995 96767 97532 101145 102180 104453 113082 114567 118886 119947 122336 125108 127214 132550 ...
Judge Output
122
12269 14079 15963 18354 23640 24075 29268 31842 32984 35362 41572 43463 45675 53188 54545 55900 59406 72225 73621 74584 75921 79748 81592 86962 87758 94995 96767 97532 101145 102180 104453 113082 114567 118886 119947 122336 125108 127214 132550 ...
Checker Message
The contestent found 122 winning projects
Test Case #4
334 ms
84.7 MB
Accepted
Input
1000000 200000
200000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79...
Output
86
7530 13498 17409 20450 20478 28196 30509 41468 54128 60556 68212 71036 71412 80087 84220 84603 85498 89617 90978 94027 100626 105663 111219 113832 125406 128301 129218 131655 140755 146476 156379 165671 169361 172546 175663 190827 191496 194379 1...
Judge Output
86
7530 13498 17409 20450 20478 28196 30509 41468 54128 60556 68212 71036 71412 80087 84220 84603 85498 89617 90978 94027 100626 105663 111219 113832 125406 128301 129218 131655 140755 146476 156379 165671 169361 172546 175663 190827 191496 194379 1...
Checker Message
The contestent found 86 winning projects
Test Case #5
330 ms
84.7 MB
Accepted
Input
1000000 200000
200000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79...
Output
81
4639 5076 5211 5802 7382 9168 9478 9943 12398 13803 14556 19041 19100 22512 30179 37136 38983 39885 56098 59446 63498 63657 63801 65808 74525 83892 86509 93660 94418 97827 98665 105141 112699 115863 120784 125854 133286 138037 140402 152085 1533....
Judge Output
81
4639 5076 5211 5802 7382 9168 9478 9943 12398 13803 14556 19041 19100 22512 30179 37136 38983 39885 56098 59446 63498 63657 63801 65808 74525 83892 86509 93660 94418 97827 98665 105141 112699 115863 120784 125854 133286 138037 140402 152085 1533...
Checker Message
The contestent found 81 winning projects
Test Case #6
333 ms
84.7 MB
Accepted
Input
1000000 200000
200000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79...
Output
85
12669 17919 21603 26771 29971 32056 35728 36179 40255 40985 43431 52732 68086 84104 85004 90886 93681 93886 95075 95126 97622 97686 100128 102775 105656 105723 117067 119602 124561 129693 132729 133479 134353 139387 147920 152893 162908 163151 16...
Judge Output
85
12669 17919 21603 26771 29971 32056 35728 36179 40255 40985 43431 52732 68086 84104 85004 90886 93681 93886 95075 95126 97622 97686 100128 102775 105656 105723 117067 119602 124561 129693 132729 133479 134353 139387 147920 152893 162908 163151 16...
Checker Message
The contestent found 85 winning projects
Test Case #7
329 ms
84.7 MB
Accepted
Input
1000000 200000
200000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79...
Output
97
2250 3521 8779 12101 18091 19492 25199 26344 36987 39277 40826 49673 52156 54507 55868 58497 59654 60822 63919 66956 70138 74293 76982 77883 79470 83072 88685 90027 96480 105192 106879 112502 117636 123937 129249 133732 135284 136944 141547 1453....
Judge Output
97
2250 3521 8779 12101 18091 19492 25199 26344 36987 39277 40826 49673 52156 54507 55868 58497 59654 60822 63919 66956 70138 74293 76982 77883 79470 83072 88685 90027 96480 105192 106879 112502 117636 123937 129249 133732 135284 136944 141547 1453...
Checker Message
The contestent found 97 winning projects
Test Case #8
329 ms
84.7 MB
Accepted
Input
1000000 200000
200000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79...
Output
90
3042 6044 12371 15730 16092 23366 26245 30834 46367 49211 55539 65113 67737 68928 75900 78044 88038 89748 90973 96519 96894 99435 103496 110941 112763 119573 121509 123315 134250 138423 143368 145376 157670 160275 172912 174374 182133 186038 1900...
Judge Output
90
3042 6044 12371 15730 16092 23366 26245 30834 46367 49211 55539 65113 67737 68928 75900 78044 88038 89748 90973 96519 96894 99435 103496 110941 112763 119573 121509 123315 134250 138423 143368 145376 157670 160275 172912 174374 182133 186038 1900...
Checker Message
The contestent found 90 winning projects
Test Case #9
330 ms
84.7 MB
Accepted
Input
1000000 200000
200000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79...
Output
84
76 6487 9144 17579 25925 39075 40328 58695 60912 66325 81479 83412 84134 87126 112222 115117 120786 124686 126899 132490 135378 138980 139540 142243 147590 157052 161895 167158 174285 177076 178052 178618 188360 190146 191221 193895 195852 200769...
Judge Output
84
76 6487 9144 17579 25925 39075 40328 58695 60912 66325 81479 83412 84134 87126 112222 115117 120786 124686 126899 132490 135378 138980 139540 142243 147590 157052 161895 167158 174285 177076 178052 178618 188360 190146 191221 193895 195852 200769...
Checker Message
The contestent found 84 winning projects
Test Case #10
332 ms
84.7 MB
Accepted
Input
1000000 200000
200000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79...
Output
80
959 3055 4367 5254 7865 8244 10595 10695 35286 37945 49759 59634 63040 79042 83113 89724 101922 104083 105263 113102 117567 122110 125825 133896 135595 142610 156753 166797 168342 173672 174522 177278 179203 181029 184703 188181 191233 192926 196...
Judge Output
80
959 3055 4367 5254 7865 8244 10595 10695 35286 37945 49759 59634 63040 79042 83113 89724 101922 104083 105263 113102 117567 122110 125825 133896 135595 142610 156753 166797 168342 173672 174522 177278 179203 181029 184703 188181 191233 192926 196...
Checker Message
The contestent found 80 winning projects
Test Case #11
332 ms
84.7 MB
Accepted
Input
1000000 200000
200000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79...
Output
91
1570 5670 9885 19656 23120 28585 34389 35908 36227 37041 44956 50172 51377 58459 59578 61885 70945 73140 73726 79331 85856 91288 95117 95513 97444 97726 108392 109754 116920 119459 135936 139775 143903 148538 162534 163244 163269 172453 187021 19...
Judge Output
91
1570 5670 9885 19656 23120 28585 34389 35908 36227 37041 44956 50172 51377 58459 59578 61885 70945 73140 73726 79331 85856 91288 95117 95513 97444 97726 108392 109754 116920 119459 135936 139775 143903 148538 162534 163244 163269 172453 187021 19...
Checker Message
The contestent found 91 winning projects
Test Case #12
332 ms
84.7 MB
Accepted
Input
1000000 200000
200000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79...
Output
80
419 15462 17271 22187 26460 28737 30194 36402 53744 59646 64655 66118 69144 78119 93846 96624 99919 104756 107568 110070 111728 112377 116076 118188 119980 134379 134913 139511 147984 150515 150801 153349 157666 160462 164691 172844 210133 214256...
Judge Output
80
419 15462 17271 22187 26460 28737 30194 36402 53744 59646 64655 66118 69144 78119 93846 96624 99919 104756 107568 110070 111728 112377 116076 118188 119980 134379 134913 139511 147984 150515 150801 153349 157666 160462 164691 172844 210133 214256...
Checker Message
The contestent found 80 winning projects
Test Case #13
341 ms
84.8 MB
Accepted
Input
1000000 200000
200000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79...
Output
90
392 7986 8448 8862 11874 20013 20409 21299 26062 28732 29205 31533 32597 37774 38037 49148 49216 56891 62789 73407 76734 79043 81439 83363 103123 110021 113225 113650 116211 117375 125441 127119 136144 136914 141436 149303 156844 171020 176983 18...
Judge Output
90
392 7986 8448 8862 11874 20013 20409 21299 26062 28732 29205 31533 32597 37774 38037 49148 49216 56891 62789 73407 76734 79043 81439 83363 103123 110021 113225 113650 116211 117375 125441 127119 136144 136914 141436 149303 156844 171020 176983 18...
Checker Message
The contestent found 90 winning projects
Test Case #14
340 ms
84.7 MB
Accepted
Input
1000000 200000
200000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79...
Output
82
602 5810 7061 8964 18130 23159 25122 27296 28575 35170 45480 49243 55306 69304 69536 77492 83476 85567 85983 86162 91606 100045 101901 104218 107290 110136 115520 115834 121580 130917 141101 147006 148440 156849 159169 159666 160551 164769 171808...
Judge Output
82
602 5810 7061 8964 18130 23159 25122 27296 28575 35170 45480 49243 55306 69304 69536 77492 83476 85567 85983 86162 91606 100045 101901 104218 107290 110136 115520 115834 121580 130917 141101 147006 148440 156849 159169 159666 160551 164769 171808...
Checker Message
The contestent found 82 winning projects
Test Case #15
57 ms
7.3 MB
Accepted
Input
20 100000
100000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 ...
Output
20
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
Judge Output
20
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
Checker Message
The contestent found 20 winning projects
Test Case #16
58 ms
7.8 MB
Accepted
Input
20 100000
100000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 ...
Output
20
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
Judge Output
20
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
Checker Message
The contestent found 20 winning projects
Test Case #17
59 ms
7.5 MB
Accepted
Input
20 100000
100000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 ...
Output
20
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
Judge Output
20
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
Checker Message
The contestent found 20 winning projects
Test Case #18
57 ms
7.5 MB
Accepted
Input
20 100000
100000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 ...
Output
20
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
Judge Output
20
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
Checker Message
The contestent found 20 winning projects
Test Case #19
58 ms
7.8 MB
Accepted
Input
20 100000
100000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 ...
Output
20
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
Judge Output
20
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
Checker Message
The contestent found 20 winning projects
Test Case #20
58 ms
6.8 MB
Accepted
Input
20 100000
100000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 ...
Output
20
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
Judge Output
20
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
Checker Message
The contestent found 20 winning projects
Test Case #21
58 ms
7.5 MB
Accepted
Input
20 100000
100000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 ...
Output
20
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
Judge Output
20
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
Checker Message
The contestent found 20 winning projects
Test Case #22
57 ms
7.5 MB
Accepted
Input
20 100000
100000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 ...
Output
20
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
Judge Output
20
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
Checker Message
The contestent found 20 winning projects
Test Case #23
56 ms
7.2 MB
Accepted
Input
20 100000
100000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 ...
Output
20
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
Judge Output
20
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
Checker Message
The contestent found 20 winning projects
Test Case #24
57 ms
7.0 MB
Accepted
Input
20 100000
100000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 ...
Output
20
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
Judge Output
20
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
Checker Message
The contestent found 20 winning projects
Test Case #25
57 ms
6.9 MB
Accepted
Input
20 100000
100000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 ...
Output
20
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
Judge Output
20
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
Checker Message
The contestent found 20 winning projects
Test Case #26
152 ms
18.7 MB
Accepted
Input
20 100000
100000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 ...
Output
0
Judge Output
0
Checker Message
The contestent found 0 winning projects
Test Case #27
149 ms
17.3 MB
Accepted
Input
20 100000
100000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 ...
Output
0
Judge Output
0
Checker Message
The contestent found 0 winning projects
Test Case #28
149 ms
18.7 MB
Accepted
Input
20 100000
100000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 ...
Output
0
Judge Output
0
Checker Message
The contestent found 0 winning projects
Test Case #29
149 ms
17.5 MB
Accepted
Input
20 100000
100000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 ...
Output
0
Judge Output
0
Checker Message
The contestent found 0 winning projects
Test Case #30
148 ms
17.5 MB
Accepted
Input
20 100000
100000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 ...
Output
0
Judge Output
0
Checker Message
The contestent found 0 winning projects
Test Case #31
149 ms
18.3 MB
Accepted
Input
20 100000
100000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 ...
Output
0
Judge Output
0
Checker Message
The contestent found 0 winning projects
Test Case #32
150 ms
18.3 MB
Accepted
Input
20 100000
100000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 ...
Output
0
Judge Output
0
Checker Message
The contestent found 0 winning projects
Test Case #33
148 ms
17.9 MB
Accepted
Input
20 100000
100000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 ...
Output
0
Judge Output
0
Checker Message
The contestent found 0 winning projects
Test Case #34
150 ms
19.1 MB
Accepted
Input
20 100000
100000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 ...
Output
0
Judge Output
0
Checker Message
The contestent found 0 winning projects
Test Case #35
155 ms
18.7 MB
Accepted
Input
20 100000
100000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 ...
Output
0
Judge Output
0
Checker Message
The contestent found 0 winning projects
Test Case #36
150 ms
18.4 MB
Accepted
Input
20 100000
100000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 ...
Output
0
Judge Output
0
Checker Message
The contestent found 0 winning projects
Test Case #37
396 ms
85.1 MB
Accepted
Input
1000000 1000000
1000000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 ...
Output
41272
1 3 4 5 6 7 8 10 12 13 14 16 17 18 19 20 21 22 23 24 25 27 28 30 31 33 35 36 37 39 41 42 43 44 45 47 48 49 50 53 54 55 56 59 60 62 63 64 66 67 69 70 71 72 73 74 75 77 79 80 81 82 83 86 87 88 89 92 93 94 95 96 98 99 100 101 102 103 104 107 108 ...
Judge Output
41272
1 3 4 5 6 7 8 10 12 13 14 16 17 18 19 20 21 22 23 24 25 27 28 30 31 33 35 36 37 39 41 42 43 44 45 47 48 49 50 53 54 55 56 59 60 62 63 64 66 67 69 70 71 72 73 74 75 77 79 80 81 82 83 86 87 88 89 92 93 94 95 96 98 99 100 101 102 103 104 107 108 ...
Checker Message
The contestent found 41272 winning projects
Test Case #38
409 ms
85.1 MB
Accepted
Input
1000000 1000000
1000000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 ...
Output
39882
1 3 4 5 6 7 9 10 11 12 13 14 15 16 17 18 19 21 22 23 24 25 26 27 28 29 30 31 32 34 36 37 38 39 40 41 42 43 44 45 46 47 48 49 51 52 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 72 73 74 75 76 78 79 80 82 85 86 87 88 89 90 91 92 93 94 95 ....
Judge Output
39882
1 3 4 5 6 7 9 10 11 12 13 14 15 16 17 18 19 21 22 23 24 25 26 27 28 29 30 31 32 34 36 37 38 39 40 41 42 43 44 45 46 47 48 49 51 52 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 72 73 74 75 76 78 79 80 82 85 86 87 88 89 90 91 92 93 94 95 ...
Checker Message
The contestent found 39882 winning projects
Test Case #39
396 ms
85.2 MB
Accepted
Input
1000000 1000000
1000000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 ...
Output
40909
2 3 4 5 6 8 11 12 13 14 15 16 18 19 20 21 23 24 25 26 29 30 31 33 35 36 38 39 40 42 44 45 46 47 48 49 51 52 53 54 55 56 57 58 59 62 63 64 65 67 69 70 71 72 74 76 77 78 80 81 82 83 85 87 90 91 93 95 97 98 99 100 101 102 103 104 105 107 109 110 ...
Judge Output
40909
2 3 4 5 6 8 11 12 13 14 15 16 18 19 20 21 23 24 25 26 29 30 31 33 35 36 38 39 40 42 44 45 46 47 48 49 51 52 53 54 55 56 57 58 59 62 63 64 65 67 69 70 71 72 74 76 77 78 80 81 82 83 85 87 90 91 93 95 97 98 99 100 101 102 103 104 105 107 109 110 ...
Checker Message
The contestent found 40909 winning projects
Test Case #40
390 ms
85.2 MB
Accepted
Input
1000000 1000000
1000000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 ...
Output
40916
1 2 3 4 5 6 7 8 10 11 13 14 15 16 17 18 19 20 21 22 23 24 25 28 29 31 32 33 34 35 36 37 38 39 41 42 43 44 45 47 49 52 53 54 55 57 58 59 60 61 62 63 64 65 66 68 69 70 71 72 73 74 75 77 78 79 80 81 82 83 84 86 87 88 89 91 93 94 95 96 98 99 100 1...
Judge Output
40916
1 2 3 4 5 6 7 8 10 11 13 14 15 16 17 18 19 20 21 22 23 24 25 28 29 31 32 33 34 35 36 37 38 39 41 42 43 44 45 47 49 52 53 54 55 57 58 59 60 61 62 63 64 65 66 68 69 70 71 72 73 74 75 77 78 79 80 81 82 83 84 86 87 88 89 91 93 94 95 96 98 99 100 1...
Checker Message
The contestent found 40916 winning projects
Test Case #41
392 ms
85.2 MB
Accepted
Input
1000000 1000000
1000000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 ...
Output
40856
1 2 5 6 7 9 11 12 13 14 15 16 17 18 19 20 21 22 24 25 26 27 29 30 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 51 52 53 54 56 59 60 61 62 63 64 65 66 67 69 70 72 74 75 76 77 79 80 81 82 85 86 87 88 89 90 91 93 94 95 96 99 100 102 103 ...
Judge Output
40856
1 2 5 6 7 9 11 12 13 14 15 16 17 18 19 20 21 22 24 25 26 27 29 30 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 51 52 53 54 56 59 60 61 62 63 64 65 66 67 69 70 72 74 75 76 77 79 80 81 82 85 86 87 88 89 90 91 93 94 95 96 99 100 102 103 ...
Checker Message
The contestent found 40856 winning projects
Test Case #42
393 ms
85.2 MB
Accepted
Input
1000000 1000000
1000000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 ...
Output
40456
1 2 4 5 6 7 8 9 10 11 12 13 15 16 17 18 19 20 21 22 24 26 27 29 30 31 32 33 34 36 37 38 39 40 41 42 47 48 49 51 52 53 54 55 56 58 59 60 61 63 65 67 68 69 71 72 73 74 75 76 77 78 79 80 81 82 83 85 86 87 88 89 93 94 95 96 97 98 100 101 103 104 1...
Judge Output
40456
1 2 4 5 6 7 8 9 10 11 12 13 15 16 17 18 19 20 21 22 24 26 27 29 30 31 32 33 34 36 37 38 39 40 41 42 47 48 49 51 52 53 54 55 56 58 59 60 61 63 65 67 68 69 71 72 73 74 75 76 77 78 79 80 81 82 83 85 86 87 88 89 93 94 95 96 97 98 100 101 103 104 1...
Checker Message
The contestent found 40456 winning projects
Test Case #43
393 ms
85.2 MB
Accepted
Input
1000000 1000000
1000000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 ...
Output
40514
1 3 5 6 8 9 10 11 12 13 14 16 17 18 19 20 21 24 25 26 27 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 46 47 48 49 50 51 52 55 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 73 75 76 77 79 80 81 82 83 84 85 86 87 88 90 92 94 95 96 97 98 99 100 1....
Judge Output
40514
1 3 5 6 8 9 10 11 12 13 14 16 17 18 19 20 21 24 25 26 27 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 46 47 48 49 50 51 52 55 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 73 75 76 77 79 80 81 82 83 84 85 86 87 88 90 92 94 95 96 97 98 99 100 1...
Checker Message
The contestent found 40514 winning projects
Test Case #44
389 ms
85.2 MB
Accepted
Input
1000000 1000000
1000000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 ...
Output
40809
1 2 3 4 5 6 7 8 9 11 12 13 17 18 19 20 21 22 23 25 26 27 28 29 30 31 32 34 35 36 39 40 41 44 45 46 47 50 52 55 56 58 59 60 61 62 63 64 65 66 68 70 71 73 74 76 79 81 83 84 87 88 89 90 91 93 95 97 99 100 102 103 104 105 107 108 109 110 111 113 1...
Judge Output
40809
1 2 3 4 5 6 7 8 9 11 12 13 17 18 19 20 21 22 23 25 26 27 28 29 30 31 32 34 35 36 39 40 41 44 45 46 47 50 52 55 56 58 59 60 61 62 63 64 65 66 68 70 71 73 74 76 79 81 83 84 87 88 89 90 91 93 95 97 99 100 102 103 104 105 107 108 109 110 111 113 1...
Checker Message
The contestent found 40809 winning projects
Test Case #45
392 ms
85.2 MB
Accepted
Input
1000000 1000000
1000000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 ...
Output
40488
1 2 4 5 6 8 9 11 12 14 15 16 17 20 21 23 24 25 26 27 28 30 31 33 34 35 36 37 38 39 40 42 43 44 45 46 47 48 51 52 53 54 55 56 58 59 60 61 62 63 65 66 69 70 71 72 73 74 75 77 78 79 80 81 83 84 85 92 93 94 95 96 97 98 99 100 102 103 105 107 110 1...
Judge Output
40488
1 2 4 5 6 8 9 11 12 14 15 16 17 20 21 23 24 25 26 27 28 30 31 33 34 35 36 37 38 39 40 42 43 44 45 46 47 48 51 52 53 54 55 56 58 59 60 61 62 63 65 66 69 70 71 72 73 74 75 77 78 79 80 81 83 84 85 92 93 94 95 96 97 98 99 100 102 103 105 107 110 1...
Checker Message
The contestent found 40488 winning projects
Test Case #46
386 ms
85.2 MB
Accepted
Input
1000000 1000000
1000000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 ...
Output
40583
3 4 5 6 9 11 12 13 14 15 17 19 22 23 26 27 29 30 32 33 34 35 36 37 38 39 40 42 44 45 46 48 49 50 51 54 55 56 57 58 60 61 62 63 64 65 67 69 70 71 72 73 74 75 76 78 81 83 84 85 87 89 90 91 93 94 95 97 98 99 100 101 102 103 104 105 107 108 109 1....
Judge Output
40583
3 4 5 6 9 11 12 13 14 15 17 19 22 23 26 27 29 30 32 33 34 35 36 37 38 39 40 42 44 45 46 48 49 50 51 54 55 56 57 58 60 61 62 63 64 65 67 69 70 71 72 73 74 75 76 78 81 83 84 85 87 89 90 91 93 94 95 97 98 99 100 101 102 103 104 105 107 108 109 1...
Checker Message
The contestent found 40583 winning projects
Test Case #47
392 ms
85.2 MB
Accepted
Input
1000000 1000000
1000000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 ...
Output
40583
3 4 5 6 9 11 12 13 14 15 17 19 22 23 26 27 29 30 32 33 34 35 36 37 38 39 40 42 44 45 46 48 49 50 51 54 55 56 57 58 60 61 62 63 64 65 67 69 70 71 72 73 74 75 76 78 81 83 84 85 87 89 90 91 93 94 95 97 98 99 100 101 102 103 104 105 107 108 109 1....
Judge Output
40583
3 4 5 6 9 11 12 13 14 15 17 19 22 23 26 27 29 30 32 33 34 35 36 37 38 39 40 42 44 45 46 48 49 50 51 54 55 56 57 58 60 61 62 63 64 65 67 69 70 71 72 73 74 75 76 78 81 83 84 85 87 89 90 91 93 94 95 97 98 99 100 101 102 103 104 105 107 108 109 1...
Checker Message
The contestent found 40583 winning projects
Test Case #48
394 ms
85.2 MB
Accepted
Input
1000000 1000000
1000000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 ...
Output
41292
1 2 3 4 5 6 7 8 9 10 12 14 15 17 18 19 20 22 24 25 26 27 28 29 30 31 32 34 35 36 38 39 40 41 42 43 44 46 47 48 49 50 52 53 54 56 57 58 59 60 61 62 64 65 66 67 68 69 70 72 73 74 75 78 79 80 81 82 83 84 85 86 88 90 91 92 95 96 97 98 101 103 104 ...
Judge Output
41292
1 2 3 4 5 6 7 8 9 10 12 14 15 17 18 19 20 22 24 25 26 27 28 29 30 31 32 34 35 36 38 39 40 41 42 43 44 46 47 48 49 50 52 53 54 56 57 58 59 60 61 62 64 65 66 67 68 69 70 72 73 74 75 78 79 80 81 82 83 84 85 86 88 90 91 92 95 96 97 98 101 103 104 ...
Checker Message
The contestent found 41292 winning projects
Test Case #49
404 ms
85.3 MB
Accepted
Input
1000000 1000000
1000000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 ...
Output
40947
1 2 3 4 5 6 7 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 28 29 30 31 32 33 35 39 40 41 42 43 44 45 46 48 49 50 51 53 54 56 57 59 60 61 62 63 64 65 68 69 72 74 75 76 77 78 79 80 81 82 84 85 86 87 88 89 90 91 92 93 94 95 96 99 100 102 103 1...
Judge Output
40947
1 2 3 4 5 6 7 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 28 29 30 31 32 33 35 39 40 41 42 43 44 45 46 48 49 50 51 53 54 56 57 59 60 61 62 63 64 65 68 69 72 74 75 76 77 78 79 80 81 82 84 85 86 87 88 89 90 91 92 93 94 95 96 99 100 102 103 1...
Checker Message
The contestent found 40947 winning projects
Test Case #50
114 ms
9.2 MB
Accepted
Input
10000 1000000
1000000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79...
Output
9344
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 42 44 45 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 66 67 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 91 ....
Judge Output
9344
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 42 44 45 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 66 67 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 91 ...
Checker Message
The contestent found 9344 winning projects
Test Case #51
109 ms
9.2 MB
Accepted
Input
10000 1000000
1000000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79...
Output
9388
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 40 41 42 43 44 45 46 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 ....
Judge Output
9388
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 40 41 42 43 44 45 46 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 ...
Checker Message
The contestent found 9388 winning projects
Test Case #52
110 ms
9.3 MB
Accepted
Input
10000 1000000
1000000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79...
Output
9398
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 67 69 70 71 72 73 74 75 76 77 79 80 81 83 84 85 86 87 88 89 ....
Judge Output
9398
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 67 69 70 71 72 73 74 75 76 77 79 80 81 83 84 85 86 87 88 89 ...
Checker Message
The contestent found 9398 winning projects
Test Case #53
109 ms
9.2 MB
Accepted
Input
10000 1000000
1000000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79...
Output
9325
1 2 3 4 5 6 7 8 9 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 87 ....
Judge Output
9325
1 2 3 4 5 6 7 8 9 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 87 ...
Checker Message
The contestent found 9325 winning projects
Test Case #54
108 ms
9.1 MB
Accepted
Input
10000 1000000
1000000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79...
Output
9349
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 75 76 77 78 79 80 81 83 84 85 86 88 ....
Judge Output
9349
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 75 76 77 78 79 80 81 83 84 85 86 88 ...
Checker Message
The contestent found 9349 winning projects
Test Case #55
108 ms
9.1 MB
Accepted
Input
10000 1000000
1000000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79...
Output
9397
1 2 3 4 6 7 8 9 10 11 12 13 14 17 19 20 21 22 23 24 25 26 27 28 29 30 32 33 34 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 ...
Judge Output
9397
1 2 3 4 6 7 8 9 10 11 12 13 14 17 19 20 21 22 23 24 25 26 27 28 29 30 32 33 34 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 ...
Checker Message
The contestent found 9397 winning projects
Test Case #56
107 ms
9.2 MB
Accepted
Input
10000 1000000
1000000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79...
Output
9370
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 32 33 34 35 36 37 38 39 40 41 42 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 84 86 87 88 ....
Judge Output
9370
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 32 33 34 35 36 37 38 39 40 41 42 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 84 86 87 88 ...
Checker Message
The contestent found 9370 winning projects
Test Case #57
111 ms
9.2 MB
Accepted
Input
10000 1000000
1000000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79...
Output
9365
1 2 3 4 5 6 7 8 10 11 12 13 14 15 16 17 18 19 20 21 22 24 25 26 27 28 29 30 31 32 33 34 35 36 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 ...
Judge Output
9365
1 2 3 4 5 6 7 8 10 11 12 13 14 15 16 17 18 19 20 21 22 24 25 26 27 28 29 30 31 32 33 34 35 36 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 ...
Checker Message
The contestent found 9365 winning projects
Test Case #58
109 ms
9.3 MB
Accepted
Input
10000 1000000
1000000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79...
Output
9340
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 52 53 54 55 56 57 58 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 80 81 82 83 85 87 88 89 ....
Judge Output
9340
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 52 53 54 55 56 57 58 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 80 81 82 83 85 87 88 89 ...
Checker Message
The contestent found 9340 winning projects
Test Case #59
114 ms
9.5 MB
Accepted
Input
10000 1000000
1000000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79...
Output
9352
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 84 85 87 88 ....
Judge Output
9352
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 84 85 87 88 ...
Checker Message
The contestent found 9352 winning projects
Test Case #60
110 ms
9.2 MB
Accepted
Input
10000 1000000
1000000 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79...
Output
9410
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 71 72 73 74 75 76 78 79 80 81 82 83 84 85 86 87 ....
Judge Output
9410
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 71 72 73 74 75 76 78 79 80 81 82 83 84 85 86 87 ...
Checker Message
The contestent found 9410 winning projects
Test Case #61
272 ms
63.5 MB
Accepted
Input
1000000 200000
40084 6 7 8 16 18 21 23 24 31 32 38 40 49 52 56 60 67 70 71 81 82 86 87 91 104 124 129 130 144 151 154 155 158 159 160 161 162 165 177 183 191 196 197 199 211 214 215 216 225 228 232 237 243 244 247 249 254 255 260 268 273 274 275 281...
Output
7350
52 80 113 282 326 343 354 364 383 405 529 598 630 635 670 732 904 1005 1146 1190 1215 1223 1316 1321 1497 1501 1620 1646 1657 1662 1671 1707 1741 1743 1832 1837 1869 1879 1883 1888 1953 1977 2095 2100 2115 2172 2231 2243 2416 2471 2567 2587 25....
Judge Output
7350
52 80 113 282 326 343 354 364 383 405 529 598 630 635 670 732 904 1005 1146 1190 1215 1223 1316 1321 1497 1501 1620 1646 1657 1662 1671 1707 1741 1743 1832 1837 1869 1879 1883 1888 1953 1977 2095 2100 2115 2172 2231 2243 2416 2471 2567 2587 25...
Checker Message
The contestent found 7350 winning projects
Test Case #62
274 ms
63.5 MB
Accepted
Input
1000000 200000
39973 10 14 18 28 35 38 43 45 46 55 64 67 68 69 75 77 82 83 84 89 93 99 100 101 106 124 126 129 130 138 143 149 156 157 158 160 164 169 172 179 180 181 195 215 217 218 219 229 232 249 250 254 256 258 272 274 277 278 280 288 290 293 3...
Output
7372
75 76 154 214 253 262 288 548 585 599 613 664 682 698 725 819 927 941 966 987 1015 1041 1054 1058 1104 1144 1167 1177 1190 1209 1388 1422 1438 1496 1505 1613 1621 1684 1710 1714 1744 1814 1860 1948 1952 2022 2051 2070 2086 2097 2112 2158 2226 2...
Judge Output
7372
75 76 154 214 253 262 288 548 585 599 613 664 682 698 725 819 927 941 966 987 1015 1041 1054 1058 1104 1144 1167 1177 1190 1209 1388 1422 1438 1496 1505 1613 1621 1684 1710 1714 1744 1814 1860 1948 1952 2022 2051 2070 2086 2097 2112 2158 2226 2...
Checker Message
The contestent found 7372 winning projects
Test Case #63
274 ms
63.5 MB
Accepted
Input
1000000 200000
40010 1 8 11 12 32 33 36 38 44 55 56 57 60 62 66 67 80 81 85 87 88 89 91 92 95 98 105 106 120 123 125 126 127 128 133 138 139 153 155 157 163 165 167 170 174 195 207 237 238 243 245 246 249 267 268 270 271 272 282 291 295 313 314 315 ...
Output
7256
30 52 101 125 126 289 305 430 544 559 590 594 599 673 703 825 902 949 952 972 1065 1067 1103 1114 1173 1213 1239 1315 1345 1443 1467 1471 1534 1538 1579 1645 1668 1706 1819 1845 1854 1947 1978 1983 2014 2039 2094 2098 2115 2138 2221 2247 2355 2...
Judge Output
7256
30 52 101 125 126 289 305 430 544 559 590 594 599 673 703 825 902 949 952 972 1065 1067 1103 1114 1173 1213 1239 1315 1345 1443 1467 1471 1534 1538 1579 1645 1668 1706 1819 1845 1854 1947 1978 1983 2014 2039 2094 2098 2115 2138 2221 2247 2355 2...
Checker Message
The contestent found 7256 winning projects
Test Case #64
274 ms
63.5 MB
Accepted
Input
1000000 200000
39715 10 16 17 25 26 30 35 38 44 49 54 56 66 69 74 75 80 85 90 94 99 108 114 119 125 127 131 133 140 142 145 147 153 159 164 165 166 167 171 178 182 183 186 188 195 196 199 201 212 214 216 224 226 235 236 238 239 242 249 250 253 256 2...
Output
7100
117 188 213 328 563 649 670 705 712 781 873 935 955 1055 1083 1153 1158 1172 1174 1245 1259 1454 1588 1677 1695 1894 1919 1976 2076 2132 2145 2162 2277 2279 2400 2747 2753 2802 2854 2978 2989 3002 3027 3114 3202 3229 3296 3386 3545 3705 3782 38...
Judge Output
7100
117 188 213 328 563 649 670 705 712 781 873 935 955 1055 1083 1153 1158 1172 1174 1245 1259 1454 1588 1677 1695 1894 1919 1976 2076 2132 2145 2162 2277 2279 2400 2747 2753 2802 2854 2978 2989 3002 3027 3114 3202 3229 3296 3386 3545 3705 3782 38...
Checker Message
The contestent found 7100 winning projects
Test Case #65
273 ms
63.5 MB
Accepted
Input
1000000 200000
40255 2 5 14 17 25 28 33 43 54 70 82 84 85 86 87 90 92 94 100 103 104 109 110 117 126 134 137 138 145 146 150 154 158 172 185 187 197 198 205 206 209 213 217 220 228 230 234 235 244 247 254 255 260 261 264 266 268 270 271 277 279 282 ...
Output
7134
101 125 146 166 265 303 310 431 446 525 630 724 730 759 1269 1407 1457 1492 1657 1727 1852 1996 2032 2144 2148 2199 2240 2243 2269 2296 2306 2326 2330 2331 2342 2364 2430 2476 2484 2532 2619 2849 2878 2910 2920 3087 3133 3198 3290 3386 3439 34....
Judge Output
7134
101 125 146 166 265 303 310 431 446 525 630 724 730 759 1269 1407 1457 1492 1657 1727 1852 1996 2032 2144 2148 2199 2240 2243 2269 2296 2306 2326 2330 2331 2342 2364 2430 2476 2484 2532 2619 2849 2878 2910 2920 3087 3133 3198 3290 3386 3439 34...
Checker Message
The contestent found 7134 winning projects
Test Case #66
275 ms
63.5 MB
Accepted
Input
1000000 200000
40090 3 7 10 20 24 28 34 35 37 42 46 53 64 68 74 86 89 117 118 127 130 136 138 139 141 142 146 157 170 178 186 187 188 196 201 211 212 214 215 220 222 225 227 243 244 249 256 264 265 267 289 291 297 299 301 302 304 306 308 320 325 341...
Output
7305
35 94 102 112 122 351 375 438 469 577 594 604 612 616 636 701 747 773 830 834 835 864 890 1032 1209 1213 1235 1280 1310 1365 1454 1514 1590 1699 1774 1778 1869 1903 1936 1962 1975 2061 2115 2204 2205 2258 2485 2572 2611 2638 2652 2719 2865 2922...
Judge Output
7305
35 94 102 112 122 351 375 438 469 577 594 604 612 616 636 701 747 773 830 834 835 864 890 1032 1209 1213 1235 1280 1310 1365 1454 1514 1590 1699 1774 1778 1869 1903 1936 1962 1975 2061 2115 2204 2205 2258 2485 2572 2611 2638 2652 2719 2865 2922...
Checker Message
The contestent found 7305 winning projects
Test Case #67
274 ms
63.5 MB
Accepted
Input
1000000 200000
40107 1 2 5 12 17 19 20 26 29 39 42 51 53 70 73 78 81 89 94 102 128 136 143 147 154 156 158 161 163 165 172 175 178 179 190 204 206 207 212 218 219 237 248 272 280 283 289 292 299 304 306 313 316 331 335 337 341 344 353 368 369 389 3...
Output
7097
33 61 104 212 236 297 367 640 684 914 921 966 1028 1068 1107 1113 1134 1155 1164 1220 1264 1274 1385 1443 1505 1558 1560 1656 1734 1745 1791 1834 1836 1840 2052 2080 2094 2122 2234 2527 2652 2660 2693 2724 2779 2930 3003 3128 3550 3579 3593 37....
Judge Output
7097
33 61 104 212 236 297 367 640 684 914 921 966 1028 1068 1107 1113 1134 1155 1164 1220 1264 1274 1385 1443 1505 1558 1560 1656 1734 1745 1791 1834 1836 1840 2052 2080 2094 2122 2234 2527 2652 2660 2693 2724 2779 2930 3003 3128 3550 3579 3593 37...
Checker Message
The contestent found 7097 winning projects
Test Case #68
275 ms
63.7 MB
Accepted
Input
1000000 200000
40082 8 16 25 28 33 43 52 55 56 58 61 80 81 94 97 100 102 117 118 120 124 125 126 148 155 161 162 166 174 183 196 197 201 202 206 213 217 224 225 227 240 244 252 253 270 285 306 308 315 317 321 329 337 340 349 352 354 356 357 359 360 ...
Output
7351
6 30 100 111 315 486 487 506 513 538 622 643 712 722 820 830 887 947 1008 1208 1289 1398 1425 1482 1556 1605 1634 1669 1691 1695 1737 1744 1775 1907 2015 2051 2177 2343 2487 2643 2646 2759 2814 2884 2923 3074 3201 3257 3391 3392 3466 3550 3592 ...
Judge Output
7351
6 30 100 111 315 486 487 506 513 538 622 643 712 722 820 830 887 947 1008 1208 1289 1398 1425 1482 1556 1605 1634 1669 1691 1695 1737 1744 1775 1907 2015 2051 2177 2343 2487 2643 2646 2759 2814 2884 2923 3074 3201 3257 3391 3392 3466 3550 3592 ...
Checker Message
The contestent found 7351 winning projects
Test Case #69
274 ms
63.5 MB
Accepted
Input
1000000 200000
40164 5 14 17 26 28 43 56 60 75 78 81 83 87 88 90 91 98 105 114 120 124 135 146 148 149 150 156 158 164 165 178 189 195 201 202 207 211 212 213 229 239 240 250 252 258 263 265 267 273 278 279 286 287 295 303 316 322 330 333 336 337 3...
Output
7349
60 76 185 240 446 618 667 691 751 802 820 916 925 948 1126 1130 1247 1285 1288 1326 1404 1435 1445 1693 1728 1875 1933 1963 2248 2281 2283 2383 2405 2417 2473 2579 2725 2754 2775 2853 2899 2969 2993 2995 3059 3163 3166 3176 3219 3228 3282 3305 ...
Judge Output
7349
60 76 185 240 446 618 667 691 751 802 820 916 925 948 1126 1130 1247 1285 1288 1326 1404 1435 1445 1693 1728 1875 1933 1963 2248 2281 2283 2383 2405 2417 2473 2579 2725 2754 2775 2853 2899 2969 2993 2995 3059 3163 3166 3176 3219 3228 3282 3305 ...
Checker Message
The contestent found 7349 winning projects
Test Case #70
272 ms
63.5 MB
Accepted
Input
1000000 200000
39982 6 11 12 21 33 36 39 46 50 59 61 64 75 80 86 90 92 94 102 103 105 112 117 125 129 130 133 148 155 158 172 183 191 195 196 197 201 202 203 213 214 217 219 229 234 237 247 255 258 263 265 268 269 274 280 283 290 295 296 305 307 309...
Output
7137
148 279 492 505 633 712 717 793 808 827 894 955 971 1027 1071 1175 1267 1293 1308 1334 1627 1779 1825 1864 1883 1919 1946 1969 2015 2066 2094 2122 2158 2209 2240 2447 2461 2490 2492 2557 2562 2603 2678 2685 2975 3011 3071 3096 3116 3120 3148 33...
Judge Output
7137
148 279 492 505 633 712 717 793 808 827 894 955 971 1027 1071 1175 1267 1293 1308 1334 1627 1779 1825 1864 1883 1919 1946 1969 2015 2066 2094 2122 2158 2209 2240 2447 2461 2490 2492 2557 2562 2603 2678 2685 2975 3011 3071 3096 3116 3120 3148 33...
Checker Message
The contestent found 7137 winning projects
Test Case #71
272 ms
63.5 MB
Accepted
Input
1000000 200000
40360 6 9 22 29 33 38 43 52 57 59 62 63 70 79 85 86 91 92 97 99 100 108 110 116 121 122 125 134 137 138 154 156 157 159 161 163 166 169 171 182 190 191 197 198 199 214 220 225 231 234 237 238 239 243 251 269 284 295 323 336 340 341 3...
Output
7220
183 263 302 309 312 337 563 730 740 758 819 853 856 905 1002 1028 1063 1155 1193 1196 1263 1393 1410 1571 1630 1727 1779 1905 1960 2061 2094 2102 2160 2184 2218 2259 2306 2310 2394 2433 2435 2483 2513 2590 2605 2607 2775 2831 2858 2972 2994 30....
Judge Output
7220
183 263 302 309 312 337 563 730 740 758 819 853 856 905 1002 1028 1063 1155 1193 1196 1263 1393 1410 1571 1630 1727 1779 1905 1960 2061 2094 2102 2160 2184 2218 2259 2306 2310 2394 2433 2435 2483 2513 2590 2605 2607 2775 2831 2858 2972 2994 30...
Checker Message
The contestent found 7220 winning projects
Test Case #72
272 ms
63.5 MB
Accepted
Input
1000000 200000
39824 4 5 9 15 16 21 29 37 38 43 48 58 59 61 71 76 84 88 98 105 107 109 122 126 127 133 135 136 141 143 151 156 160 164 170 171 185 191 199 201 205 209 217 221 223 227 229 242 246 248 252 254 264 273 280 284 286 290 294 306 307 310 3...
Output
7148
108 159 211 280 338 398 528 632 635 663 670 673 703 843 903 915 958 964 967 972 1068 1173 1196 1208 1255 1284 1378 1471 1604 1614 1665 1694 1745 1775 1915 2084 2093 2095 2103 2151 2218 2257 2305 2336 2370 2374 2502 2573 2694 2758 2890 2976 3127...
Judge Output
7148
108 159 211 280 338 398 528 632 635 663 670 673 703 843 903 915 958 964 967 972 1068 1173 1196 1208 1255 1284 1378 1471 1604 1614 1665 1694 1745 1775 1915 2084 2093 2095 2103 2151 2218 2257 2305 2336 2370 2374 2502 2573 2694 2758 2890 2976 3127...
Checker Message
The contestent found 7148 winning projects
Test Case #73
275 ms
63.5 MB
Accepted
Input
1000000 200000
40131 2 3 8 21 25 28 30 36 37 38 46 47 50 51 55 64 70 80 82 90 92 94 100 105 114 115 117 126 136 141 145 146 147 148 153 188 190 191 197 211 214 215 216 218 220 222 225 228 232 233 250 251 252 253 255 257 258 264 265 267 274 279 280 2...
Output
7148
39 102 141 171 217 256 270 324 375 397 444 602 614 710 715 751 779 821 830 883 1031 1055 1364 1418 1493 1610 1617 1665 1681 1844 1931 1937 1978 1983 1988 2205 2230 2275 2337 2366 2437 2481 2519 2807 2989 3024 3036 3038 3097 3193 3227 3350 3371 ...
Judge Output
7148
39 102 141 171 217 256 270 324 375 397 444 602 614 710 715 751 779 821 830 883 1031 1055 1364 1418 1493 1610 1617 1665 1681 1844 1931 1937 1978 1983 1988 2205 2230 2275 2337 2366 2437 2481 2519 2807 2989 3024 3036 3038 3097 3193 3227 3350 3371 ...
Checker Message
The contestent found 7148 winning projects
Test Case #74
273 ms
63.5 MB
Accepted
Input
1000000 200000
40140 4 7 9 27 31 38 42 45 48 53 57 62 65 68 73 75 76 79 91 99 107 108 119 136 141 146 147 152 156 157 160 167 168 179 183 186 187 192 200 201 208 217 227 233 235 243 247 253 260 267 270 272 274 277 282 284 302 305 310 313 331 334 335...
Output
7285
22 33 248 372 470 478 496 510 560 635 657 707 721 740 742 814 889 930 960 1411 1439 1457 1472 1506 1635 1637 1668 1702 1748 1875 1876 1988 2150 2364 2365 2392 2453 2481 2522 2600 2606 2619 2725 2738 2795 2914 3077 3109 3163 3181 3275 3296 3300 ...
Judge Output
7285
22 33 248 372 470 478 496 510 560 635 657 707 721 740 742 814 889 930 960 1411 1439 1457 1472 1506 1635 1637 1668 1702 1748 1875 1876 1988 2150 2364 2365 2392 2453 2481 2522 2600 2606 2619 2725 2738 2795 2914 3077 3109 3163 3181 3275 3296 3300 ...
Checker Message
The contestent found 7285 winning projects
Test Case #75
274 ms
63.5 MB
Accepted
Input
1000000 200000
39737 7 10 17 18 20 29 34 38 46 52 54 59 65 66 73 74 76 78 80 81 93 98 107 110 112 116 117 119 121 126 127 148 152 157 159 163 166 173 180 184 186 188 192 211 216 217 221 228 236 247 256 270 273 286 294 296 305 311 317 323 329 331 333...
Output
7069
136 177 232 291 326 402 508 553 636 651 652 699 716 775 776 834 876 902 952 966 1033 1084 1085 1101 1128 1182 1214 1238 1273 1278 1292 1333 1341 1440 1687 1753 1778 1792 1821 1950 1980 1983 2000 2150 2182 2214 2217 2219 2231 2307 2366 2429 2436...
Judge Output
7069
136 177 232 291 326 402 508 553 636 651 652 699 716 775 776 834 876 902 952 966 1033 1084 1085 1101 1128 1182 1214 1238 1273 1278 1292 1333 1341 1440 1687 1753 1778 1792 1821 1950 1980 1983 2000 2150 2182 2214 2217 2219 2231 2307 2366 2429 2436...
Checker Message
The contestent found 7069 winning projects
Test Case #76
276 ms
63.7 MB
Accepted
Input
1000000 200000
39921 9 11 12 16 20 22 25 33 35 41 44 45 67 70 71 73 75 81 86 87 94 95 97 99 101 102 105 110 112 115 116 117 125 129 130 132 133 140 155 156 158 160 166 167 168 169 171 176 190 192 194 204 236 238 239 241 242 244 263 267 275 285 291 2...
Output
7246
5 60 137 293 306 316 317 386 403 452 597 622 624 726 888 907 958 1038 1078 1094 1105 1118 1130 1202 1222 1288 1304 1305 1310 1393 1414 1426 1518 1521 1574 1700 1732 1789 1811 1814 1824 1876 1889 1932 1945 2007 2011 2089 2101 2119 2125 2232 2246...
Judge Output
7246
5 60 137 293 306 316 317 386 403 452 597 622 624 726 888 907 958 1038 1078 1094 1105 1118 1130 1202 1222 1288 1304 1305 1310 1393 1414 1426 1518 1521 1574 1700 1732 1789 1811 1814 1824 1876 1889 1932 1945 2007 2011 2089 2101 2119 2125 2232 2246...
Checker Message
The contestent found 7246 winning projects
Test Case #77
274 ms
63.5 MB
Accepted
Input
1000000 200000
39874 5 9 10 15 21 24 27 28 31 32 39 40 47 57 62 65 67 71 72 76 77 79 83 88 91 93 95 107 113 116 118 127 128 129 132 139 140 147 153 154 162 168 177 178 181 183 204 209 211 212 214 215 217 224 226 242 244 246 248 254 265 267 279 284 2...
Output
7143
74 77 120 130 251 285 453 477 483 494 515 606 620 634 644 768 855 895 929 1147 1158 1174 1232 1235 1292 1295 1358 1482 1495 1660 1689 1796 1841 1944 2051 2148 2277 2289 2298 2303 2313 2326 2390 2409 2417 2432 2457 2475 2596 2644 2936 2959 2983 ...
Judge Output
7143
74 77 120 130 251 285 453 477 483 494 515 606 620 634 644 768 855 895 929 1147 1158 1174 1232 1235 1292 1295 1358 1482 1495 1660 1689 1796 1841 1944 2051 2148 2277 2289 2298 2303 2313 2326 2390 2409 2417 2432 2457 2475 2596 2644 2936 2959 2983 ...
Checker Message
The contestent found 7143 winning projects
Test Case #78
274 ms
63.5 MB
Accepted
Input
1000000 200000
40336 1 7 9 15 18 26 34 40 45 47 51 55 68 72 76 83 86 89 94 97 103 111 114 117 120 126 132 138 142 145 148 155 156 159 164 168 177 178 179 198 205 209 212 218 222 223 224 225 232 237 244 260 266 275 281 285 288 293 299 302 305 309 311...
Output
7193
31 57 106 123 175 179 345 382 404 499 502 508 521 562 633 802 894 938 1223 1235 1405 1704 1761 1821 1829 1857 1919 1928 1962 2176 2260 2320 2349 2379 2524 2585 2621 2651 2730 2831 2949 2959 2964 2985 2992 3003 3037 3049 3059 3164 3357 3507 3533...
Judge Output
7193
31 57 106 123 175 179 345 382 404 499 502 508 521 562 633 802 894 938 1223 1235 1405 1704 1761 1821 1829 1857 1919 1928 1962 2176 2260 2320 2349 2379 2524 2585 2621 2651 2730 2831 2949 2959 2964 2985 2992 3003 3037 3049 3059 3164 3357 3507 3533...
Checker Message
The contestent found 7193 winning projects
Test Case #79
273 ms
63.5 MB
Accepted
Input
1000000 200000
39971 2 3 9 12 13 16 18 22 31 40 56 58 61 76 80 83 90 94 102 105 107 121 126 136 139 141 145 149 152 154 158 164 169 171 179 182 192 193 196 208 210 223 228 230 232 237 241 244 247 248 251 259 281 284 288 293 294 313 315 319 323 325 3...
Output
7295
41 48 70 95 113 159 220 363 403 438 482 520 533 540 576 584 597 634 663 678 749 792 825 880 904 914 916 918 963 1035 1055 1118 1204 1208 1230 1293 1366 1394 1429 1454 1517 1571 1607 1864 1917 1918 1940 2026 2028 2046 2097 2122 2151 2221 2326 23...
Judge Output
7295
41 48 70 95 113 159 220 363 403 438 482 520 533 540 576 584 597 634 663 678 749 792 825 880 904 914 916 918 963 1035 1055 1118 1204 1208 1230 1293 1366 1394 1429 1454 1517 1571 1607 1864 1917 1918 1940 2026 2028 2046 2097 2122 2151 2221 2326 23...
Checker Message
The contestent found 7295 winning projects
Test Case #80
274 ms
63.6 MB
Accepted
Input
1000000 200000
40199 2 11 13 19 36 44 48 52 56 62 71 72 79 81 85 86 87 102 105 108 113 116 120 124 126 127 131 134 139 144 145 150 166 173 182 186 193 217 226 230 232 233 234 240 241 246 247 257 258 260 267 271 274 275 282 288 301 314 317 328 331 3...
Output
7511
25 117 195 237 260 267 346 361 402 406 452 536 617 656 675 768 802 837 878 1048 1114 1118 1170 1194 1214 1222 1250 1357 1431 1448 1470 1500 1675 1689 1722 1744 1790 1843 1848 1948 2018 2038 2084 2167 2193 2241 2250 2367 2415 2427 2428 2429 2499...
Judge Output
7511
25 117 195 237 260 267 346 361 402 406 452 536 617 656 675 768 802 837 878 1048 1114 1118 1170 1194 1214 1222 1250 1357 1431 1448 1470 1500 1675 1689 1722 1744 1790 1843 1848 1948 2018 2038 2084 2167 2193 2241 2250 2367 2415 2427 2428 2429 2499...
Checker Message
The contestent found 7511 winning projects
Test Case #81
272 ms
63.5 MB
Accepted
Input
1000000 200000
39979 5 7 17 23 25 26 34 40 44 49 57 62 64 69 74 75 83 84 92 110 126 128 129 136 142 148 157 158 168 184 186 187 190 198 199 203 204 208 222 225 233 238 239 250 252 253 259 261 263 265 283 290 295 296 300 303 304 306 308 313 316 325 3...
Output
7297
24 87 228 285 310 386 394 432 445 509 651 660 888 1099 1104 1143 1144 1254 1287 1404 1444 1480 1511 1720 1800 2006 2016 2048 2105 2107 2135 2214 2220 2239 2491 2512 2538 2618 2852 3017 3042 3066 3170 3226 3281 3300 3379 3440 3635 3676 3687 3688...
Judge Output
7297
24 87 228 285 310 386 394 432 445 509 651 660 888 1099 1104 1143 1144 1254 1287 1404 1444 1480 1511 1720 1800 2006 2016 2048 2105 2107 2135 2214 2220 2239 2491 2512 2538 2618 2852 3017 3042 3066 3170 3226 3281 3300 3379 3440 3635 3676 3687 3688...
Checker Message
The contestent found 7297 winning projects