SHARE
TWEET

Untitled

a guest May 26th, 2015 253 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include<bits/stdc++.h>
  2. #include "testlib.h"
  3. using namespace std;
  4. int main(int argc, char* argv[])
  5. {
  6.     freopen("Inputfile3.txt","w",stdout);
  7.     printf("500 500 5000\n");
  8.     for(int i=0;i<500;i++){
  9.     for(int j=0;j<500;j++)
  10.       {
  11.  
  12.          printf("0 ");
  13.       }
  14.       printf("\n");
  15.     }
  16.     for(int i=0;i<5000;i++)
  17.        {
  18.            int a=rnd.next(2,499);
  19.             int b=rnd.next(2,499);
  20.           printf("%d %d\n",a,b);
  21.        }
  22.     return 0;
  23. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top