QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#234503 | #7643. esreveR Order | maspy | AC ✓ | 1ms | 4144kb | C++20 | 17.0kb | 2023-11-01 18:08:40 | 2023-11-01 18:08:40 |
Judging History
answer
#line 1 "library/my_template.hpp"
#if defined(LOCAL)
#include <my_template_compiled.hpp>
#else
#pragma GCC optimize("Ofast")
#pragma GCC optimize("unroll-loops")
#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'000'000'000;
template <>
constexpr ll infty<ll> = ll(infty<int>) * infty<int> * 2;
template <>
constexpr u32 infty<u32> = infty<int>;
template <>
constexpr u64 infty<u64> = infty<ll>;
template <>
constexpr i128 infty<i128> = i128(infty<ll>) * infty<ll>;
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, typename U>
T ceil(T x, U y) {
return (x > 0 ? (x + y - 1) / y : x / y);
}
template <typename T, typename U>
T floor(T x, U y) {
return (x > 0 ? x / y : (x - y + 1) / y);
}
template <typename T, typename U>
T bmod(T x, U y) {
return x - y * floor(x, y);
}
template <typename T, typename U>
pair<T, T> divmod(T x, U y) {
T q = floor(x, y);
return {q, x - q * y};
}
template <typename T, typename U>
T SUM(const vector<U> &A) {
T sum = 0;
for (auto &&a: A) sum += a;
return sum;
}
#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;
}
#endif
#line 1 "library/other/io.hpp"
// based on yosupo's fastio
#include <unistd.h>
namespace fastio {
#define FASTIO
// クラスが read(), print() を持っているかを判定するメタ関数
struct has_write_impl {
template <class T>
static auto check(T &&x) -> decltype(x.write(), std::true_type{});
template <class T>
static auto check(...) -> std::false_type;
};
template <class T>
class has_write : public decltype(has_write_impl::check<T>(std::declval<T>())) {
};
struct has_read_impl {
template <class T>
static auto check(T &&x) -> decltype(x.read(), std::true_type{});
template <class T>
static auto check(...) -> std::false_type;
};
template <class T>
class has_read : public decltype(has_read_impl::check<T>(std::declval<T>())) {};
struct Scanner {
FILE *fp;
char line[(1 << 15) + 1];
size_t st = 0, ed = 0;
void reread() {
memmove(line, line + st, ed - st);
ed -= st;
st = 0;
ed += fread(line + ed, 1, (1 << 15) - ed, fp);
line[ed] = '\0';
}
bool succ() {
while (true) {
if (st == ed) {
reread();
if (st == ed) return false;
}
while (st != ed && isspace(line[st])) st++;
if (st != ed) break;
}
if (ed - st <= 50) {
bool sep = false;
for (size_t i = st; i < ed; i++) {
if (isspace(line[i])) {
sep = true;
break;
}
}
if (!sep) reread();
}
return true;
}
template <class T, enable_if_t<is_same<T, string>::value, int> = 0>
bool read_single(T &ref) {
if (!succ()) return false;
while (true) {
size_t sz = 0;
while (st + sz < ed && !isspace(line[st + sz])) sz++;
ref.append(line + st, sz);
st += sz;
if (!sz || st != ed) break;
reread();
}
return true;
}
template <class T, enable_if_t<is_integral<T>::value, int> = 0>
bool read_single(T &ref) {
if (!succ()) return false;
bool neg = false;
if (line[st] == '-') {
neg = true;
st++;
}
ref = T(0);
while (isdigit(line[st])) { ref = 10 * ref + (line[st++] & 0xf); }
if (neg) ref = -ref;
return true;
}
template <typename T,
typename enable_if<has_read<T>::value>::type * = nullptr>
inline bool read_single(T &x) {
x.read();
return true;
}
bool read_single(double &ref) {
string s;
if (!read_single(s)) return false;
ref = std::stod(s);
return true;
}
bool read_single(char &ref) {
string s;
if (!read_single(s) || s.size() != 1) return false;
ref = s[0];
return true;
}
template <class T>
bool read_single(vector<T> &ref) {
for (auto &d: ref) {
if (!read_single(d)) return false;
}
return true;
}
template <class T, class U>
bool read_single(pair<T, U> &p) {
return (read_single(p.first) && read_single(p.second));
}
template <size_t N = 0, typename T>
void read_single_tuple(T &t) {
if constexpr (N < std::tuple_size<T>::value) {
auto &x = std::get<N>(t);
read_single(x);
read_single_tuple<N + 1>(t);
}
}
template <class... T>
bool read_single(tuple<T...> &tpl) {
read_single_tuple(tpl);
return true;
}
void read() {}
template <class H, class... T>
void read(H &h, T &... t) {
bool f = read_single(h);
assert(f);
read(t...);
}
Scanner(FILE *fp) : fp(fp) {}
};
struct Printer {
Printer(FILE *_fp) : fp(_fp) {}
~Printer() { flush(); }
static constexpr size_t SIZE = 1 << 15;
FILE *fp;
char line[SIZE], small[50];
size_t pos = 0;
void flush() {
fwrite(line, 1, pos, fp);
pos = 0;
}
void write(const char val) {
if (pos == SIZE) flush();
line[pos++] = val;
}
template <class T, enable_if_t<is_integral<T>::value, int> = 0>
void write(T val) {
if (pos > (1 << 15) - 50) flush();
if (val == 0) {
write('0');
return;
}
if (val < 0) {
write('-');
val = -val; // todo min
}
size_t len = 0;
while (val) {
small[len++] = char(0x30 | (val % 10));
val /= 10;
}
for (size_t i = 0; i < len; i++) { line[pos + i] = small[len - 1 - i]; }
pos += len;
}
void write(const string s) {
for (char c: s) write(c);
}
void write(const char *s) {
size_t len = strlen(s);
for (size_t i = 0; i < len; i++) write(s[i]);
}
void write(const double x) {
ostringstream oss;
oss << fixed << setprecision(15) << x;
string s = oss.str();
write(s);
}
void write(const long double x) {
ostringstream oss;
oss << fixed << setprecision(15) << x;
string s = oss.str();
write(s);
}
template <typename T,
typename enable_if<has_write<T>::value>::type * = nullptr>
inline void write(T x) {
x.write();
}
template <class T>
void write(const vector<T> val) {
auto n = val.size();
for (size_t i = 0; i < n; i++) {
if (i) write(' ');
write(val[i]);
}
}
template <class T, class U>
void write(const pair<T, U> val) {
write(val.first);
write(' ');
write(val.second);
}
template <size_t N = 0, typename T>
void write_tuple(const T t) {
if constexpr (N < std::tuple_size<T>::value) {
if constexpr (N > 0) { write(' '); }
const auto x = std::get<N>(t);
write(x);
write_tuple<N + 1>(t);
}
}
template <class... T>
bool write(tuple<T...> tpl) {
write_tuple(tpl);
return true;
}
template <class T, size_t S>
void write(const array<T, S> val) {
auto n = val.size();
for (size_t i = 0; i < n; i++) {
if (i) write(' ');
write(val[i]);
}
}
void write(i128 val) {
string s;
bool negative = 0;
if (val < 0) {
negative = 1;
val = -val;
}
while (val) {
s += '0' + int(val % 10);
val /= 10;
}
if (negative) s += "-";
reverse(all(s));
if (len(s) == 0) s = "0";
write(s);
}
};
Scanner scanner = Scanner(stdin);
Printer printer = Printer(stdout);
void flush() { printer.flush(); }
void print() { printer.write('\n'); }
template <class Head, class... Tail>
void print(Head &&head, Tail &&... tail) {
printer.write(head);
if (sizeof...(Tail)) printer.write(' ');
print(forward<Tail>(tail)...);
}
void read() {}
template <class Head, class... Tail>
void read(Head &head, Tail &... tail) {
scanner.read(head);
read(tail...);
}
} // namespace fastio
using fastio::print;
using fastio::flush;
using fastio::read;
#define INT(...) \
int __VA_ARGS__; \
read(__VA_ARGS__)
#define LL(...) \
ll __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 3 "main.cpp"
#line 2 "library/random/base.hpp"
u64 RNG_64() {
static uint64_t x_
= uint64_t(chrono::duration_cast<chrono::nanoseconds>(
chrono::high_resolution_clock::now().time_since_epoch())
.count())
* 10150724397891781847ULL;
x_ ^= x_ << 7;
return x_ ^= x_ >> 9;
}
u64 RNG(u64 lim) { return RNG_64() % lim; }
ll RNG(ll l, ll r) { return l + RNG_64() % (r - l); }
#line 5 "main.cpp"
u64 reverse_byte(u64 x) {
vc<u64> A(8);
FOR(k, 8) { A[k] = (x >> (8 * k) & 255); }
reverse(all(A));
x = 0;
FOR(k, 8) x |= A[k] << (8 * k);
return x;
}
u64 from_63_to_64(vc<int> A) {
assert(len(A) == 63);
int A0 = A.back();
u64 x = 0, y = 0;
FOR(i, 31) x |= A[i] << i;
FOR(i, 31) y |= A[31 + i] << i;
if (x <= y) {
u64 a = 2 * x + A0;
u64 b = 2 * y + A0;
return (reverse_byte(a << 32)) << 32 | b;
} else {
u64 a = 2 * x + A0;
u64 b = 2 * y + (A0 ^ 1);
return (reverse_byte(a << 32)) << 32 | b;
}
}
vc<int> from_64_to_63(u64 X) {
u64 a = X >> 32;
u64 b = X & ((u64(1) << 32) - 1);
a = reverse_byte(a << 32);
u64 x = a / 2;
u64 p = a % 2;
u64 y = b / 2;
u64 q = b % 2;
vc<int> A(63);
if (p == q) {
if (x > y) swap(x, y);
A.back() = p;
FOR(i, 31) A[i] = x >> i & 1;
FOR(i, 31) A[31 + i] = y >> i & 1;
} else {
if (x <= y) { swap(x, y), swap(p, q); }
assert(x > y);
A.back() = p;
FOR(i, 31) A[i] = x >> i & 1;
FOR(i, 31) A[31 + i] = y >> i & 1;
}
return A;
}
vc<u64> encode(int N, vc<u64> A) {
while (len(A) < 1000) A.eb(0);
vc<int> bits;
FOR(i, 1000) FOR(j, 64) { bits.eb(A[i] >> j & 1); }
FOR(i, 10) { bits.eb(N >> i & 1); }
while (len(bits) % 63 != 0) bits.eb(0);
vc<u64> B;
ll n = len(bits) / 63;
FOR(i, n) {
int L = 63 * i;
int R = L + 63;
vc<int> a = {bits.begin() + L, bits.begin() + R};
B.eb(from_63_to_64(a));
assert(from_64_to_63(B.back()) == a);
}
return B;
}
pair<int, vc<u64>> decode(vc<u64> A) {
vc<int> bits;
for (auto& a: A) {
vc<int> B = from_64_to_63(a);
for (auto& x: B) bits.eb(x);
}
vc<u64> B(1000);
FOR(i, 1000) FOR(j, 64) { B[i] |= u64(bits[64 * i + j]) << j; }
int N = 0;
FOR(i, 10) { N |= bits[64000 + i] << i; }
B.resize(N);
return {N, B};
}
void test() {
FOR(1000) {
vc<int> A(63);
FOR(i, 63) A[i] = RNG(0, 2);
u64 x = from_63_to_64(A);
vc<int> B = from_64_to_63(x);
assert(A == B);
vc<int> C = from_64_to_63(reverse_byte(x));
assert(A == C);
}
FOR(N, 1, 1000) {
vc<u64> A(N);
FOR(i, N) A[i] = i;
vc<u64> B = encode(N, A);
FOR(i, len(B)) {
// if (RNG(0, 2)) B[i] = reverse_byte(B[i]);
}
auto [M, C] = decode(B);
assert(N == M);
assert(A == C);
print("OK");
}
}
void solve() {
/*
print(reverse_byte(720575940379279360ULL));
print(reverse_byte(16647274547598327808ULL));
*/
STR(S);
if (S == "encode") {
INT(N);
VEC(u64, A, N);
vc<u64> B = encode(N, A);
print(len(B));
print(B);
return;
}
elif (S == "decode") {
INT(N);
VEC(u64, B, N);
auto [NA, A] = decode(B);
print(A);
}
else {
assert(0);
}
}
signed main() {
solve();
return 0;
}
详细
Test #1:
score: 100
Accepted
time: 1ms
memory: 4068kb
First Run Input
encode 3 15 10 2023
First Run Output
1017 2161727821137838081 2882303761517117441 4052958189656735745 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0...
Second Run Input
decode 1017 72057594037927966 2882303761517117441 72057594037944120 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ...
Second Run Output
15 10 2023
result:
ok correct answer!
Test #2:
score: 100
Accepted
time: 1ms
memory: 4100kb
First Run Input
encode 3 10 15 2023
First Run Output
1017 1441151880758558721 4323455642275676161 4052958189656735745 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0...
Second Run Input
decode 1017 72057594037927956 4323455642275676161 72057594037944120 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ...
Second Run Output
10 15 2023
result:
ok correct answer!
Test #3:
score: 100
Accepted
time: 1ms
memory: 4100kb
First Run Input
encode 2 0 18446744073709551615
First Run Output
1017 0 18302628885633695743 432345564227567617 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0...
Second Run Input
decode 1017 0 18302628885633695743 72057594037927942 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0...
Second Run Output
0 18446744073709551615
result:
ok correct answer!
Test #4:
score: 100
Accepted
time: 1ms
memory: 4060kb
First Run Input
encode 1 15294812614394108628
First Run Output
1017 12228749796995259431 144115188075855873 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0...
Second Run Input
decode 1017 2836151009963652521 144115188075855873 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0...
Second Run Output
15294812614394108628
result:
ok correct answer!
Test #5:
score: 100
Accepted
time: 1ms
memory: 3844kb
First Run Input
encode 1000 3121047760185282603 15342468685041132244 2946084834383553064 16497371564815217380 1737099509116836632 7254740756410367588 6912789008064777823 68696180012282880 17403862934625552113 17981474029810688761 11408678755067367070 6884603394053802847 9415479823797299842 12724980314795317424 4343...
First Run Output
1017 6242198822580175259 5803936734645006297 5049036544789809347 4768766130582847744 2045552928740782899 475657355929986029 12911687601582832177 6845739778464128927 63628613811209351 14332577292985491878 14841459397297577092 16571475763791524160 17315021658486008786 12258847277633148571 560946184611...
Second Run Input
decode 1017 11223322861408002134 5803936734645006297 14089557128331596102 367917754428994 3725561038440194844 17087503987497736454 12911687601582832177 6845739778464128927 9765145516098576896 12024956630166398918 14841459397297577092 4679742903725455845 17315021658486008786 11211172630393266346 1072...
Second Run Output
3121047760185282603 15342468685041132244 2946084834383553064 16497371564815217380 1737099509116836632 7254740756410367588 6912789008064777823 68696180012282880 17403862934625552113 17981474029810688761 11408678755067367070 6884603394053802847 9415479823797299842 12724980314795317424 4343676425746292...
result:
ok correct answer!
Test #6:
score: 100
Accepted
time: 1ms
memory: 4144kb
First Run Input
encode 1000 2959543855015858729 1696588383057026327 13887516684624771776 4107504863913902137 2801614046935507238 11387178367909563806 11556129900970532768 5205368401715281224 10357494830429897083 13218483460617328311 17758885595442813174 15522412733037308631 4609285057964209983 6122463529806835958 1...
First Run Output
1017 5919087114196723154 6662139933099815209 60505549546319239 11314010298582121768 14349801204376488053 9901097054224069222 5679091697823181565 11549548625891555034 10445539069900009482 4602215802570367514 13525936254965103666 7457869750673372727 17148272650927584543 18270890300007395892 8875185960...
Second Run Input
decode 1017 15178619089436419154 6662139933099815209 9794666233326851584 2899501362145395613 8451098950240052423 7364142968502183817 5679091697823181565 11549548625891555034 770356279666472592 1901334381681368639 13525936254965103666 3996386486863626087 17148272650927584543 3761089181304852477 13400...
Second Run Output
2959543855015858729 1696588383057026327 13887516684624771776 4107504863913902137 2801614046935507238 11387178367909563806 11556129900970532768 5205368401715281224 10357494830429897083 13218483460617328311 17758885595442813174 15522412733037308631 4609285057964209983 6122463529806835958 1817420352217...
result:
ok correct answer!
Test #7:
score: 100
Accepted
time: 1ms
memory: 4068kb
First Run Input
encode 1000 11680746664093751970 5824248678120130908 17626250863570165236 10045289755533338763 7551074539406281320 679147484887477257 15604658746861719256 14804121544777963213 12775443214601374641 16518531288873472 17672220047006122229 5320248648820184393 9690327126946183814 9082174046062392190 3603...
First Run Output
1017 4914911884339668176 8225136543335914116 11812708899164806237 13801552115291732462 1174833917500559955 6485847245079479556 318708776446358535 15622307827762870272 11196960199342008952 14196164873158402605 47296257263666533 6097685731503679925 4236005640244005820 11502720716450985448 378150542092...
Second Run Input
decode 1017 15016243091760100676 8225136543335914116 6727480956009901987 17165753024626723007 6022072680048053520 325781681973428826 318708776446358535 15622307827762870272 8695033807441978267 3252299138354119365 47296257263666533 13090062695507730260 4236005640244005820 16750459515750556063 4378078...
Second Run Output
11680746664093751970 5824248678120130908 17626250863570165236 10045289755533338763 7551074539406281320 679147484887477257 15604658746861719256 14804121544777963213 12775443214601374641 16518531288873472 17672220047006122229 5320248648820184393 9690327126946183814 9082174046062392190 3603193130393654...
result:
ok correct answer!
Test #8:
score: 100
Accepted
time: 1ms
memory: 3884kb
First Run Input
encode 1000 3205299181656898348 12976875720891373492 13022766600023544756 11341018420341566428 6524953888141577562 12639723579518314927 388360823860605957 16028102076043194334 17021357338254522604 17358717917010294000 17727251730658821110 1692451494697027607 16668389809546941159 9881415132891652489 ...
First Run Output
1017 6410315670964013694 15086633071588998580 11933918996616876955 14681153116404745550 5956980068739891045 15522599585639354449 15493185848647359638 350840149678216660 13608032324066821046 12809314231156460796 9707262466707712669 7025476796908133278 17213422063387017714 15310376473548475670 1046749...
Second Run Input
decode 1017 9082334043110176344 15086633071588998580 11210482340894383525 5658047997044243915 7331669581895936850 5895397403617029079 15493185848647359638 350840149678216660 13133351797302352316 18216056863778390961 9707262466707712669 11410843384831639393 17213422063387017714 1643069405638326740 91...
Second Run Output
3205299181656898348 12976875720891373492 13022766600023544756 11341018420341566428 6524953888141577562 12639723579518314927 388360823860605957 16028102076043194334 17021357338254522604 17358717917010294000 17727251730658821110 1692451494697027607 16668389809546941159 9881415132891652489 897510951455...
result:
ok correct answer!
Test #9:
score: 100
Accepted
time: 1ms
memory: 3900kb
First Run Input
encode 1000 11745468587528356003 2281514582009817375 8153897824941385841 3537801378424817716 15094875450944541137 2721439207979308907 15182962879679804626 16263387655845753825 10297607884981635726 2839756507535605799 4281233445445231670 17958831294784213241 2533099538757708909 198318855604518914 673...
First Run Output
1017 5044390575550309836 9125496307728550756 9890944864181775852 5081011380511404929 2754525986383024071 17643508343303521594 1326831948998921176 15267681197859393487 14059416906042916819 4295871155874298819 4229198116587449284 13227933578630607960 2864163459667788567 14449799886678877769 7026088463...
Second Run Input
decode 1017 14710165460834713926 9125496307728550756 17036421480880096137 9327826895328281414 14361963126126688806 4198832469020367604 1326831948998921176 15267681197859393487 15222113556722163139 14122086966107348539 4229198116587449284 6355913136176862135 2864163459667788567 5289188901905270984 64...
Second Run Output
11745468587528356003 2281514582009817375 8153897824941385841 3537801378424817716 15094875450944541137 2721439207979308907 15182962879679804626 16263387655845753825 10297607884981635726 2839756507535605799 4281233445445231670 17958831294784213241 2533099538757708909 198318855604518914 673494910255867...
result:
ok correct answer!
Test #10:
score: 100
Accepted
time: 1ms
memory: 3876kb
First Run Input
encode 1000 12145426503223053736 11223533449112258427 912503477502847244 8194754341178136232 1745167427925456920 16227738722877181921 7835300168023129196 11430255544479756296 4334103216084281862 2068776735956841756 8031840207725033071 6851343563018212447 5341289100182954058 13797007934729844927 1695...
First Run Output
1017 5772334223460721720 17157927453940777384 7226286215540887872 9253267174824588539 1009800146428699105 5113981673188438514 8085895139023912279 7856723782341867288 4327348092070241754 17397638674667788307 16535163065348510883 17795487675442361723 16306137063563512005 9858994616799262824 1360972598...
Second Run Input
decode 1017 4099459432888605520 17157927453940777384 4670687779585083492 18137177912660814464 16222252894253417230 17451802161733433414 8085895139023912279 7856723782341867288 15755086382085967164 1429940908867219697 16535163065348510883 8896181135135340278 16306137063563512005 7564022521820861064 6...
Second Run Output
12145426503223053736 11223533449112258427 912503477502847244 8194754341178136232 1745167427925456920 16227738722877181921 7835300168023129196 11430255544479756296 4334103216084281862 2068776735956841756 8031840207725033071 6851343563018212447 5341289100182954058 13797007934729844927 1695908798107178...
result:
ok correct answer!
Test #11:
score: 100
Accepted
time: 1ms
memory: 3944kb
First Run Input
encode 1000 1319585769567178770 11683773173006280098 1546068050386102206 8237654235626754674 1093085146164964111 4487194325809812542 9572041562208720516 8198339197715138161 8775187665665181561 5453856317584289611 9012706293234275197 6962133233774075488 14416342846420488648 12023115692119218854 87984...
First Run Output
1017 2639228314807464208 9914143193705270880 17671493192526842676 2316931653945056316 17249179982351747464 9443965964398607243 2180563953572713986 9615685450227523734 16425347716712415620 16658178982082733708 6767392090214757650 15062261164478644417 1300477486695187529 410576566914033945 78056502566...
Second Run Input
decode 1017 1184798859980480548 9914143193705270880 3804217149136911861 4385450823998842656 9856649824041263599 10068882331037667203 2180563953572713986 9615685450227523734 9566184501194715875 10117032545888316903 6767392090214757650 13925387121920968657 1300477486695187529 1849011699909767685 71718...
Second Run Output
1319585769567178770 11683773173006280098 1546068050386102206 8237654235626754674 1093085146164964111 4487194325809812542 9572041562208720516 8198339197715138161 8775187665665181561 5453856317584289611 9012706293234275197 6962133233774075488 14416342846420488648 12023115692119218854 87984541140309182...
result:
ok correct answer!
Test #12:
score: 100
Accepted
time: 1ms
memory: 3840kb
First Run Input
encode 1000 5876429571674705233 1160709710205641488 8949179324326013918 3807785702791436084 10358659327093653462 6183776768104649045 9773192299199242631 4768204253843233314 869112494835896076 3850247465723981365 12656644485278573999 9985246442807560600 4674662620886523712 15476787152353297656 199767...
First Run Output
1017 11752859139719894591 4651265896568674983 17392557672873456357 5076433346817367426 14409979040072364449 7085627093661784720 12376824907610889618 9665317253899420413 9518390901929727570 3590697445763145055 12283899474982576151 18053410764044601929 5985821136183146671 3895682127843635244 734419121...
Second Run Input
decode 1017 4545879449153510051 4651265896568674983 16569338702636474097 9375931037137072966 11633174903792335559 10383780014334432610 12376824907610889618 9665317253899420413 5969191719283857540 6871821737872905265 12283899474982576151 5299073575873514234 5985821136183146671 3184314640116879414 143...
Second Run Output
5876429571674705233 1160709710205641488 8949179324326013918 3807785702791436084 10358659327093653462 6183776768104649045 9773192299199242631 4768204253843233314 869112494835896076 3850247465723981365 12656644485278573999 9985246442807560600 4674662620886523712 15476787152353297656 199767559453592770...
result:
ok correct answer!
Test #13:
score: 100
Accepted
time: 0ms
memory: 4144kb
First Run Input
encode 1000 4630576837261345600 3690007673192079155 10191688028902188685 13161084486177275994 13217699814043128503 16686700503527166951 14187412128529685444 5378307647117501258 381081194099329285 7835019377419533164 10828830188934852045 2418951383875555617 12869415733873449394 3981778763221189175 13...
First Run Output
1017 9333211066643805286 14806799339202827117 7508775474756215866 12107088227705426818 17822488074323295445 17147847577669523801 8278264323983288746 14216354618676125311 10739557606822334162 1563010285720364411 7235999166793182855 7212816590099641755 3622079594432770326 12100201948709923326 11645142...
Second Run Input
decode 1017 7382538887672530561 14806799339202827117 4207491076502008936 9373031875641345448 15419389282840893175 6474356338412812781 8278264323983288746 14216354618676125311 15154187405802736277 8927723103596687381 7235999166793182855 11238150380079683940 3622079594432770326 18314266183551806631 14...
Second Run Output
4630576837261345600 3690007673192079155 10191688028902188685 13161084486177275994 13217699814043128503 16686700503527166951 14187412128529685444 5378307647117501258 381081194099329285 7835019377419533164 10828830188934852045 2418951383875555617 12869415733873449394 3981778763221189175 13244959703789...
result:
ok correct answer!
Test #14:
score: 100
Accepted
time: 1ms
memory: 3844kb
First Run Input
encode 1000 14206023085971877050 5972347295337699666 16750030134568776936 31808836880920832 2212713974659790110 5122038573567789141 6021810187059330136 316820231069787396 9743056769613706887 12651574473802879919 10670777542814643481 12865788759884245938 14098797560825948355 1436584720745295635 18209...
First Run Output
1017 8455988495257156330 5360824623435895239 4802943457008089751 1013335686199131903 13953125970422065341 5122231970093431026 2534680239284712913 5909960292164740260 580521888043371340 2071179390475018179 9065086847100270922 4695490599524418178 5797848599579309387 17001304904571590883 17800898114967...
Second Run Input
decode 1017 16913997465864395125 5360824623435895239 10951136395162003266 18392173174609874958 13684267376243549121 17471874779879445831 2534680239284712913 5909960292164740260 5479520485612785160 14096090480941907484 9065086847100270922 9422329279321680193 5797848599579309387 16399885409456550123 1...
Second Run Output
14206023085971877050 5972347295337699666 16750030134568776936 31808836880920832 2212713974659790110 5122038573567789141 6021810187059330136 316820231069787396 9743056769613706887 12651574473802879919 10670777542814643481 12865788759884245938 14098797560825948355 1436584720745295635 18209664680933133...
result:
ok correct answer!
Test #15:
score: 100
Accepted
time: 1ms
memory: 3848kb
First Run Input
encode 1000 9347075476817688449 4650888162489830208 14851788601390554770 16502989544831224549 16381526915592640227 11928081658354305445 16698603634079928807 6636914485074045532 3905297710570680886 4761937183601478210 602043399153080840 13119846281992737718 9982574920216512906 6465339115666258265 388...
First Run Output
1017 175630593057222271 156810961151996195 10589267607519654070 6678390723085906365 8997288586931338226 8676715212671781128 15272770873004361791 16599329772746383071 13289107018865331826 15566737371002379258 1243785260118082079 9538689437648932669 14003434316638453711 11701009815526825692 1597328512...
Second Run Input
decode 1017 9218548505532395266 156810961151996195 13146221587284030610 13668931335814164060 17508790103077215356 615172102208776568 15272770873004361791 16599329772746383071 8236695356451351736 18022110132542441688 1243785260118082079 4454013171249406084 14003434316638453711 15915393151340536482 51...
Second Run Output
9347075476817688449 4650888162489830208 14851788601390554770 16502989544831224549 16381526915592640227 11928081658354305445 16698603634079928807 6636914485074045532 3905297710570680886 4761937183601478210 602043399153080840 13119846281992737718 9982574920216512906 6465339115666258265 388231739128308...
result:
ok correct answer!
Test #16:
score: 100
Accepted
time: 1ms
memory: 4108kb
First Run Input
encode 1000 816711338553922827 3136530477208405803 1897023433554023194 17975009636137635621 11452821585868157086 16899731438459979754 4011321460883199543 9514493131970120324 11223671094700651163 16143736757262944992 14578540197992026570 604575309861380872 15340457260098839764 11150070697970285978 17...
First Run Output
1017 1633140102221146763 12474063202255736526 15103000006618598449 5904870310909444328 16074225252320027487 12104023482643520051 17661723474773908898 3928276839881650153 664111513039377548 7962974697914130784 96702640738606416 11856904860811219208 973228439809455120 4086285140880044673 6795219786746...
Second Run Input
decode 1017 10027922272726329878 12474063202255736526 3552277589011896529 16717504952008766033 6855365649688826847 3682524214904093351 17661723474773908898 3928276839881650153 10129990884748769033 6944999571024740974 96702640738606416 599332226889452708 973228439809455120 9345563520066303288 1603358...
Second Run Output
816711338553922827 3136530477208405803 1897023433554023194 17975009636137635621 11452821585868157086 16899731438459979754 4011321460883199543 9514493131970120324 11223671094700651163 16143736757262944992 14578540197992026570 604575309861380872 15340457260098839764 11150070697970285978 17350319589017...
result:
ok correct answer!
Test #17:
score: 100
Accepted
time: 1ms
memory: 4072kb
First Run Input
encode 1000 15852042308351668955 11110270273771247747 1952170777025451803 12999077454378198708 10468936890965115281 3740726514366998835 13638413544957402813 10285421796981783950 9488163456704752771 6831060407290809438 9304289497016916865 11999488677836195494 17236300717840440076 16119040203783672287...
First Run Output
1017 13215117955055423990 1036635002294296472 15976520007491784617 4641811265000309331 3905368812505573548 16522786393510738185 11051533899877374998 13659062701409780349 2019681319946654430 1043200377700875198 17801283172711794001 1182312519191759895 15029744594584311340 14842587856711769443 1570400...
Second Run Input
decode 1017 17731225267328214455 1036635002294296472 12182088219940141277 5981554965851040576 12441273488686723638 682820861496544485 11051533899877374998 13659062701409780349 16038138175701976860 13761708974094252558 17801283172711794001 1660962774922717200 15029744594584311340 7196141056536607693 ...
Second Run Output
15852042308351668955 11110270273771247747 1952170777025451803 12999077454378198708 10468936890965115281 3740726514366998835 13638413544957402813 10285421796981783950 9488163456704752771 6831060407290809438 9304289497016916865 11999488677836195494 17236300717840440076 16119040203783672287 12671955530...
result:
ok correct answer!
Test #18:
score: 100
Accepted
time: 1ms
memory: 4104kb
First Run Input
encode 1000 7737460840718732534 8502306463064852341 2130649553756067072 12798637249919425969 17739899473744975204 17861748128772157943 7786375620166094444 11631750721236397217 8433942411902211189 14696106042371974859 3551708439366617649 12548046713943630766 7655435767445585121 17638494868075184116 1...
First Run Output
1017 17084707095477218959 15356698970444404083 263684895100463025 1214698287835945113 10929297821856310581 18265928003287950541 8806375522054659935 7827656584394133118 4822132613467062582 15361104562818951273 6813473045223579682 1505111444750868531 14210435995321584603 10239775975559699477 734846365...
Second Run Input
decode 1017 10371371773434403309 15356698970444404083 12783214487176783875 11067803014318906128 3829522637016181911 14818205003417419261 8806375522054659935 7827656584394133118 3945583376176048962 7613463367169813973 6813473045223579682 3684156099138347796 14210435995321584603 1557348557344545422 10...
Second Run Output
7737460840718732534 8502306463064852341 2130649553756067072 12798637249919425969 17739899473744975204 17861748128772157943 7786375620166094444 11631750721236397217 8433942411902211189 14696106042371974859 3551708439366617649 12548046713943630766 7655435767445585121 17638494868075184116 1798035698702...
result:
ok correct answer!
Test #19:
score: 100
Accepted
time: 1ms
memory: 3848kb
First Run Input
encode 1000 5776378122715867472 8860428478679807610 8981547657866880124 3887804736669348917 15875751532079952708 2861245578349082151 8735033493130313593 10531690036554104978 11209368434932931317 2817656194583435815 15283937566914793428 16210594600733767648 7083554101997751650 4895599144183105603 167...
First Run Output
1017 11624532367295071536 16850741329715824140 16366975514852581411 6215846909291543015 9757231657433168364 17837030971008342229 10645664635569745546 8688006993273197555 2660419352556523171 7970923069652536074 4152739568736785491 4615484418570378450 2259871094296754996 10581225339021551583 179518979...
Second Run Input
decode 1017 3478370183110873761 16850741329715824140 2585151718290170851 16661498649617843030 17075819188169631879 15409233088309201399 10645664635569745546 8688006993273197555 11803569853086165796 723843492650458734 4152739568736785491 15194086259891768640 2259871094296754996 16134072360198264978 4...
Second Run Output
5776378122715867472 8860428478679807610 8981547657866880124 3887804736669348917 15875751532079952708 2861245578349082151 8735033493130313593 10531690036554104978 11209368434932931317 2817656194583435815 15283937566914793428 16210594600733767648 7083554101997751650 4895599144183105603 167227700394038...
result:
ok correct answer!
Test #20:
score: 100
Accepted
time: 1ms
memory: 4136kb
First Run Input
encode 1000 13461592460131029434 17866002937817526519 123084316061775105 11639997235077351841 17297265609665146864 4395039646452547132 10238707525074687886 11110873080840760717 4577834621477644863 15099659004708222063 4877517018647736387 5634232609779232846 12480652015292515508 15942940958849847955 ...
First Run Output
1017 8404666001903631380 16123954441019086877 1056170262847064201 1196278500205689355 1512784191481109335 4363987091867607778 2217754093650329407 10272057598844888559 3782975656891078103 18355776689568409641 10168708344705855014 4243521160258953466 14378189036931546160 5542704448606476194 1163241650...
Second Run Input
decode 1017 1494144953333293940 16123954441019086877 9910263456081487886 827028671721675280 6330669108144504340 16330659725328748348 2217754093650329407 10272057598844888559 15516573203699105588 3019696976369401086 10168708344705855014 18059458806731301946 14378189036931546160 11715879523083152204 1...
Second Run Output
13461592460131029434 17866002937817526519 123084316061775105 11639997235077351841 17297265609665146864 4395039646452547132 10238707525074687886 11110873080840760717 4577834621477644863 15099659004708222063 4877517018647736387 5634232609779232846 12480652015292515508 15942940958849847955 114710144816...
result:
ok correct answer!
Test #21:
score: 100
Accepted
time: 1ms
memory: 3852kb
First Run Input
encode 1000 14431283794327455432 13389333092722914233 10532008078511253906 4472767059359175230 13103724614110534069 4836152019432633768 6719842759815348573 1919269018289742362 52784695629691648 15163385683618061098 15620477516589867300 13938605139475525569 10477448247346751377 2179249273432981022 55...
First Run Output
1017 10488173432873214106 16703435732404124689 10758159535300630719 16799483802371931691 12048883082731849483 3272566087521882559 11650285171607692036 6708853344032129470 3747124821022841506 263579537946150275 10531115247389418981 10168561671391463515 3258621017134387689 6459436264584479233 22741812...
Second Run Input
decode 1017 11159946407366528401 16703435732404124689 13787932033863470229 3152043386530243561 794729711782278823 13786006155140360749 11650285171607692036 6708853344032129470 11716710289326342196 9477077168902940675 10531115247389418981 6613801017764748685 3258621017134387689 108883670391563353 380...
Second Run Output
14431283794327455432 13389333092722914233 10532008078511253906 4472767059359175230 13103724614110534069 4836152019432633768 6719842759815348573 1919269018289742362 52784695629691648 15163385683618061098 15620477516589867300 13938605139475525569 10477448247346751377 2179249273432981022 55034245808898...
result:
ok correct answer!
Test #22:
score: 100
Accepted
time: 1ms
memory: 4144kb
First Run Input
encode 1000 8361704202097698447 457512630822197510 9047071582378798263 7521861541655044968 15691318489382327720 9116556133522441342 10776729311315660437 2007356224744446747 15602891128841739224 11582605118888328352 14538672656065746377 9928263521479936137 3198358632421024300 6031000265902699091 1214...
First Run Output
1017 2255698500726224556 1757711454024977027 13359296804896275131 9743069951826110214 915886745377096170 13195513236763557948 13783908506168079880 10744422746321564595 3940710598637732239 7170842036624418855 310096218868680231 11357102426627916360 4076115333529649520 1858742738571551924 155760734563...
Second Run Input
decode 1017 12463196095223778591 1757711454024977027 13509350656347039161 479457492147254919 16915995671081956620 4377570591153135543 13783908506168079880 10744422746321564595 10322649616448204854 2875671429380211555 310096218868680231 5206972645270658205 4076115333529649520 13034653403208534809 836...
Second Run Output
8361704202097698447 457512630822197510 9047071582378798263 7521861541655044968 15691318489382327720 9116556133522441342 10776729311315660437 2007356224744446747 15602891128841739224 11582605118888328352 14538672656065746377 9928263521479936137 3198358632421024300 6031000265902699091 1214633584616830...
result:
ok correct answer!
Test #23:
score: 100
Accepted
time: 1ms
memory: 3820kb
First Run Input
encode 1000 4070799250438564664 605330642058700296 5444589342570549067 8478061516396013685 15697388467035232473 8436336705264620405 10643411232161270675 8544420007176800570 16811631686571990158 7243022960999760996 5840250624485887057 14278601361167230918 12210943273207625129 1176096451434205712 1283...
First Run Output
1017 8094835865697225062 2348703133233088536 6375509921834799760 6090866483259506937 3322350161137821981 8565218363195901077 13531352811920302043 10608943068625335254 17085594472465025490 11858841545968455699 2633307124759789563 1181487379220343992 14211308247789173502 6713323691578418346 2992792478...
Second Run Input
decode 1017 7388711409860892272 2348703133233088536 10381625865738680920 17942346094287161172 2155276397442702126 10792016180899274102 13531352811920302043 10608943068625335254 15188855092917378285 1373624427334439844 2633307124759789563 13270993169194706192 14211308247789173502 12314176370153630301...
Second Run Output
4070799250438564664 605330642058700296 5444589342570549067 8478061516396013685 15697388467035232473 8436336705264620405 10643411232161270675 8544420007176800570 16811631686571990158 7243022960999760996 5840250624485887057 14278601361167230918 12210943273207625129 1176096451434205712 1283281026090651...
result:
ok correct answer!
Test #24:
score: 100
Accepted
time: 1ms
memory: 3780kb
First Run Input
encode 1000 12880235316464868018 6079333585974676397 8949594007992873852 17714600270679758581 3687564633781840947 17554383905953148659 10232070266398111373 2112684738820133149 13317391019226530972 9729754318953252743 898027907072357900 3401298529968599855 13130931376755980982 5483140174275811404 168...
First Run Output
1017 7256891413764187932 13127567663216790910 16400712998239700309 6228334792931074786 9117121124956053452 14825000372113347555 17962180228371296777 10096315840338536231 4267171587347860270 16293493625604539752 4135624401888082422 14335013016764923834 16628792064697503332 10244866193642488497 875656...
Second Run Input
decode 1017 2028871401454744932 13127567663216790910 6162390779228167139 16348872290852499286 14708536254568695422 16398690148230610125 17962180228371296777 10096315840338536231 3335903177349871675 7495467764629249762 4135624401888082422 13456719928349618374 16628792064697503332 12754889051196304782...
Second Run Output
12880235316464868018 6079333585974676397 8949594007992873852 17714600270679758581 3687564633781840947 17554383905953148659 10232070266398111373 2112684738820133149 13317391019226530972 9729754318953252743 898027907072357900 3401298529968599855 13130931376755980982 5483140174275811404 168683461365188...
result:
ok correct answer!
Test #25:
score: 100
Accepted
time: 1ms
memory: 3852kb
First Run Input
encode 1000 17393761435229632521 8814882814214296698 3214342078937098028 12239425198494964649 14970362339477012943 3905744559189406518 10423699172450085008 1282661219762752529 2028127423684402460 16606738522249646310 4504076889805065534 17998211395807463161 15073288595893530577 6967295239368126560 3...
First Run Output
1017 1400760280749455227 16956546792405993915 7077713912253788530 10644853329171418076 17670216657799892687 12956166154769858004 1893997519989058451 10453360650495929031 2465926265432741343 8185367028197333250 3672519487499867422 16758861632544505071 4125291511015764170 5346925786338004455 635460969...
Second Run Input
decode 1017 8878719968347189267 16956546792405993915 8228563367927167330 15891907017206250131 14937977002705566197 15347702490515426739 1893997519989058451 10453360650495929031 16110902632947267618 187433437702101105 3672519487499867422 17292904270138414056 4125291511015764170 16685006933397615690 1...
Second Run Output
17393761435229632521 8814882814214296698 3214342078937098028 12239425198494964649 14970362339477012943 3905744559189406518 10423699172450085008 1282661219762752529 2028127423684402460 16606738522249646310 4504076889805065534 17998211395807463161 15073288595893530577 6967295239368126560 3941403115377...
result:
ok correct answer!
Test #26:
score: 100
Accepted
time: 1ms
memory: 3944kb
First Run Input
encode 1000 8115213866885488496 918977475602399244 14587511192000950730 1633431972983327826 15072791127986744785 6837211866643026526 5967645362315710802 17178064812114863342 15413834056879761621 3668122907584560911 10632535574962671251 1167735484387308560 2626489242395991942 8127492241531145328 1574...
First Run Output
1017 16230428836410171409 3458896005956036905 5804580417094025794 3226261951799867188 2502565058233756415 13085195890158992347 3362473867407120078 5975824526154259932 15973090600429920909 6287020901851647129 10851833234861087092 4037830436857548368 487216399056582360 2092234577380700571 732976046675...
Second Run Input
decode 1017 1234123470700363489 3458896005956036905 4756386864519417424 3798614577843586348 18440643208659974690 15851355059699095477 3362473867407120078 5975824526154259932 10205932612570164189 11082323210165567319 10851833234861087092 5804620488000997688 487216399056582360 11236921232548694301 504...
Second Run Output
8115213866885488496 918977475602399244 14587511192000950730 1633431972983327826 15072791127986744785 6837211866643026526 5967645362315710802 17178064812114863342 15413834056879761621 3668122907584560911 10632535574962671251 1167735484387308560 2626489242395991942 8127492241531145328 1574375061941821...
result:
ok correct answer!
Test #27:
score: 100
Accepted
time: 1ms
memory: 4068kb
First Run Input
encode 1000 8425165299341585524 12943014948951531187 15460229027637464534 14501491637922119625 1419011972619936150 1531930959048819221 4849605402876333379 16923384268274588650 3333033076450189598 609865898516117000 901260326856664844 7789088477532264556 18185090625118449660 1003061006082435853 14479...
First Run Output
1017 16850331336365362383 14806233086474755115 13073417917165225529 11384066291963050494 15578571243892635580 4937581959095356317 10061365516750187370 4893965772015052790 15365651775369490952 13339900371216002444 4782884983024377863 14537767348537292396 9479513258942843295 1693287191957329355 176559...
Second Run Input
decode 1017 14973537281693440233 14806233086474755115 4127228449177497269 18354970208865877149 13616446470498824920 11352239448177804612 10061365516750187370 4893965772015052790 626632592652910037 10118865664490348729 4782884983024377863 7815669552012247241 9479513258942843295 14687740093238837015 1...
Second Run Output
8425165299341585524 12943014948951531187 15460229027637464534 14501491637922119625 1419011972619936150 1531930959048819221 4849605402876333379 16923384268274588650 3333033076450189598 609865898516117000 901260326856664844 7789088477532264556 18185090625118449660 1003061006082435853 14479515035047543...
result:
ok correct answer!
Test #28:
score: 100
Accepted
time: 1ms
memory: 4144kb
First Run Input
encode 1000 3843638127672474165 4209638564019596090 8198111399318504817 3246997639520013181 16123800028132066271 5198896512401148744 4432422976740316796 10193867358299518861 5227843122247470408 16957438109999387883 5592627905395006797 2028252743007846684 1361506116473767442 6476407042194202713 93856...
First Run Output
1017 7670792876768190988 16838028428310290371 9884185994571853340 15544161613936649419 16536048260315327661 3950222486357437091 2683700563234862751 4363275439151035572 1914339969210416204 2498745442282565369 6588742120618012385 15619628222699009206 9602732239937231869 13277762582685555049 1730627907...
Second Run Input
decode 1017 892378847631209578 16838028428310290371 2066686159709154185 14692136859433482199 12514606095460236261 11775250647409152566 2683700563234862751 4363275439151035572 5511313252935176474 18009438233453374754 6588742120618012385 13183342024655488216 9602732239937231869 7573350779979187384 797...
Second Run Output
3843638127672474165 4209638564019596090 8198111399318504817 3246997639520013181 16123800028132066271 5198896512401148744 4432422976740316796 10193867358299518861 5227843122247470408 16957438109999387883 5592627905395006797 2028252743007846684 1361506116473767442 6476407042194202713 93856964333492143...
result:
ok correct answer!
Test #29:
score: 100
Accepted
time: 1ms
memory: 3904kb
First Run Input
encode 1000 7909617952844924013 9803115229991247890 15704661284805860057 13036955088565103796 8232958449788614175 10411060999027325840 1657707053010583831 1611023628387226902 8825304933328320890 4820495155580036418 2094500400859779357 1933221703835374618 13781614827293459135 5545848500122941004 8816...
First Run Output
1017 15819103735290949245 5224287989598604006 14832172670344405941 5533603336727704209 17781177003137172930 2081963184201296067 14522842354170972196 1591483470130112685 3311537789025144903 16792116904485875310 1723339650553104242 15033369519548314661 6549174664481649925 15073428644655919610 88739885...
Second Run Input
decode 1017 9038182079514249435 5224287989598604006 13088343010334660301 10462586091273636684 13980675795898516470 14080717804313437212 14522842354170972196 1591483470130112685 5138643351657182253 7957497901831490025 1723339650553104242 2717038942980514256 6549174664481649925 18082490609566953425 89...
Second Run Output
7909617952844924013 9803115229991247890 15704661284805860057 13036955088565103796 8232958449788614175 10411060999027325840 1657707053010583831 1611023628387226902 8825304933328320890 4820495155580036418 2094500400859779357 1933221703835374618 13781614827293459135 5545848500122941004 8816319108061280...
result:
ok correct answer!
Test #30:
score: 100
Accepted
time: 1ms
memory: 3908kb
First Run Input
encode 1000 1095323537722389263 1793902084311475480 619603394461238971 825137412916339979 11497053862269885087 9254004377678277760 13265615946525978808 8997700509002342524 101888878420274433 7308714701788376421 4795919705601379906 4357495418564540476 9876480417963144585 358384761466821234 1713960113...
First Run Output
1017 2190476306012797905 6959433360442246022 15579613725287800850 12776771776028820319 16236359585503339705 2747225851264891345 4637608895256161099 13365734195893232085 17943003489981273235 402145370390028903 3031892683153538938 3009675479652229308 10243350963811725299 4945687030488455186 8971863622...
Second Run Input
decode 1017 15094884236196472350 6959433360442246022 1324221607180776920 6864452776290046129 13358925415505417185 15130240105305546790 4637608895256161099 13365734195893232085 10634385924250272505 7449563385923212293 3031892683153538938 13610123393444856873 10243350963811725299 1321953404932366916 1...
Second Run Output
1095323537722389263 1793902084311475480 619603394461238971 825137412916339979 11497053862269885087 9254004377678277760 13265615946525978808 8997700509002342524 101888878420274433 7308714701788376421 4795919705601379906 4357495418564540476 9876480417963144585 358384761466821234 17139601133666884845 9...
result:
ok correct answer!
Test #31:
score: 100
Accepted
time: 1ms
memory: 4072kb
First Run Input
encode 1000 8348320487640521587 4087644312273861176 18249601812280121085 4317584370914618171 1371239231248008979 7045133357521290593 8401228777323599732 3237214378156003628 17619700469171521012 5278047533005029193 6814428298653440461 15689881449784655321 2141740473823191837 15362805372002120661 8497...
First Run Output
1017 16696773606783108355 16278518159350290115 16840999746829664903 13813471079309804418 7413699127695356980 4924951809995029280 3511342698540371892 8443283684656326303 6406383118999151847 15215408665224946371 5290268157047926408 16831602705754593741 3943855696300688339 8018647646741433299 110186836...
Second Run Input
decode 1017 271742989407860455 16278518159350290115 9782444923470002153 9404470938173354943 3797915202226283110 2358667819491612740 3511342698540371892 8443283684656326303 16709480618400671832 14060839450468755411 5290268157047926408 14814874328190785001 3943855696300688339 15243290366996465519 1073...
Second Run Output
8348320487640521587 4087644312273861176 18249601812280121085 4317584370914618171 1371239231248008979 7045133357521290593 8401228777323599732 3237214378156003628 17619700469171521012 5278047533005029193 6814428298653440461 15689881449784655321 2141740473823191837 15362805372002120661 8497980574841231...
result:
ok correct answer!
Test #32:
score: 100
Accepted
time: 1ms
memory: 4076kb
First Run Input
encode 1000 13578882033368789436 3973596031039251767 14778499039369405888 6098462778530162260 8938781100678712444 2755428565923624603 11817516716366595315 2335520724594542624 5470249295394133579 8387325725044401524 9074784385410142746 8813556627048910970 10586188031995908626 13312221032665497272 773...
First Run Output
1017 8711020354174682382 16110778963011855437 13094740324804920 5505006658335732416 10056469647927771976 16115812361442416452 10554680653008394103 11826531811324818214 4726154630640894355 3445699090936133831 11804937446691772314 16043800602804865889 5354571541180536103 13485095251991314368 690759568...
Second Run Input
decode 1017 1046462330021536632 16110778963011855437 4064917378327457280 13903248204741633356 5225084880471297931 4960608469894670047 10554680653008394103 11826531811324818214 10593006907900597825 14373275792011809071 11804937446691772314 7046832701642876894 5354571541180536103 13888889327186748603 ...
Second Run Output
13578882033368789436 3973596031039251767 14778499039369405888 6098462778530162260 8938781100678712444 2755428565923624603 11817516716366595315 2335520724594542624 5470249295394133579 8387325725044401524 9074784385410142746 8813556627048910970 10586188031995908626 13312221032665497272 773644045015340...
result:
ok correct answer!
Test #33:
score: 100
Accepted
time: 1ms
memory: 4136kb
First Run Input
encode 1000 11790443656552554659 7924050146065503853 3943164586696357942 9482669882038720899 39037787700234752 12219081450744336553 4172653270216846757 10935904117498496151 4140338612291997753 2130699400371309778 17316187340788884577 11499287822828672415 9687009983375530331 274064634849053955 120619...
First Run Output
1017 5062368183411820582 13211722280893091071 12952771474117031117 3645779430613631110 1170955239640803919 4623671020672445316 15407612651882023591 4150001337318618427 3419112825279225900 16449453802347464338 17007883248619635452 360105286803598133 17542412646787080369 11160271942981429974 166096489...
Second Run Input
decode 1017 2758596119308353862 13211722280893091071 14840643262430953907 9709803072299571250 5704561142564732944 9577875241415486016 15407612651882023591 4150001337318618427 3179753362264453935 10558159971989801188 17007883248619635452 3831344705532722948 17542412646787080369 15468222969628647834 8...
Second Run Output
11790443656552554659 7924050146065503853 3943164586696357942 9482669882038720899 39037787700234752 12219081450744336553 4172653270216846757 10935904117498496151 4140338612291997753 2130699400371309778 17316187340788884577 11499287822828672415 9687009983375530331 274064634849053955 120619374420848406...
result:
ok correct answer!
Test #34:
score: 100
Accepted
time: 1ms
memory: 3848kb
First Run Input
encode 1000 16464528558736375268 15833734330726400 2137625671539272221 10578535761341238930 16171384701637651680 342725409902392068 11393957410952954782 5652219120422907629 15348503773490101288 15370915178985967829 14055679937743818691 10086653288626125451 8728772207572459641 429279293627692293 1049...
First Run Output
1017 14554370191098578422 207165827701671317 16812172665181041550 2371475780360226631 1341102271614889271 4089792028379805924 202628873856738753 11451930901520232386 11263634871498273491 6077400411339183456 12258374259493498460 3583924531061272611 9093065704248498538 5214677975800160013 181232687063...
Second Run Input
decode 1017 17727847712830979017 207165827701671317 10300759132589084905 5136302983531522336 3975855054493948946 16463134250839621944 202628873856738753 11451930901520232386 15236340558822133916 6941647379871520596 12258374259493498460 2535728210464259121 9093065704248498538 945649878959218248 13417...
Second Run Output
16464528558736375268 15833734330726400 2137625671539272221 10578535761341238930 16171384701637651680 342725409902392068 11393957410952954782 5652219120422907629 15348503773490101288 15370915178985967829 14055679937743818691 10086653288626125451 8728772207572459641 429279293627692293 1049536009030990...
result:
ok correct answer!
Test #35:
score: 100
Accepted
time: 1ms
memory: 4140kb
First Run Input
encode 1000 2283629854520859126 8791164542106206330 16172199097798848480 5479911485192565324 7334387051300309093 8517643902455133302 5818741755402524198 5117060688873390919 12141870038631481512 4755610447648980801 786955256347676938 14521256560460447783 8009834018971658351 662933001546117897 6434522...
First Run Output
1017 17056084835631912195 16789701134116973719 180016343078344275 14926274106223611593 12181209770920675964 11032989261163921436 4184700851489786922 5784596000297921437 10254697644347220231 11747354871573253107 1032037720500350411 12569549741416576081 3528866786036845737 14653519721732159877 1098995...
Second Run Input
decode 1017 240314203974579180 16789701134116973719 5987239965649239810 14541720230998516943 8974053870046612649 2017718299039440281 4184700851489786922 5784596000297921437 567832893905260686 17513255377489954467 1032037720500350411 5905552526559834286 3528866786036845737 9635740142887132107 1640814...
Second Run Output
2283629854520859126 8791164542106206330 16172199097798848480 5479911485192565324 7334387051300309093 8517643902455133302 5818741755402524198 5117060688873390919 12141870038631481512 4755610447648980801 786955256347676938 14521256560460447783 8009834018971658351 662933001546117897 6434522871214824025...
result:
ok correct answer!
Test #36:
score: 100
Accepted
time: 1ms
memory: 3852kb
First Run Input
encode 1000 1717786205588128791 1576640117804228885 14155128512240841156 13192476574176510647 835120129773770251 9915507235852778377 8387923390246705780 6201845675540418902 17609497148766839284 685633166199389436 13764475822913947071 207834653924581890 12837372616645945266 13943204184925307073 70342...
First Run Output
1017 3316984483883464143 6090106677674823339 2346079707143988776 8947315968349237636 8557176837338060117 4819553316490618352 4916291886851023327 8382906865289498869 12531480370174062151 15056645337166764845 5546233416969442947 17305961238879045606 6719641419723065889 9830285550851619995 138983025208...
Second Run Input
decode 1017 14930940606691346478 6090106677674823339 2947062003085315616 9579616975940758396 6149028562242552182 17340400962027577922 4916291886851023327 8382906865289498869 5147053099181140141 3304477873229001680 5546233416969442947 16611263669419912176 6719641419723065889 11203876271130963080 1702...
Second Run Output
1717786205588128791 1576640117804228885 14155128512240841156 13192476574176510647 835120129773770251 9915507235852778377 8387923390246705780 6201845675540418902 17609497148766839284 685633166199389436 13764475822913947071 207834653924581890 12837372616645945266 13943204184925307073 70342348223344157...
result:
ok correct answer!
Test #37:
score: 100
Accepted
time: 0ms
memory: 4076kb
First Run Input
encode 1000 166900737089163266 10202814870311192205 17161612004701186798 11063970828547951513 10965376692181156248 10534314859004939922 13386144313190565305 14672256134463090891 14132945767778689732 14889658746529751758 17916615180112064248 10583966947778355602 43606244127883066 17628372606263469300...
First Run Output
1017 333519350449556825 3754563203992744074 8383267684416271122 11509274364145294125 1311612613577539657 12080048132658022024 14545609661264123002 13388058437320339273 10847277724708187993 1241739805152112108 8414544462627817407 9957205743381486489 6652634032283154638 2738256645581585991 59430796212...
Second Run Input
decode 1017 6470901945902473220 3754563203992744074 1347602006404585332 3304343813948488095 5260263788758184722 9855761753545352359 14545609661264123002 13388058437320339273 6426422854556158358 17072456887096261393 8414544462627817407 11068646366406848394 6652634032283154638 5133749841313988646 9082...
Second Run Output
166900737089163266 10202814870311192205 17161612004701186798 11063970828547951513 10965376692181156248 10534314859004939922 13386144313190565305 14672256134463090891 14132945767778689732 14889658746529751758 17916615180112064248 10583966947778355602 43606244127883066 17628372606263469300 22232279562...
result:
ok correct answer!
Test #38:
score: 100
Accepted
time: 0ms
memory: 4136kb
First Run Input
encode 1000 12995392041539623092 16795881029397386985 3744575639523098163 862102261500605963 4638781186002113856 8717314926297605263 1663644116731500055 10120463580791835907 10702428446706345876 2878139692429406503 17137793428385748461 5786710246580178512 17309231859780638448 7120334900288475234 114...
First Run Output
1017 7544039694487757014 12059461380256278135 11525230288145120068 12925576175314120207 47422817378024019 14997964549201583772 13622134575218262658 1586126203594998574 1741010619318394783 6025469764294830312 4569376425966382030 15928921153218407217 651577371025654855 917635586547707585 7507869197283...
Second Run Input
decode 1017 15465470870256922984 12059461380256278135 4934667833475330463 1130079691921645747 6033152349528827904 11303489145558082512 13622134575218262658 1586126203594998574 11520110105962948888 16746818325270797907 4569376425966382030 3597190624268586717 651577371025654855 13974227922250677260 12...
Second Run Output
12995392041539623092 16795881029397386985 3744575639523098163 862102261500605963 4638781186002113856 8717314926297605263 1663644116731500055 10120463580791835907 10702428446706345876 2878139692429406503 17137793428385748461 5786710246580178512 17309231859780638448 7120334900288475234 114218809193165...
result:
ok correct answer!
Test #39:
score: 100
Accepted
time: 1ms
memory: 3844kb
First Run Input
encode 1000 3093762872593936170 8266889846585409650 44684674286525952 13198951847648149397 983462115216400909 4557333676994543167 5122213258115224903 13524573298856512699 12317653193367024042 832997201996050816 11735177166486887330 11345938099610743965 12429926898941031812 14652127291888391883 53342...
First Run Output
1017 6115468145969660867 14483866658026759198 211674465462650775 5834936585564657863 13205086753884300626 14091709407892302511 11503190568276709840 5168808643467904163 8599028866421441861 12250572161461540254 6706103725134926090 3231976941692310235 12651649837690395869 2300127839712846441 1238645122...
Second Run Input
decode 1017 14052283808229744212 14483866658026759198 10882926551419383810 14346361636466194768 5937289575576912311 12640042431103864771 11503190568276709840 5168808643467904163 4991503257288529271 11409082935941661354 6706103725134926090 15839954406457596460 12651649837690395869 7575637761440541471...
Second Run Output
3093762872593936170 8266889846585409650 44684674286525952 13198951847648149397 983462115216400909 4557333676994543167 5122213258115224903 13524573298856512699 12317653193367024042 832997201996050816 11735177166486887330 11345938099610743965 12429926898941031812 14652127291888391883 53342018891740186...
result:
ok correct answer!
Test #40:
score: 100
Accepted
time: 1ms
memory: 3852kb
First Run Input
encode 1000 15265036345800096979 6373227721885190649 12787116445369521154 2278408008021614111 28821713277314560 9854428111595775824 14096648566308446659 5264876691844173638 6113485713246181204 11692030456964792994 2458251253109869602 14609572044763873226 9132467584603241854 17006731584508527852 3787...
First Run Output
1017 12103897429840049846 16584380896632768196 1414256306315815558 18149938850981544033 198383466089892995 59823407092143112 14258906776746012431 13998893650679097815 10639946454167942740 5947296590111573843 1375112115041851493 2423776677748004373 6330283678001297346 12546811962461430406 28555870276...
Second Run Input
decode 1017 13129788758086842791 16584380896632768196 9685640911474827283 6989817464234828283 9461105252918673410 582366641884091392 14258906776746012431 13998893650679097815 6086293142903892115 5982889253226056018 1375112115041851493 1573458262613598753 6330283678001297346 9701353956495269806 96464...
Second Run Output
15265036345800096979 6373227721885190649 12787116445369521154 2278408008021614111 28821713277314560 9854428111595775824 14096648566308446659 5264876691844173638 6113485713246181204 11692030456964792994 2458251253109869602 14609572044763873226 9132467584603241854 17006731584508527852 3787433410363558...
result:
ok correct answer!
Test #41:
score: 100
Accepted
time: 1ms
memory: 3912kb
First Run Input
encode 1000 5619017349366741581 4053762078733594680 8563976765265664374 4978085664965137733 10557361696048448402 1816731551717281049 12317163971061477290 5726350117382223951 2284281409372467999 4026408032294199351 22042371748404480 12799717861459244877 4482188044214874942 11987312759986281382 940016...
First Run Output
1017 11237753545483291144 16267130547423074577 12811578697787488230 6220704306383212848 5220252826492608958 7225624377464314948 924917624911650654 12272159545226833724 11402663842436045650 9213380444071276076 13691480051197327776 346904728471505072 3807344639310156794 10200628239793703743 3193968278...
Second Run Input
decode 1017 579534124860437659 16267130547423074577 16624920848920136625 3517793593460872278 13700463127300174408 4961886635530864228 924917624911650654 12272159545226833724 5934503842214723230 3183594161269955711 13691480051197327776 12720542728114720772 3807344639310156794 4596970972303167373 1379...
Second Run Output
5619017349366741581 4053762078733594680 8563976765265664374 4978085664965137733 10557361696048448402 1816731551717281049 12317163971061477290 5726350117382223951 2284281409372467999 4026408032294199351 22042371748404480 12799717861459244877 4482188044214874942 11987312759986281382 940016594520627315...
result:
ok correct answer!
Test #42:
score: 100
Accepted
time: 1ms
memory: 3876kb
First Run Input
encode 1000 13373157595011847865 8294755373559972958 14014898252387024578 4637863197217436224 4866315776356812867 9539859265631302660 18141486943745043707 10872118313141592470 3596218685336951983 15897608051647333621 15129883218354174161 12802918012140820881 7337380393190884430 14621875289997110218 ...
First Run Output
1017 8227512538030145514 8867931055788073093 1366327667027000141 874836528598089773 7496261185783208602 1153218145955199639 14086616041140666867 18128925645358236020 3269394817126718697 14327097557433604550 16541376354370322995 2242117143367986498 3807382134032034690 8474071057421932842 845930039422...
Second Run Input
decode 1017 16933354167605341554 8867931055788073093 5601332416161248786 3242767701617878028 11104232785920985192 10933105139620053264 14086616041140666867 18128925645358236020 16815411458823773997 14292510956005348550 16541376354370322995 4768541950659337503 3807382134032034690 3069499652256733557 ...
Second Run Output
13373157595011847865 8294755373559972958 14014898252387024578 4637863197217436224 4866315776356812867 9539859265631302660 18141486943745043707 10872118313141592470 3596218685336951983 15897608051647333621 15129883218354174161 12802918012140820881 7337380393190884430 14621875289997110218 146731919294...
result:
ok correct answer!
Extra Test:
score: 0
Extra Test Passed