fork download
  1. // #pragma GCC optimize("O3,unroll-loops")
  2. // #pragma GCC target("avx,avx2,fma")
  3. #include<bits/stdc++.h>
  4. using namespace std;
  5. #define fast ios_base::sync_with_stdio(false);cout.tie(NULL);cin.tie(NULL);
  6. #define ll long long
  7. #define pb push_back
  8. #define db double
  9. #define fi first
  10. #define se second
  11. #define all(x) (x).begin(),(x).end()
  12. #define rall(x) (x).rbegin(),(x).rend()
  13. #define nl '\n'
  14. #define debug(...) fprintf(stderr, __VA_ARGS__), fflush(stderr)
  15.  
  16. #define time__(d) \
  17.   for ( \
  18.   auto blockTime = make_pair(chrono::high_resolution_clock::now(), true); \
  19.   blockTime.second; \
  20.   debug("%s: %lld ms\n", d, static_cast<long long>(chrono::duration_cast<chrono::milliseconds>(chrono::high_resolution_clock::now() - blockTime.first).count())), blockTime.second = false \
  21.   )
  22. template<typename T>
  23. bool minimise(T &lhs, T rhs) {
  24. if(lhs > rhs) { lhs = rhs; return true; }
  25. return false;
  26. }
  27. template<typename T>
  28. bool maximise(T &lhs, T rhs) {
  29. if(lhs < rhs) { lhs = rhs; return true; }
  30. return false;
  31. }
  32.  
  33. const int M = 1e9+7;
  34. const int N = 3e5+5;
  35. const ll inf = 1e18;
  36. const ll INF = 0x3f;
  37.  
  38. int moveX[] = {0, 0, 1, -1};
  39. int moveY[] = {1, -1, 0, 0};
  40. char moveC[] = {'R', 'L', 'D', 'U'};
  41.  
  42. void indef(){
  43. #define JA "WF"
  44. if(fopen(JA ".inp", "r")){
  45. freopen(JA ".inp","r",stdin);
  46. freopen(JA ".out","w",stdout);
  47. }
  48. }
  49.  
  50. void solve(int id){
  51.  
  52. }
  53. int main(){
  54. fast;
  55. indef();
  56. int tt=1;
  57. cin >> tt;
  58. time__("solve") {
  59. for(int t = 1; t <= tt; t++) solve(t);
  60. }
  61. }
Success #stdin #stdout #stderr 0.01s 5288KB
stdin
Standard input is empty
stdout
Standard output is empty
stderr
solve: 0 ms