# | TimeUTC-0 | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
1105520 | _callmelucian | Bliskost (COI23_bliskost) | C++14 | 748 ms | 47832 KiB |
This submission is migrated from previous version of oj.uz, which used different machine for grading. This submission may have different result if resubmitted.
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef long double ld;
typedef pair<ll,ll> pl;
typedef pair<int,int> pii;
typedef tuple<int,int,int> tt;
#define all(a) a.begin(), a.end()
#define filter(a) a.erase(unique(all(a)), a.end())
int add (int a, int b) {
assert(0 <= a && a < 26 && 0 <= b && b < 26);
return a + b - (a + b < 26 ? 0 : 26);
}
int sub (int a, int b) {
assert(0 <= a && a < 26 && 0 <= b && b < 26);
return a - b + (a - b >= 0 ? 0 : 26);
}
int mul (int a, int b) {
assert(0 <= a && a < 26 && 0 <= b && b < 26);
return 1LL * a * b % 26;
}
struct IT {
vector<pii> tr;
IT (int sz) : tr(4 * sz) {}
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |