Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <bits/stdc++.h>
- using namespace std;
- long long R(int b=62){long long r(0);for(int i=0;i<b;++i)r<<=1,r|=rand()&1;return r;}
- #define r rand()
- int main(void){
- srand(time(0));
- int tt=666;
- printf("%d\n",tt);
- for(int i=0;i<tt;++i){
- int N=rand()%10+1;
- printf("%d\n",N);
- for(int i=0;i<N;++i)printf("%lld%c",R()%int(1e6)+1,i+1==N?10:32);
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment