Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <bits/stdc++.h>
- using namespace std;
- typedef long long ll;
- #define long ll
- #define all(x) begin(x), end(x)
- const int ML = 60e6;
- char pool[ML];
- char *pool_ptr = pool;
- void *operator new(size_t n) {
- void *res = (void *)pool_ptr;
- pool_ptr += n;
- return res;
- }
- void operator delete(void *) {}
- void operator delete(void *, size_t) {}
- int main() {
- #ifdef LC
- assert(freopen("input.txt", "r", stdin));
- #endif
- ios::sync_with_stdio(false);
- cin.tie(nullptr);
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement