imsuck's library

This documentation is automatically generated by competitive-verifier/competitive-verifier

View the Project on GitHub imsuck/library

:warning: other/main_top.hpp

Code

#ifdef READ_MAIN

fn solve() {

}

fn main() -> i32 {
    cin.tie(nullptr)->sync_with_stdio(false);
    i32 t = 1;
    cin >> t;
    while (t--) solve();
}

#else
#define READ_MAIN

#include <bits/stdc++.h>
using namespace std;

using i32 = int32_t;
using u32 = uint32_t;
using i64 = int64_t;
using u64 = uint64_t;
using str = string;
template<class T> using vec = vector<T>;
template<class Con> inline int len(const Con &c) { return c.size(); }
#define all(a) begin(a), end(a)
#define pb push_back
#define eb emplace_back
#define pp pop_back
#define fn auto

// clang-format off
template<class... Ts> inline fn read(Ts &&...args) { ((cin >> args), ...); }
template<class... Ts> inline fn print(Ts &&...args) { ((cout << args << " "), ...); }
template<class... Ts> inline fn println(Ts &&...args) { ((cout << args << " "), ...), cout << "\n"; }
#define rd(ty, a...) ty a; read(a)
// clang-format on

#ifndef LOCAL
#define dbg(...) 42
#define mark_dbg() if (false)
#endif

#include __FILE__
#endif
#line 1 "other/main_top.hpp"
#ifdef READ_MAIN

fn solve() {

}

fn main() -> i32 {
    cin.tie(nullptr)->sync_with_stdio(false);
    i32 t = 1;
    cin >> t;
    while (t--) solve();
}

#else
#define READ_MAIN

#include <bits/stdc++.h>
using namespace std;

using i32 = int32_t;
using u32 = uint32_t;
using i64 = int64_t;
using u64 = uint64_t;
using str = string;
template<class T> using vec = vector<T>;
template<class Con> inline int len(const Con &c) { return c.size(); }
#define all(a) begin(a), end(a)
#define pb push_back
#define eb emplace_back
#define pp pop_back
#define fn auto

// clang-format off
template<class... Ts> inline fn read(Ts &&...args) { ((cin >> args), ...); }
template<class... Ts> inline fn print(Ts &&...args) { ((cout << args << " "), ...); }
template<class... Ts> inline fn println(Ts &&...args) { ((cout << args << " "), ...), cout << "\n"; }
#define rd(ty, a...) ty a; read(a)
// clang-format on

#ifndef LOCAL
#define dbg(...) 42
#define mark_dbg() if (false)
#endif

#include __FILE__
#endif
Back to top page