Guest User

Untitled

a guest
May 4th, 2020
86
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #ifdef DEBUG
  2. #define _GLIBCXX_DEBUG
  3. #endif
  4.  
  5. #include <bits/stdc++.h>
  6.  
  7. using namespace std;
  8.  
  9. typedef long double ld;
  10.  
  11. #ifdef DEBUG
  12. #define eprintf(...) fprintf(stderr, __VA_ARGS__), fflush(stderr)
  13. #else
  14. #define eprintf(...) ;
  15. #endif
  16.  
  17. #define sz(x) ((int) (x).size())
  18. #define TASK "text"
  19.  
  20. const int inf = (int) 1.01e9;
  21. const long long infll = (long long) 1.01e18;
  22. const ld eps = 1e-9;
  23. const ld pi = acos((ld) -1);
  24.  
  25. mt19937 mrand(chrono::steady_clock::now().time_since_epoch().count());
  26.  
  27. int rnd(int x) {
  28.   return mrand() % x;
  29. }
  30.  
  31. void precalc() {
  32. }
  33.  
  34. int n;
  35.  
  36. bool read() {
  37.   if (scanf("%d", &n) < 1) {
  38.     return false;
  39.   }
  40.   return true;
  41. }
  42.  
  43. void solve() {
  44. }
  45.  
  46. int main() {
  47.   precalc();
  48. #ifdef DEBUG
  49.   assert(freopen(TASK ".in", "w", stdout));
  50. #endif
  51.   int n = 500, a = 490, b = 500;
  52.   printf("%d %d %d\n", n, a, b);
  53.   for (int i = 0; i < 5; i++) {
  54.     printf("%d ", rnd(500) + 1);
  55.   }
  56.   for (int i = 0; i < n - 5; i++) {
  57.     printf("1 ");
  58.   }
  59.   printf("\n");
  60.   return 0;
  61. }
RAW Paste Data