serna37's Library

Logo

C++ アルゴリズムとデータ構造のライブラリ

View the Project on GitHub serna37/library-cpp

:warning: ฅ^>ω<^ฅ
(library/template.hpp)

Code

/**
 * @brief ฅ^>ω<^ฅ
 * @note https://serna37.github.io/library-cpp/
 */
#include <bits/stdc++.h>
using namespace std;
#define int long long
#define endl "\n"
struct IoSetup {
    IoSetup() {
        cin.tie(0)->sync_with_stdio(0);
        cout << fixed << setprecision(20);
    }
} iosetup;
auto chmax = []<class T>(T &i, const T &j) { return i < j && (i = j, true); };
auto chmin = []<class T>(T &i, const T &j) { return i > j && (i = j, true); };
void solve();
signed main() { solve(); }
#line 1 "library/template.hpp"
/**
 * @brief ฅ^>ω<^ฅ
 * @note https://serna37.github.io/library-cpp/
 */
#include <bits/stdc++.h>
using namespace std;
#define int long long
#define endl "\n"
struct IoSetup {
    IoSetup() {
        cin.tie(0)->sync_with_stdio(0);
        cout << fixed << setprecision(20);
    }
} iosetup;
auto chmax = []<class T>(T &i, const T &j) { return i < j && (i = j, true); };
auto chmin = []<class T>(T &i, const T &j) { return i > j && (i = j, true); };
void solve();
signed main() { solve(); }
Back to top page