Advertisement
Guest User

Untitled

a guest
Apr 17th, 2014
144
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.66 KB | None | 0 0
  1. #pragma comment(linker, "/STACK:256000000")
  2.  
  3. #include <iostream>
  4. #include <cstdio>
  5. #include <algorithm>
  6. #include <cmath>
  7. #include <string>
  8. #include <vector>
  9. #include <functional>
  10. #include <cstring>
  11. #include <set>
  12. #include <map>
  13. #include <ctime>
  14. #include <cassert>
  15.  
  16. using namespace std;
  17.  
  18. int main()
  19. {
  20.     int INF = 1000 * 1000 * 1000;
  21.     int n = 100;
  22.     int m = 20;
  23.     cout << n << " " << m << " " << INF << endl;
  24.     for (int i = 0; i < n; ++i)
  25.     {
  26.         cout << INF << " " << INF << " " << m << endl;
  27.         for (int j = 0; j < m; ++j)
  28.         {
  29.             cout << j + 1;
  30.             if (j != m - 1)
  31.                 cout << " ";
  32.         }
  33.         if (i != n - 1)
  34.             cout << endl;
  35.     }
  36.     cout.flush();
  37.     return 0;
  38. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement