Advertisement
Guest User

Untitled

a guest
Apr 17th, 2014
143
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. #ifdef HOME
  21.     freopen("input.txt", "r", stdin);
  22.     freopen("output.txt", "w", stdout);
  23. #endif
  24.     int INF = 1000 * 1000 * 1000;
  25.     int n = 100;
  26.     int m = 20;
  27.     printf("%d %d %d\n", n, m, INF);
  28.     for (int i = 0; i < n; ++i)
  29.     {
  30.         printf("%d %d %d\n", INF, INF, m);
  31.         for (int j = 0; j < m; ++j)
  32.             printf("%d ", j+1);
  33.         printf("\n");
  34.     }
  35.     return 0;
  36. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement