Youthful-Passion-Fruit-teambook

This documentation is automatically generated by online-judge-tools/verification-helper

View the Project on GitHub AlexanderNekrasov/Youthful-Passion-Fruit-teambook

:warning: templates/gen.cpp

Code

#include <bits/stdc++.h>

using namespace std;

using ll = long long;
using ull = unsigned long long;
using ld = long double;
#define all(a) (a).begin(), (a).end()

#define int ll

// mt19937 rnd(228);
mt19937 rnd(chrono::steady_clock::now().time_since_epoch().count());

int get(int l, int r) { return rnd() % (r - l + 1) + l; }

const int N = 10;
const int MAXN = N;
const int C = 10;
const int INF = 1e9 + 228 + 1337;

void tryBuild() {
    // тут делать тест
    int n = get(1, N);
    cout << n << endl;
    exit(0);
}

signed main() {
    ios_base::sync_with_stdio(0), cin.tie(0), cout.tie(0), cout.precision(20),
        cout.setf(ios::fixed);
    while (true) {
        tryBuild();
    }
    return 0;
}
#line 1 "templates/gen.cpp"
#include <bits/stdc++.h>

using namespace std;

using ll = long long;
using ull = unsigned long long;
using ld = long double;
#define all(a) (a).begin(), (a).end()

#define int ll

// mt19937 rnd(228);
mt19937 rnd(chrono::steady_clock::now().time_since_epoch().count());

int get(int l, int r) { return rnd() % (r - l + 1) + l; }

const int N = 10;
const int MAXN = N;
const int C = 10;
const int INF = 1e9 + 228 + 1337;

void tryBuild() {
    // тут делать тест
    int n = get(1, N);
    cout << n << endl;
    exit(0);
}

signed main() {
    ios_base::sync_with_stdio(0), cin.tie(0), cout.tie(0), cout.precision(20),
        cout.setf(ios::fixed);
    while (true) {
        tryBuild();
    }
    return 0;
}
Back to top page