Advertisement
Guest User

Untitled

a guest
Feb 11th, 2016
285
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 1.24 KB | None | 0 0
  1. #include <algorithm>
  2. #include <iostream>
  3. #include <assert.h>
  4. #include <stdlib.h>
  5. #include <cstring>
  6. #include <cstdlib>  
  7. #include <stdio.h>
  8. #include <cstdio>
  9. #include <string>
  10. #include <vector>
  11. #include <deque>
  12. #include <queue>
  13. #include <cmath>
  14. #include <math.h>
  15. #include <map>
  16. #include <set>
  17. #include <time.h>
  18. #include <bitset>
  19.  
  20. using namespace std;
  21. #define y1 google
  22. #define INF 1000000000000000000LL
  23. #define inf 2147483647
  24. #define MOD 1000000007
  25. #define pf push_front
  26. #define pb push_back
  27. #define mp make_pair
  28. #define FI first
  29. #define SI second
  30. #define fname ""
  31.                                
  32. using namespace std;
  33.  
  34. typedef long long ll;
  35.  
  36. const int N = 200005;
  37. const double eps = 1e-9;
  38.  
  39. int was[N];
  40. int main(){
  41.     //srand(time(NULL));
  42.     freopen(".in", "w", stdout);
  43.     ios_base::sync_with_stdio(0);    
  44.     long long x = 0;
  45.         asm("rdtsc" : "=A"(x));
  46.         srand(x);
  47.     cout << 1441 << endl;
  48.     for (int ob = 0; ob <= 1440; ob++) {
  49.         int th = ob / 60 % 24;
  50.         int ts = ob % 60;
  51.         if (th < 10)
  52.             cout << 0;
  53.         cout << th;
  54.         cout << ":";
  55.         if (ts < 10)
  56.             cout << 0;
  57.         cout << ts;
  58.         cout << endl;
  59.         cout << rand() % 10001 << endl;
  60.     }
  61.     return 0;  
  62. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement