| 56 | template <typename T> T gcd(T a, T b) { return b ? gcd(b, a % b) : a; } |
| 57 | template <typename T> bool chmin(T &x, const T& y) { if (x > y) { x = y; return true; } return false; } |
| 58 | template <typename T> bool chmax(T &x, const T& y) { if (x < y) { x = y; return true; } return false; } |
| 59 | |
| 60 | auto random_address = [] { char *p = new char; delete p; return (uint64_t) p; }; |
| 61 | mt19937 rng(chrono::steady_clock::now().time_since_epoch().count() * (random_address() | 1)); |
nothing calls this directly
no outgoing calls
no test coverage detected