Guest User

Untitled

a guest
Jun 24th, 2018
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.86 KB | None | 0 0
  1. #include <iostream>
  2. #include <fstream>
  3. #include <iomanip>
  4.  
  5. #include <vector>
  6. #include <set>
  7. #include <bitset>
  8. #include <map>
  9. #include <deque>
  10. #include <string>
  11.  
  12. #include <algorithm>
  13. #include <numeric>
  14. #include <random>
  15.  
  16. #include <cstdio>
  17. #include <cassert>
  18. #include <cstdlib>
  19. #include <cstring>
  20. #include <ctime>
  21. #include <cmath>
  22.  
  23. using namespace std;
  24.  
  25. #define forn(i, n) for (ll i = 0; i < (ll) (n); ++i)
  26. #define sz(a) static_cast<int>((a).size())
  27. #define endl '\n'
  28.  
  29. using ll = long long;
  30.  
  31. const ll INF = static_cast<ll>(1e9) + 7;
  32. const int MAXN = static_cast<int>(4e5) + 17;
  33.  
  34. int n;
  35. int a[MAXN];
  36.  
  37. bool read() {
  38. if (!(cin >> n))
  39. return false;
  40.  
  41. forn (i, n)
  42. cin >> a[i];
  43.  
  44. return true;
  45. }
  46.  
  47. void solve() {
  48.  
  49. ll ans = 0;
  50.  
  51. }
  52.  
  53. int main() {
  54. cin.tie(nullptr);
  55. std::ios_base::sync_with_stdio(false);
  56.  
  57.  
  58. while (read())
  59. solve();
  60.  
  61. return 0;
  62. };
Add Comment
Please, Sign In to add comment