fork download
  1. /*
  2.   (In the name of Allah, the Most Gracious, the Most Merciful)
  3.  
  4.  
  5.  
  6. */
  7. #include <algorithm>
  8. #include <array>
  9. #include <bitset>
  10. #include <cassert>
  11. #include <chrono>
  12. #include <climits>
  13. #include <cmath>
  14. #include <complex>
  15. #include <cstring>
  16. #include <functional>
  17. #include <iomanip>
  18. #include <iostream>
  19. #include <map>
  20. #include <numeric>
  21. #include <queue>
  22. #include <random>
  23. #include <set>
  24. #include <utility>
  25. #include <vector>
  26. using namespace std;
  27.  
  28. #define rep(i,a,n) for (int i=a;i<n;i++)
  29. #define per(i,a,n) for (int i=n-1;i>=a;i--)
  30. #define pb push_back
  31. #define endl "\n"
  32. #define sz(x) (int) (x).size()
  33. #define vi vector<int>
  34. #define ll long long
  35. #define db double
  36. #define pi pair<int, int>
  37. #define F first
  38. #define Sc second
  39. #define bg(x) begin(x)
  40. #define all(x) bg(x), end(x)
  41. #define rall(x) x.rbegin(), x.rend()
  42. #define sor(x) sort(all(x))
  43. #define rsz resize
  44. #define ins insert
  45. #define ft front()
  46. #define bk back()
  47. #define pb push_back
  48. #define eb emplace_back
  49. #define pf push_front
  50. #define mx(v) *max_element(v.begin(),v.end())
  51. #define mn(v) *min_element(v.begin(),v.end())
  52. #define sum(v) accumulate(v.begin(),v.end(),0)
  53. #define uni(v) v.erase(unique(v.begin(),v.end()),v.end());
  54. #define sum(v) accumulate(v.begin(),v.end(),0)
  55. #define test() int _; cin >> _; while(_--)
  56. #define gcd(a,b) __gcd(a,b);
  57. #define lcm(a,b) (a/(gcd(a,b))*b);
  58. #define me(a, x) memset(a, x, sizeof(a))
  59. #define yes cout << "yes" << endl
  60. #define no cout << "no" << endl
  61. #define Yes cout << "Yes" << endl
  62. #define No cout << "No" << endl
  63. #define YES cout << "YES" << endl
  64. #define NO cout << "NO" << endl
  65.  
  66. const int MOD = (int)1e9 + 7; // 998244353;
  67. const int MX = (int)2e5 + 5;
  68.  
  69.  
  70. int main(){
  71. ios::sync_with_stdio(false);
  72. cin.tie(nullptr);
  73.  
  74.  
  75. }
Success #stdin #stdout 0.01s 5308KB
stdin
Standard input is empty
stdout
Standard output is empty