# | TimeUTC-0 | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
198039 | QCFium | Bridges (APIO19_bridges) | C++14 | 3067 ms | 29856 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>
#ifdef _WIN32
# define getchar_fast _getchar_nolock
#else
# define getchar_fast getchar_unlocked
#endif
int ri() {
int r = 0, c, s = 0;
for (;;) {
c = getchar_fast();
if (c == '-') {
s = 1;
break;
}
if (c <= '9' && c >= '0') {
r = c - '0';
break;
}
}
for (;;) {
c = getchar_fast();
if (c < '0' || c > '9') break;
r = r * 10 + c - '0';
}
if (s) r = -r;
return r;
}
struct UnionFind {
std::vector<int> data;
# | 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... |