Submission #57857887
Source Code Expand
#line 1 "/home/maspy/compro/library/my_template.hpp"
#if defined(LOCAL)
#include <my_template_compiled.hpp>
#else
// https://codeforces.com/blog/entry/96344
#pragma GCC optimize("Ofast,unroll-loops")
// いまの CF だとこれ入れると動かない?
// #pragma GCC target("avx2,popcnt")
#include <bits/stdc++.h>
using namespace std;
using ll = long long;
using u32 = unsigned int;
using u64 = unsigned long long;
using i128 = __int128;
using u128 = unsigned __int128;
using f128 = __float128;
template <class T>
constexpr T infty = 0;
template <>
constexpr int infty<int> = 1'010'000'000;
template <>
constexpr ll infty<ll> = 2'020'000'000'000'000'000;
template <>
constexpr u32 infty<u32> = infty<int>;
template <>
constexpr u64 infty<u64> = infty<ll>;
template <>
constexpr i128 infty<i128> = i128(infty<ll>) * 2'000'000'000'000'000'000;
template <>
constexpr double infty<double> = infty<ll>;
template <>
constexpr long double infty<long double> = infty<ll>;
using pi = pair<ll, ll>;
using vi = vector<ll>;
template <class T>
using vc = vector<T>;
template <class T>
using vvc = vector<vc<T>>;
template <class T>
using vvvc = vector<vvc<T>>;
template <class T>
using vvvvc = vector<vvvc<T>>;
template <class T>
using vvvvvc = vector<vvvvc<T>>;
template <class T>
using pq = priority_queue<T>;
template <class T>
using pqg = priority_queue<T, vector<T>, greater<T>>;
#define vv(type, name, h, ...) vector<vector<type>> name(h, vector<type>(__VA_ARGS__))
#define vvv(type, name, h, w, ...) vector<vector<vector<type>>> name(h, vector<vector<type>>(w, vector<type>(__VA_ARGS__)))
#define vvvv(type, name, a, b, c, ...) \
vector<vector<vector<vector<type>>>> name(a, vector<vector<vector<type>>>(b, vector<vector<type>>(c, vector<type>(__VA_ARGS__))))
// https://trap.jp/post/1224/
#define FOR1(a) for (ll _ = 0; _ < ll(a); ++_)
#define FOR2(i, a) for (ll i = 0; i < ll(a); ++i)
#define FOR3(i, a, b) for (ll i = a; i < ll(b); ++i)
#define FOR4(i, a, b, c) for (ll i = a; i < ll(b); i += (c))
#define FOR1_R(a) for (ll i = (a)-1; i >= ll(0); --i)
#define FOR2_R(i, a) for (ll i = (a)-1; i >= ll(0); --i)
#define FOR3_R(i, a, b) for (ll i = (b)-1; i >= ll(a); --i)
#define overload4(a, b, c, d, e, ...) e
#define overload3(a, b, c, d, ...) d
#define FOR(...) overload4(__VA_ARGS__, FOR4, FOR3, FOR2, FOR1)(__VA_ARGS__)
#define FOR_R(...) overload3(__VA_ARGS__, FOR3_R, FOR2_R, FOR1_R)(__VA_ARGS__)
#define FOR_subset(t, s) for (ll t = (s); t >= 0; t = (t == 0 ? -1 : (t - 1) & (s)))
#define all(x) x.begin(), x.end()
#define len(x) ll(x.size())
#define elif else if
#define eb emplace_back
#define mp make_pair
#define mt make_tuple
#define fi first
#define se second
#define stoi stoll
int popcnt(int x) { return __builtin_popcount(x); }
int popcnt(u32 x) { return __builtin_popcount(x); }
int popcnt(ll x) { return __builtin_popcountll(x); }
int popcnt(u64 x) { return __builtin_popcountll(x); }
int popcnt_mod_2(int x) { return __builtin_parity(x); }
int popcnt_mod_2(u32 x) { return __builtin_parity(x); }
int popcnt_mod_2(ll x) { return __builtin_parityll(x); }
int popcnt_mod_2(u64 x) { return __builtin_parityll(x); }
// (0, 1, 2, 3, 4) -> (-1, 0, 1, 1, 2)
int topbit(int x) { return (x == 0 ? -1 : 31 - __builtin_clz(x)); }
int topbit(u32 x) { return (x == 0 ? -1 : 31 - __builtin_clz(x)); }
int topbit(ll x) { return (x == 0 ? -1 : 63 - __builtin_clzll(x)); }
int topbit(u64 x) { return (x == 0 ? -1 : 63 - __builtin_clzll(x)); }
// (0, 1, 2, 3, 4) -> (-1, 0, 1, 0, 2)
int lowbit(int x) { return (x == 0 ? -1 : __builtin_ctz(x)); }
int lowbit(u32 x) { return (x == 0 ? -1 : __builtin_ctz(x)); }
int lowbit(ll x) { return (x == 0 ? -1 : __builtin_ctzll(x)); }
int lowbit(u64 x) { return (x == 0 ? -1 : __builtin_ctzll(x)); }
template <typename T>
T floor(T a, T b) {
return a / b - (a % b && (a ^ b) < 0);
}
template <typename T>
T ceil(T x, T y) {
return floor(x + y - 1, y);
}
template <typename T>
T bmod(T x, T y) {
return x - y * floor(x, y);
}
template <typename T>
pair<T, T> divmod(T x, T y) {
T q = floor(x, y);
return {q, x - q * y};
}
template <typename T, typename U>
T SUM(const vector<U> &A) {
T sm = 0;
for (auto &&a: A) sm += a;
return sm;
}
#define MIN(v) *min_element(all(v))
#define MAX(v) *max_element(all(v))
#define LB(c, x) distance((c).begin(), lower_bound(all(c), (x)))
#define UB(c, x) distance((c).begin(), upper_bound(all(c), (x)))
#define UNIQUE(x) sort(all(x)), x.erase(unique(all(x)), x.end()), x.shrink_to_fit()
template <typename T>
T POP(deque<T> &que) {
T a = que.front();
que.pop_front();
return a;
}
template <typename T>
T POP(pq<T> &que) {
T a = que.top();
que.pop();
return a;
}
template <typename T>
T POP(pqg<T> &que) {
T a = que.top();
que.pop();
return a;
}
template <typename T>
T POP(vc<T> &que) {
T a = que.back();
que.pop_back();
return a;
}
template <typename F>
ll binary_search(F check, ll ok, ll ng, bool check_ok = true) {
if (check_ok) assert(check(ok));
while (abs(ok - ng) > 1) {
auto x = (ng + ok) / 2;
(check(x) ? ok : ng) = x;
}
return ok;
}
template <typename F>
double binary_search_real(F check, double ok, double ng, int iter = 100) {
FOR(iter) {
double x = (ok + ng) / 2;
(check(x) ? ok : ng) = x;
}
return (ok + ng) / 2;
}
template <class T, class S>
inline bool chmax(T &a, const S &b) {
return (a < b ? a = b, 1 : 0);
}
template <class T, class S>
inline bool chmin(T &a, const S &b) {
return (a > b ? a = b, 1 : 0);
}
// ? は -1
vc<int> s_to_vi(const string &S, char first_char) {
vc<int> A(S.size());
FOR(i, S.size()) { A[i] = (S[i] != '?' ? S[i] - first_char : -1); }
return A;
}
template <typename T, typename U>
vector<T> cumsum(vector<U> &A, int off = 1) {
int N = A.size();
vector<T> B(N + 1);
FOR(i, N) { B[i + 1] = B[i] + A[i]; }
if (off == 0) B.erase(B.begin());
return B;
}
// stable sort
template <typename T>
vector<int> argsort(const vector<T> &A) {
vector<int> ids(len(A));
iota(all(ids), 0);
sort(all(ids), [&](int i, int j) { return (A[i] == A[j] ? i < j : A[i] < A[j]); });
return ids;
}
// A[I[0]], A[I[1]], ...
template <typename T>
vc<T> rearrange(const vc<T> &A, const vc<int> &I) {
vc<T> B(len(I));
FOR(i, len(I)) B[i] = A[I[i]];
return B;
}
template <typename T, typename... Vectors>
void concat(vc<T> &first, const Vectors &... others) {
vc<T> &res = first;
(res.insert(res.end(), others.begin(), others.end()), ...);
}
#endif
#line 1 "/home/maspy/compro/library/other/io.hpp"
#define FASTIO
#include <unistd.h>
// https://judge.yosupo.jp/submission/21623
namespace fastio {
static constexpr uint32_t SZ = 1 << 17;
char ibuf[SZ];
char obuf[SZ];
char out[100];
// pointer of ibuf, obuf
uint32_t pil = 0, pir = 0, por = 0;
struct Pre {
char num[10000][4];
constexpr Pre() : num() {
for (int i = 0; i < 10000; i++) {
int n = i;
for (int j = 3; j >= 0; j--) {
num[i][j] = n % 10 | '0';
n /= 10;
}
}
}
} constexpr pre;
inline void load() {
memcpy(ibuf, ibuf + pil, pir - pil);
pir = pir - pil + fread(ibuf + pir - pil, 1, SZ - pir + pil, stdin);
pil = 0;
if (pir < SZ) ibuf[pir++] = '\n';
}
inline void flush() {
fwrite(obuf, 1, por, stdout);
por = 0;
}
void rd(char &c) {
do {
if (pil + 1 > pir) load();
c = ibuf[pil++];
} while (isspace(c));
}
void rd(string &x) {
x.clear();
char c;
do {
if (pil + 1 > pir) load();
c = ibuf[pil++];
} while (isspace(c));
do {
x += c;
if (pil == pir) load();
c = ibuf[pil++];
} while (!isspace(c));
}
template <typename T>
void rd_real(T &x) {
string s;
rd(s);
x = stod(s);
}
template <typename T>
void rd_integer(T &x) {
if (pil + 100 > pir) load();
char c;
do
c = ibuf[pil++];
while (c < '-');
bool minus = 0;
if constexpr (is_signed<T>::value || is_same_v<T, i128>) {
if (c == '-') { minus = 1, c = ibuf[pil++]; }
}
x = 0;
while ('0' <= c) { x = x * 10 + (c & 15), c = ibuf[pil++]; }
if constexpr (is_signed<T>::value || is_same_v<T, i128>) {
if (minus) x = -x;
}
}
void rd(int &x) { rd_integer(x); }
void rd(ll &x) { rd_integer(x); }
void rd(i128 &x) { rd_integer(x); }
void rd(u32 &x) { rd_integer(x); }
void rd(u64 &x) { rd_integer(x); }
void rd(u128 &x) { rd_integer(x); }
void rd(double &x) { rd_real(x); }
void rd(long double &x) { rd_real(x); }
void rd(f128 &x) { rd_real(x); }
template <class T, class U>
void rd(pair<T, U> &p) {
return rd(p.first), rd(p.second);
}
template <size_t N = 0, typename T>
void rd_tuple(T &t) {
if constexpr (N < std::tuple_size<T>::value) {
auto &x = std::get<N>(t);
rd(x);
rd_tuple<N + 1>(t);
}
}
template <class... T>
void rd(tuple<T...> &tpl) {
rd_tuple(tpl);
}
template <size_t N = 0, typename T>
void rd(array<T, N> &x) {
for (auto &d: x) rd(d);
}
template <class T>
void rd(vc<T> &x) {
for (auto &d: x) rd(d);
}
void read() {}
template <class H, class... T>
void read(H &h, T &... t) {
rd(h), read(t...);
}
void wt(const char c) {
if (por == SZ) flush();
obuf[por++] = c;
}
void wt(const string s) {
for (char c: s) wt(c);
}
void wt(const char *s) {
size_t len = strlen(s);
for (size_t i = 0; i < len; i++) wt(s[i]);
}
template <typename T>
void wt_integer(T x) {
if (por > SZ - 100) flush();
if (x < 0) { obuf[por++] = '-', x = -x; }
int outi;
for (outi = 96; x >= 10000; outi -= 4) {
memcpy(out + outi, pre.num[x % 10000], 4);
x /= 10000;
}
if (x >= 1000) {
memcpy(obuf + por, pre.num[x], 4);
por += 4;
} else if (x >= 100) {
memcpy(obuf + por, pre.num[x] + 1, 3);
por += 3;
} else if (x >= 10) {
int q = (x * 103) >> 10;
obuf[por] = q | '0';
obuf[por + 1] = (x - q * 10) | '0';
por += 2;
} else
obuf[por++] = x | '0';
memcpy(obuf + por, out + outi + 4, 96 - outi);
por += 96 - outi;
}
template <typename T>
void wt_real(T x) {
ostringstream oss;
oss << fixed << setprecision(15) << double(x);
string s = oss.str();
wt(s);
}
void wt(int x) { wt_integer(x); }
void wt(ll x) { wt_integer(x); }
void wt(i128 x) { wt_integer(x); }
void wt(u32 x) { wt_integer(x); }
void wt(u64 x) { wt_integer(x); }
void wt(u128 x) { wt_integer(x); }
void wt(double x) { wt_real(x); }
void wt(long double x) { wt_real(x); }
void wt(f128 x) { wt_real(x); }
template <class T, class U>
void wt(const pair<T, U> val) {
wt(val.first);
wt(' ');
wt(val.second);
}
template <size_t N = 0, typename T>
void wt_tuple(const T t) {
if constexpr (N < std::tuple_size<T>::value) {
if constexpr (N > 0) { wt(' '); }
const auto x = std::get<N>(t);
wt(x);
wt_tuple<N + 1>(t);
}
}
template <class... T>
void wt(tuple<T...> tpl) {
wt_tuple(tpl);
}
template <class T, size_t S>
void wt(const array<T, S> val) {
auto n = val.size();
for (size_t i = 0; i < n; i++) {
if (i) wt(' ');
wt(val[i]);
}
}
template <class T>
void wt(const vector<T> val) {
auto n = val.size();
for (size_t i = 0; i < n; i++) {
if (i) wt(' ');
wt(val[i]);
}
}
void print() { wt('\n'); }
template <class Head, class... Tail>
void print(Head &&head, Tail &&... tail) {
wt(head);
if (sizeof...(Tail)) wt(' ');
print(forward<Tail>(tail)...);
}
// gcc expansion. called automaticall after main.
void __attribute__((destructor)) _d() { flush(); }
} // namespace fastio
using fastio::read;
using fastio::print;
using fastio::flush;
#if defined(LOCAL)
#define SHOW(...) SHOW_IMPL(__VA_ARGS__, SHOW6, SHOW5, SHOW4, SHOW3, SHOW2, SHOW1)(__VA_ARGS__)
#define SHOW_IMPL(_1, _2, _3, _4, _5, _6, NAME, ...) NAME
#define SHOW1(x) print(#x, "=", (x)), flush()
#define SHOW2(x, y) print(#x, "=", (x), #y, "=", (y)), flush()
#define SHOW3(x, y, z) print(#x, "=", (x), #y, "=", (y), #z, "=", (z)), flush()
#define SHOW4(x, y, z, w) print(#x, "=", (x), #y, "=", (y), #z, "=", (z), #w, "=", (w)), flush()
#define SHOW5(x, y, z, w, v) print(#x, "=", (x), #y, "=", (y), #z, "=", (z), #w, "=", (w), #v, "=", (v)), flush()
#define SHOW6(x, y, z, w, v, u) print(#x, "=", (x), #y, "=", (y), #z, "=", (z), #w, "=", (w), #v, "=", (v), #u, "=", (u)), flush()
#else
#define SHOW(...)
#endif
#define INT(...) \
int __VA_ARGS__; \
read(__VA_ARGS__)
#define LL(...) \
ll __VA_ARGS__; \
read(__VA_ARGS__)
#define U32(...) \
u32 __VA_ARGS__; \
read(__VA_ARGS__)
#define U64(...) \
u64 __VA_ARGS__; \
read(__VA_ARGS__)
#define STR(...) \
string __VA_ARGS__; \
read(__VA_ARGS__)
#define CHAR(...) \
char __VA_ARGS__; \
read(__VA_ARGS__)
#define DBL(...) \
double __VA_ARGS__; \
read(__VA_ARGS__)
#define VEC(type, name, size) \
vector<type> name(size); \
read(name)
#define VV(type, name, h, w) \
vector<vector<type>> name(h, vector<type>(w)); \
read(name)
void YES(bool t = 1) { print(t ? "YES" : "NO"); }
void NO(bool t = 1) { YES(!t); }
void Yes(bool t = 1) { print(t ? "Yes" : "No"); }
void No(bool t = 1) { Yes(!t); }
void yes(bool t = 1) { print(t ? "yes" : "no"); }
void no(bool t = 1) { yes(!t); }
#line 2 "/home/maspy/compro/library/ds/unionfind/unionfind.hpp"
struct UnionFind {
int n, n_comp;
vc<int> dat; // par or (-size)
UnionFind(int n = 0) { build(n); }
void build(int m) {
n = m, n_comp = m;
dat.assign(n, -1);
}
void reset() { build(n); }
int operator[](int x) {
while (dat[x] >= 0) {
int pp = dat[dat[x]];
if (pp < 0) { return dat[x]; }
x = dat[x] = pp;
}
return x;
}
ll size(int x) {
x = (*this)[x];
return -dat[x];
}
bool merge(int x, int y) {
x = (*this)[x], y = (*this)[y];
if (x == y) return false;
if (-dat[x] < -dat[y]) swap(x, y);
dat[x] += dat[y], dat[y] = x, n_comp--;
return true;
}
vc<int> get_all() {
vc<int> A(n);
FOR(i, n) A[i] = (*this)[i];
return A;
}
};
#line 4 "main.cpp"
ll NX, NY, NZ;
struct Plane {
int off;
// x1,y1,x2,y2,color
vc<tuple<int, int, int, int, int>> dat;
Plane(vc<pi> XY) {
UNIQUE(XY);
vi cut;
cut.eb(0);
cut.eb(NX);
for (auto& [x, y]: XY) cut.eb(x), cut.eb(x + 1);
UNIQUE(cut);
int p = 0;
FOR(k, len(cut) - 1) {
int x1 = cut[k], x2 = cut[k + 1];
vc<int> Y;
while (p < len(XY) && XY[p].fi == x1) Y.eb(XY[p].se), p++;
if (Y.empty()) {
dat.eb(x1, 0, x2, NY, 1);
continue;
}
if (Y[0] > 0) dat.eb(x1, 0, x2, Y[0], 1);
Y.eb(NY);
FOR(i, len(Y) - 1) {
dat.eb(x1, Y[i], x2, Y[i] + 1, 0);
if (Y[i] + 1 < Y[i + 1]) dat.eb(x1, Y[i] + 1, x2, Y[i + 1], 1);
}
}
}
pair<int, int> get(int x, int y) {
int idx = UB(dat, mt(x, y, infty<int>, 0, 0)) - 1;
auto [x1, y1, x2, y2, c] = dat[idx];
assert(x1 <= x && x < x2 && y1 <= y && y < y2);
return {idx, c};
}
vc<pair<int, int>> solve_inner() {
int n = len(dat);
vc<pair<int, int>> ANS;
FOR(i, n) {
auto [x1, y1, x2, y2, c1] = dat[i];
if (x1 == 0 || c1 == 0) continue;
int j = get(x1 - 1, y1).fi;
while (1) {
auto [x3, y3, x4, y4, c2] = dat[j];
if (x3 == x1) break;
if (y3 >= y2) break;
if (c2 == 1) ANS.eb(i, j);
++j;
}
}
return ANS;
}
};
void solve() {
read(NX, NY, NZ);
LL(M);
vvc<pi> XY;
// Z 方向も座圧するか
{
vi X(M), Y(M), Z(M);
FOR(i, M) { read(X[i], Y[i], Z[i]); }
vi key = {0, NZ};
for (auto& x: Z) FOR(d, -2, 3) key.eb(x + d);
for (auto& x: key) chmax(x, 0), chmin(x, NZ);
UNIQUE(key);
NZ = len(key) - 1;
for (auto& x: Z) x = LB(key, x);
XY.resize(NZ);
FOR(i, M) XY[Z[i]].eb(X[i], Y[i]);
}
vc<Plane> plane;
FOR(z, NZ) plane.eb(Plane(XY[z]));
vc<int> IDX(NZ);
FOR(i, NZ) IDX[i] = len(plane[i].dat);
IDX = cumsum<int>(IDX);
UnionFind uf(IDX[NZ]);
// inner
FOR(z, NZ) {
for (auto& [i, j]: plane[z].solve_inner()) { uf.merge(IDX[z] + i, IDX[z] + j); }
}
// ud
FOR(z, NZ - 1) {
vc<pi> XY2;
concat(XY2, XY[z]);
concat(XY2, XY[z + 1]);
Plane P(XY2);
for (auto& [x1, y1, x2, y2, c]: P.dat) {
auto [i, ci] = plane[z].get(x1, y1);
auto [j, cj] = plane[z + 1].get(x1, y1);
if (ci == 1 && cj == 1) uf.merge(IDX[z] + i, IDX[z + 1] + j);
}
}
ll ANS = uf.n_comp - M;
print(ANS);
}
signed main() {
int T = 1;
// INT(T);
FOR(T) solve();
return 0;
}
Submission Info
| Submission Time |
|
| Task |
G - Cube Dividing |
| User |
maspy |
| Language |
C++ 20 (gcc 12.2) |
| Score |
100 |
| Code Size |
17026 Byte |
| Status |
AC |
| Exec Time |
39 ms |
| Memory |
15984 KiB |
Judge Result
| Set Name |
All |
| Score / Max Score |
100 / 100 |
| Status |
|
| Set Name |
Test Cases |
| All |
00_sample_00, 00_sample_01, 00_sample_02, 10_random_small_00, 10_random_small_01, 10_random_small_02, 10_random_small_03, 10_random_small_04, 10_random_small_05, 10_random_small_06, 10_random_small_07, 10_random_small_08, 10_random_small_09, 11_random_large_00, 11_random_large_01, 11_random_large_02, 11_random_large_03, 11_random_large_04, 20_sparse_00, 20_sparse_01, 20_sparse_02, 20_sparse_03, 20_sparse_04, 20_sparse_05, 20_sparse_06, 20_sparse_07, 20_sparse_08, 20_sparse_09, 30_path_00, 30_path_01, 30_path_02, 30_path_03, 30_path_04, 30_path_05, 30_path_06, 30_path_07, 30_path_08, 30_path_09, 31_permutation_00, 31_permutation_01, 31_permutation_02, 31_permutation_03, 31_permutation_04, 40_largest_00, 40_largest_01, 41_smallest_00, 41_smallest_01, 41_smallest_02, 41_smallest_03, 41_smallest_04, 50_max_00, 50_max_01, 60_hirabettai_00, 60_hirabettai_01, 60_hirabettai_02, 60_hirabettai_03, 60_hirabettai_04, 61_hosonagai_00, 61_hosonagai_01, 61_hosonagai_02, 61_hosonagai_03, 61_hosonagai_04, 70_compress_killer_00, 70_compress_killer_01, 80_zero_00, 80_zero_01 |
| Case Name |
Status |
Exec Time |
Memory |
| 00_sample_00 |
AC |
1 ms |
3544 KiB |
| 00_sample_01 |
AC |
1 ms |
3608 KiB |
| 00_sample_02 |
AC |
1 ms |
3620 KiB |
| 10_random_small_00 |
AC |
7 ms |
4280 KiB |
| 10_random_small_01 |
AC |
10 ms |
4412 KiB |
| 10_random_small_02 |
AC |
10 ms |
5060 KiB |
| 10_random_small_03 |
AC |
11 ms |
4172 KiB |
| 10_random_small_04 |
AC |
18 ms |
5284 KiB |
| 10_random_small_05 |
AC |
18 ms |
5516 KiB |
| 10_random_small_06 |
AC |
11 ms |
4856 KiB |
| 10_random_small_07 |
AC |
9 ms |
4492 KiB |
| 10_random_small_08 |
AC |
5 ms |
4120 KiB |
| 10_random_small_09 |
AC |
7 ms |
4308 KiB |
| 11_random_large_00 |
AC |
27 ms |
12096 KiB |
| 11_random_large_01 |
AC |
35 ms |
14644 KiB |
| 11_random_large_02 |
AC |
26 ms |
9528 KiB |
| 11_random_large_03 |
AC |
19 ms |
9312 KiB |
| 11_random_large_04 |
AC |
3 ms |
4256 KiB |
| 20_sparse_00 |
AC |
7 ms |
4856 KiB |
| 20_sparse_01 |
AC |
8 ms |
4956 KiB |
| 20_sparse_02 |
AC |
8 ms |
5064 KiB |
| 20_sparse_03 |
AC |
8 ms |
4676 KiB |
| 20_sparse_04 |
AC |
4 ms |
4352 KiB |
| 20_sparse_05 |
AC |
4 ms |
4332 KiB |
| 20_sparse_06 |
AC |
4 ms |
4344 KiB |
| 20_sparse_07 |
AC |
6 ms |
4472 KiB |
| 20_sparse_08 |
AC |
3 ms |
4848 KiB |
| 20_sparse_09 |
AC |
3 ms |
3932 KiB |
| 30_path_00 |
AC |
6 ms |
4340 KiB |
| 30_path_01 |
AC |
1 ms |
3732 KiB |
| 30_path_02 |
AC |
1 ms |
3628 KiB |
| 30_path_03 |
AC |
5 ms |
4092 KiB |
| 30_path_04 |
AC |
2 ms |
3652 KiB |
| 30_path_05 |
AC |
4 ms |
4032 KiB |
| 30_path_06 |
AC |
2 ms |
3864 KiB |
| 30_path_07 |
AC |
1 ms |
3740 KiB |
| 30_path_08 |
AC |
1 ms |
3612 KiB |
| 30_path_09 |
AC |
3 ms |
3852 KiB |
| 31_permutation_00 |
AC |
25 ms |
9496 KiB |
| 31_permutation_01 |
AC |
21 ms |
8380 KiB |
| 31_permutation_02 |
AC |
21 ms |
7228 KiB |
| 31_permutation_03 |
AC |
17 ms |
6828 KiB |
| 31_permutation_04 |
AC |
13 ms |
6260 KiB |
| 40_largest_00 |
AC |
39 ms |
15384 KiB |
| 40_largest_01 |
AC |
39 ms |
15984 KiB |
| 41_smallest_00 |
AC |
1 ms |
3624 KiB |
| 41_smallest_01 |
AC |
1 ms |
3588 KiB |
| 41_smallest_02 |
AC |
1 ms |
3548 KiB |
| 41_smallest_03 |
AC |
1 ms |
3504 KiB |
| 41_smallest_04 |
AC |
1 ms |
3752 KiB |
| 50_max_00 |
AC |
18 ms |
8192 KiB |
| 50_max_01 |
AC |
12 ms |
5460 KiB |
| 60_hirabettai_00 |
AC |
15 ms |
6068 KiB |
| 60_hirabettai_01 |
AC |
18 ms |
8716 KiB |
| 60_hirabettai_02 |
AC |
1 ms |
3816 KiB |
| 60_hirabettai_03 |
AC |
13 ms |
6420 KiB |
| 60_hirabettai_04 |
AC |
9 ms |
5532 KiB |
| 61_hosonagai_00 |
AC |
1 ms |
3628 KiB |
| 61_hosonagai_01 |
AC |
1 ms |
3756 KiB |
| 61_hosonagai_02 |
AC |
2 ms |
3952 KiB |
| 61_hosonagai_03 |
AC |
27 ms |
12032 KiB |
| 61_hosonagai_04 |
AC |
1 ms |
3664 KiB |
| 70_compress_killer_00 |
AC |
10 ms |
4868 KiB |
| 70_compress_killer_01 |
AC |
27 ms |
6608 KiB |
| 80_zero_00 |
AC |
1 ms |
3664 KiB |
| 80_zero_01 |
AC |
1 ms |
3520 KiB |