QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#284665 | #7938. Graph Race | ucup-team087# | AC ✓ | 542ms | 77172kb | C++20 | 20.1kb | 2023-12-16 14:19:32 | 2023-12-16 14:19:33 |
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>
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;
}
#endif
#line 1 "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;
#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 3 "main.cpp"
#line 2 "library/graph/base.hpp"
template <typename T>
struct Edge {
int frm, to;
T cost;
int id;
};
template <typename T = int, bool directed = false>
struct Graph {
static constexpr bool is_directed = directed;
int N, M;
using cost_type = T;
using edge_type = Edge<T>;
vector<edge_type> edges;
vector<int> indptr;
vector<edge_type> csr_edges;
vc<int> vc_deg, vc_indeg, vc_outdeg;
bool prepared;
class OutgoingEdges {
public:
OutgoingEdges(const Graph* G, int l, int r) : G(G), l(l), r(r) {}
const edge_type* begin() const {
if (l == r) { return 0; }
return &G->csr_edges[l];
}
const edge_type* end() const {
if (l == r) { return 0; }
return &G->csr_edges[r];
}
private:
const Graph* G;
int l, r;
};
bool is_prepared() { return prepared; }
Graph() : N(0), M(0), prepared(0) {}
Graph(int N) : N(N), M(0), prepared(0) {}
void build(int n) {
N = n, M = 0;
prepared = 0;
edges.clear();
indptr.clear();
csr_edges.clear();
vc_deg.clear();
vc_indeg.clear();
vc_outdeg.clear();
}
void add(int frm, int to, T cost = 1, int i = -1) {
assert(!prepared);
assert(0 <= frm && 0 <= to && to < N);
if (i == -1) i = M;
auto e = edge_type({frm, to, cost, i});
edges.eb(e);
++M;
}
#ifdef FASTIO
// wt, off
void read_tree(bool wt = false, int off = 1) { read_graph(N - 1, wt, off); }
void read_graph(int M, bool wt = false, int off = 1) {
for (int m = 0; m < M; ++m) {
INT(a, b);
a -= off, b -= off;
if (!wt) {
add(a, b);
} else {
T c;
read(c);
add(a, b, c);
}
}
build();
}
#endif
void build() {
assert(!prepared);
prepared = true;
indptr.assign(N + 1, 0);
for (auto&& e: edges) {
indptr[e.frm + 1]++;
if (!directed) indptr[e.to + 1]++;
}
for (int v = 0; v < N; ++v) { indptr[v + 1] += indptr[v]; }
auto counter = indptr;
csr_edges.resize(indptr.back() + 1);
for (auto&& e: edges) {
csr_edges[counter[e.frm]++] = e;
if (!directed)
csr_edges[counter[e.to]++] = edge_type({e.to, e.frm, e.cost, e.id});
}
}
OutgoingEdges operator[](int v) const {
assert(prepared);
return {this, indptr[v], indptr[v + 1]};
}
vc<int> deg_array() {
if (vc_deg.empty()) calc_deg();
return vc_deg;
}
pair<vc<int>, vc<int>> deg_array_inout() {
if (vc_indeg.empty()) calc_deg_inout();
return {vc_indeg, vc_outdeg};
}
int deg(int v) {
if (vc_deg.empty()) calc_deg();
return vc_deg[v];
}
int in_deg(int v) {
if (vc_indeg.empty()) calc_deg_inout();
return vc_indeg[v];
}
int out_deg(int v) {
if (vc_outdeg.empty()) calc_deg_inout();
return vc_outdeg[v];
}
#ifdef FASTIO
void debug() {
print("Graph");
if (!prepared) {
print("frm to cost id");
for (auto&& e: edges) print(e.frm, e.to, e.cost, e.id);
} else {
print("indptr", indptr);
print("frm to cost id");
FOR(v, N) for (auto&& e: (*this)[v]) print(e.frm, e.to, e.cost, e.id);
}
}
#endif
vc<int> new_idx;
vc<bool> used_e;
// G における頂点 V[i] が、新しいグラフで i になるようにする
// {G, es}
Graph<T, directed> rearrange(vc<int> V, bool keep_eid = 0) {
if (len(new_idx) != N) new_idx.assign(N, -1);
if (len(used_e) != M) used_e.assign(M, 0);
int n = len(V);
FOR(i, n) new_idx[V[i]] = i;
Graph<T, directed> G(n);
vc<int> history;
FOR(i, n) {
for (auto&& e: (*this)[V[i]]) {
if (used_e[e.id]) continue;
int a = e.frm, b = e.to;
if (new_idx[a] != -1 && new_idx[b] != -1) {
history.eb(e.id);
used_e[e.id] = 1;
int eid = (keep_eid ? e.id : -1);
G.add(new_idx[a], new_idx[b], e.cost, eid);
}
}
}
FOR(i, n) new_idx[V[i]] = -1;
for (auto&& eid: history) used_e[eid] = 0;
G.build();
return G;
}
private:
void calc_deg() {
assert(vc_deg.empty());
vc_deg.resize(N);
for (auto&& e: edges) vc_deg[e.frm]++, vc_deg[e.to]++;
}
void calc_deg_inout() {
assert(vc_indeg.empty());
vc_indeg.resize(N);
vc_outdeg.resize(N);
for (auto&& e: edges) { vc_indeg[e.to]++, vc_outdeg[e.frm]++; }
}
};
#line 3 "library/graph/shortest_path/bfs01.hpp"
template <typename T, typename GT>
pair<vc<T>, vc<int>> bfs01(GT& G, int v) {
assert(G.is_prepared());
int N = G.N;
vc<T> dist(N, infty<T>);
vc<int> par(N, -1);
deque<int> que;
dist[v] = 0;
que.push_front(v);
while (!que.empty()) {
auto v = que.front();
que.pop_front();
for (auto&& e: G[v]) {
if (dist[e.to] == infty<T> || dist[e.to] > dist[e.frm] + e.cost) {
dist[e.to] = dist[e.frm] + e.cost;
par[e.to] = e.frm;
if (e.cost == 0)
que.push_front(e.to);
else
que.push_back(e.to);
}
}
}
return {dist, par};
}
// 多点スタート。[dist, par, root]
template <typename T, typename GT>
tuple<vc<T>, vc<int>, vc<int>> bfs01(GT& G, vc<int> vs) {
assert(G.is_prepared());
int N = G.N;
vc<T> dist(N, infty<T>);
vc<int> par(N, -1);
vc<int> root(N, -1);
deque<int> que;
for (auto&& v: vs) {
dist[v] = 0;
root[v] = v;
que.push_front(v);
}
while (!que.empty()) {
auto v = que.front();
que.pop_front();
for (auto&& e: G[v]) {
if (dist[e.to] == infty<T> || dist[e.to] > dist[e.frm] + e.cost) {
dist[e.to] = dist[e.frm] + e.cost;
root[e.to] = root[e.frm];
par[e.to] = e.frm;
if (e.cost == 0)
que.push_front(e.to);
else
que.push_back(e.to);
}
}
}
return {dist, par, root};
}
#line 6 "main.cpp"
void solve() {
LL(N, M);
vi A(N), B(N);
FOR(i, N) read(A[i], B[i]);
Graph<int, 0> G(N);
G.read_graph(M);
auto [D, par] = bfs01<int>(G, 0);
vi ANS(N, -infty<ll>);
// 頂点 0 からの遷移
for (auto& e: G[0]) { chmax(ANS[e.to], A[0] - B[0]); }
FOR(K, 3) {
// v から u まで距離 D[v]-D[u]+k で行く
// D[v]-1+k
// v から予定通りいけた場合
vi val(N);
FOR(v, N) { val[v] = A[v] - B[v] * (D[v] - 1 + K); }
if (K == 2) {
auto I = argsort(val);
reverse(all(I));
FOR(i, 2) {
for (auto& e: G[0]) {
int v = I[i];
if (e.to != v) chmax(ANS[e.to], val[v]);
}
}
continue;
}
using ARR = array<pi, 2>;
ARR unit = {pi{-infty<ll>, -1}, pi{-infty<ll>, -1}};
vv(ARR, dp, K + 1, N, unit);
pq<tuple<ll, ll, ll, ll>> que; // val[v], v, k, pos
auto upd = [&](ll k, ll pos, ll x, ll v) -> void {
if (k > K) return;
auto& dat = dp[k][pos];
if (dat[0].se == v) return;
if (dat[1].se == v) return;
if (dat[0].fi < x) {
dat[1] = dat[0];
dat[0] = {x, v};
que.emplace(x, v, k, pos);
}
elif (dat[1].fi < x) {
dat[1] = {x, v};
que.emplace(x, v, k, pos);
}
};
FOR(v, 1, N) upd(0, v, val[v], v);
while (len(que)) {
auto [x, v, k, pos] = POP(que);
bool ok = 0;
if (dp[k][pos][0] == pi{x, v}) ok = 1;
if (dp[k][pos][1] == pi{x, v}) ok = 1;
if (!ok) continue;
for (auto& e: G[pos]) {
ll add = (D[e.to] - D[pos] + 1);
upd(k + add, e.to, x, v);
}
}
for (auto& e: G[0]) {
for (auto& [x, v]: dp[K][e.to]) {
if (v == -1 || v == e.to) continue;
chmax(ANS[e.to], x);
}
}
}
FOR(v, N) {
if (ANS[v] == -infty<ll>) { continue; }
print(ANS[v]);
}
}
signed main() {
solve();
return 0;
}
这程序好像有点Bug,我给组数据试试?
詳細信息
Test #1:
score: 100
Accepted
time: 1ms
memory: 3736kb
input:
5 4 0 0 1 1 1 1 5 1 100 40 4 1 1 2 1 3 4 5
output:
3 3 60
result:
ok 3 number(s): "3 3 60"
Test #2:
score: 0
Accepted
time: 0ms
memory: 3928kb
input:
6 10 903568159 700448725 628912797 731062359 620179636 21330815 551246171 800423583 200754983 633226914 263013360 961926530 3 5 3 6 5 2 4 2 4 3 1 3 6 2 4 5 6 4 3 2
output:
203119434
result:
ok 1 number(s): "203119434"
Test #3:
score: 0
Accepted
time: 0ms
memory: 3684kb
input:
6 11 326018245 63396259 60284282 902890472 784478565 924092847 151131403 525824310 258238138 570218648 320719991 364667070 4 5 3 6 3 2 2 6 2 5 5 6 5 3 6 4 4 2 2 1 1 6
output:
262621986 262621986
result:
ok 2 number(s): "262621986 262621986"
Test #4:
score: 0
Accepted
time: 0ms
memory: 3772kb
input:
6 12 895951979 121560152 123336598 105332219 498719969 690411123 228006059 339956946 882834157 112713753 487497361 293201352 2 5 3 6 4 5 1 3 6 4 4 3 2 3 5 6 2 1 1 5 4 2 6 2
output:
774391827 774391827 774391827
result:
ok 3 number(s): "774391827 774391827 774391827"
Test #5:
score: 0
Accepted
time: 0ms
memory: 3968kb
input:
6 13 318402066 327207694 186388913 455257614 859881730 743827329 679402919 528782489 239844004 967189368 257292425 413166361 3 4 6 2 3 5 3 2 2 4 4 6 5 2 1 5 1 2 4 5 6 5 1 3 6 1
output:
150620430 150620430 150620430 150620430
result:
ok 4 number(s): "150620430 150620430 150620430 150620430"
Test #6:
score: 0
Accepted
time: 0ms
memory: 3964kb
input:
6 14 740852152 385371587 249441229 657699361 221043492 649759887 983316131 717608033 744337499 674181335 174571138 385647722 2 4 2 5 6 4 3 1 6 1 2 3 5 3 3 6 4 3 5 1 6 2 5 6 1 4 1 2
output:
355480565 355480565 355480565 355480565 355480565
result:
ok 5 number(s): "355480565 355480565 355480565 355480565 355480565"
Test #7:
score: 0
Accepted
time: 0ms
memory: 3836kb
input:
150 5000 338736690 901323866 995368970 861835948 516809995 345335899 488704644 108684244 336576555 404003336 678666495 218403167 753583356 573284598 702195658 490577799 434203943 176158580 669641598 406173303 561813959 882162203 137718880 73942564 571689871 113333696 619974825 763517924 132815688 58...
output:
876501955 894579973 870387524 894579973 894579973 876501955 894579973 876501955 894579973 894579973 876501955 894579973 870387524 894579973 870387524 876501955 870387524 876501955 870387524 894579973
result:
ok 20 numbers
Test #8:
score: 0
Accepted
time: 1ms
memory: 4048kb
input:
100 4000 698345183 897302641 678512767 214897575 876474015 683719540 73088161 353627556 740139852 916255429 77362608 532133143 973252651 154570765 806928808 725485410 90398472 238839671 206723121 795974674 799671990 284918122 108418195 5712343 786038055 337539424 855851300 986622633 340948459 511019...
output:
883546966 883546966 883546966 863261090 883546966 883546966 883546966 883546966 863261090 883546966 883546966 883546966 883546966 863261090 883546966 883546966 883546966 883546966 883546966 883546966 883546966 883546966 863261090 883546966 863261090 863261090 883546966 863261090 883546966 863261090
result:
ok 30 numbers
Test #9:
score: 0
Accepted
time: 1ms
memory: 3872kb
input:
150 6000 338859623 276592467 687668823 278955901 302946931 360111961 776234917 766462875 460438746 96413070 640256424 768278969 871989843 648789971 789945041 865909284 881003375 113369839 302116583 128639271 263081453 372848475 112822069 101474389 22394676 951640216 55006177 948505718 240731900 4303...
output:
926829337 926829337 926829337 926829337 961663825 926829337 926829337 961663825 961663825 926829337 926829337 961663825 961663825 926829337 961663825 926829337 961663825 961663825 926829337 926829337 961663825 926829337 926829337 961663825 926829337 926829337 926829337 926829337 926829337 961663825 ...
result:
ok 50 numbers
Test #10:
score: 0
Accepted
time: 2ms
memory: 3992kb
input:
1000 5000 566369286 131040024 372268703 793091910 255080574 588140481 384424912 420095806 229039784 882586609 388712332 458165869 460278622 549499968 952329104 164626963 184889529 115965417 79405501 872104340 756498990 231446585 433046255 100463108 45021801 524669362 613315288 515827042 163720369 43...
output:
972587407 972587407 966024065 972587407 966024065 966024065 972587407 972587407 966024065 972587407
result:
ok 10 numbers
Test #11:
score: 0
Accepted
time: 2ms
memory: 3900kb
input:
1000 5000 871061614 337009713 586226193 284293312 834827262 561667355 785212980 930191902 411601747 920795358 114563435 997864469 622314448 60328091 659969762 992208081 885691738 107296669 407657367 222495581 283052193 527175896 162306799 806916969 667283722 811028399 588440725 412049448 998983475 4...
output:
920718929 896189430
result:
ok 2 number(s): "920718929 896189430"
Test #12:
score: 0
Accepted
time: 0ms
memory: 3904kb
input:
1000 5000 293319326 207072573 420693411 29217412 621576135 135170642 73298679 824173821 718899981 981055701 513914253 233008343 894640383 439191800 145191134 961051054 334808772 210517874 884231100 916638823 961325098 588622006 597683295 415759760 368231839 825157802 303727208 504995526 982151468 17...
output:
964214440 959819582 965895073
result:
ok 3 number(s): "964214440 959819582 965895073"
Test #13:
score: 0
Accepted
time: 2ms
memory: 3928kb
input:
1000 5000 566561661 700781384 8174884 220238044 30376186 174006630 851974969 403942609 434018524 34617715 91156841 673000073 365409427 523292968 48914638 38834021 356765678 88354146 203999471 799989289 465803546 909445446 881089102 783805086 766946102 634391216 907356664 293420648 172962938 84686449...
output:
926382586 926382586 926382586 926382586 957624742 940117718 926382586 940117718 940117718 940117718 940117718
result:
ok 11 numbers
Test #14:
score: 0
Accepted
time: 2ms
memory: 3900kb
input:
1000 5000 248605408 802205195 6280553 539174784 594259941 878448094 3154541 194906279 562141702 140917048 709011861 977355587 690974870 696930775 466111473 176108303 116952614 305763486 235408596 78286115 689675444 705102411 872496048 764742305 95707537 11331645 605295492 957799319 223742635 5867538...
output:
955924763 955924763 955924763 955924763 955924763 955924763 955924763 955924763 955924763 955924763 955924763 970434268 955924763 955924763 955924763 955924763 955924763 955924763 955924763 955924763 955924763 955924763 955924763 955924763 955924763 955924763 955924763 955924763 955924763 955924763 ...
result:
ok 100 numbers
Test #15:
score: 0
Accepted
time: 2ms
memory: 4224kb
input:
1985 5000 140658105 469390714 473518327 667256074 152276071 141515677 626502686 621871152 593979762 143376178 176600715 173615914 701913433 147614092 234635915 705342009 387231714 781002647 703520745 635671823 127131142 13140245 944486294 460904330 217154444 947206772 595780146 73259377 205981852 85...
output:
970411228 970411228 977733031 970411228 963089425 963089425 963089425 963089425 977733031 963089425 970411228 970411228 963089425 963089425 963089425 963089425 963089425 963089425 963089425 970411228
result:
ok 20 numbers
Test #16:
score: 0
Accepted
time: 1ms
memory: 3920kb
input:
500 10000 842119945 423619558 845619396 756515317 304071366 10265868 635691455 407667780 728268095 496418271 771675698 631127453 288620580 52041678 119573138 783358256 405608243 683982189 934670343 366425454 32414902 899239341 706832542 931330881 363000845 267343766 895665945 844322652 924010928 345...
output:
924544559 924544559 928565510 924544559 924544559 924544559 924544559 924544559 920523608 924544559 924544559 928565510 924544559 928565510 924544559 924544559 924544559 924544559 924544559 924544559 924544559 924544559 924544559 924544559 924544559 924544559 924544559 924544559 924544559 924544559 ...
result:
ok 100 numbers
Test #17:
score: 0
Accepted
time: 2ms
memory: 3764kb
input:
200 10000 882270068 779116945 277710631 14314766 543050334 363203851 380821846 585099053 283816970 348794734 2015744 101283882 749159992 523484113 56234073 54426282 264389479 163867731 182422334 497634046 61173814 912950440 153014537 896121971 89693653 216603251 18496293 960071117 690699042 24205737...
output:
842505799 842505799 842505799 842505799 830409826 814157329 814157329 842505799 814157329 830409826 842505799 830409826 842505799 842505799 814157329 842505799 842505799 814157329 814157329 830409826 842505799 830409826 830409826 814157329 842505799 842505799 842505799 842505799 842505799 842505799 ...
result:
ok 100 numbers
Test #18:
score: 0
Accepted
time: 0ms
memory: 3912kb
input:
200 10000 892526577 845181471 394530282 707221565 286377947 104044183 915150090 36361413 685444998 949390793 838545221 770026865 987964241 567899442 630881853 454379124 623740622 566278999 269220959 170836274 502114839 532613832 561086680 217896648 901981721 130771411 318702885 163443356 225213027 5...
output:
944409819 944409819 944409819 944409819 944409819 904503817 904503817 904503817 904503817 944409819 944409819 944409819 944409819 944409819 944409819 944409819 944409819 904503817 944409819 904503817 904503817 944409819 904503817 904503817 944409819 944409819 944409819 944409819 904503817 944409819 ...
result:
ok 199 numbers
Test #19:
score: 0
Accepted
time: 0ms
memory: 4008kb
input:
1000 10000 744026961 635573208 770887576 223810357 621640694 425594930 573153829 500754552 295357004 33730772 399959918 521417731 971986208 402890205 843235031 686549511 389289773 248286583 396455720 121403749 757012247 440026497 30997620 853941891 576124630 19395393 879122900 143699214 94739103 115...
output:
875416609 896947423 875416609 875967063 896947423 923352829 916269754 875416609 896947423 896947423 896947423 892157385 896947423 875416609 875416609 923084815 892157385 892157385 875416609 875967063 923084815 892157385 897255750 875518190 875416609 875416609 875416609 896947423 892157385 875416609 ...
result:
ok 100 numbers
Test #20:
score: 0
Accepted
time: 3ms
memory: 4308kb
input:
2000 10000 958861165 540704013 744680575 46453864 144537967 475585185 666395192 582102474 980133331 32890771 890518976 969460579 655328186 124814506 2030455 137276407 464143118 251048694 664793123 352638111 209239628 965724167 99433 510021932 870566101 73438105 785364431 654566938 390258615 46081029...
output:
949701764 949701764 960492292 955097028 949701764 949701764 949701764 954677646 955097028 949701764 949701764 949701764 949701764 955097028 949701764 949701764 949701764 955097028 949701764 955097028 949701764 949701764 949701764 955097028 955097028 955097028 949701764 949701764 949701764 949701764 ...
result:
ok 100 numbers
Test #21:
score: 0
Accepted
time: 3ms
memory: 8380kb
input:
2000 100000 122945693 341371839 886291083 162440742 827767914 610437266 536496030 597239366 359446765 313253251 218395089 272024306 675709931 217063844 993614957 749682384 633438067 642341463 529860191 439081325 265899617 657698984 775063952 920867114 336579324 670154066 414994371 427494847 84340258...
output:
925735451 917172110 917172110 932563388 917172110 917172110 917172110 917172110 917172110 930066058 917172110 917172110 917172110 917172110 917172110 918513535 917172110 917172110 917172110 917172110 917172110 917172110 917172110 917172110 917172110 917172110 932341836 917172110 917172110 930066058 ...
result:
ok 100 numbers
Test #22:
score: 0
Accepted
time: 6ms
memory: 8368kb
input:
2000 100000 758851875 768517973 809070344 748306891 147834323 594284069 888958418 749270473 61891273 528087455 123525894 245817306 772295464 847559448 990482646 642386712 974236594 267393958 295869529 943898478 458405930 495307767 446301178 216508265 595231320 276753293 844001388 40522649 547691034 ...
output:
943133150 949012613 943133150 949012613 943133150 943133150 943133150 971256582 943133150 943133150 944235337 943133150 943133150 943133150 943133150 943133150 943133150 943133150 943133150 943133150 943133150 943133150 943133150 943133150 943133150 943133150 943133150 943133150 943133150 943133150 ...
result:
ok 200 numbers
Test #23:
score: 0
Accepted
time: 22ms
memory: 18076kb
input:
3000 300000 438033978 619227052 240281985 512836761 344490366 651339879 738615741 623106069 952353163 651641978 914291240 531341064 834119443 505080904 164367237 792325808 925199278 947948987 18326791 983346469 923337363 980927857 466473623 811523802 168624882 666490131 901410757 728301634 202657264...
output:
994013487 994013487 994013487 994013487 994013487 994013487 994013487 994013487 994013487 994013487 994013487 994013487 994013487 994013487 994013487 995965358 994013487 994013487 994013487 994013487 995965358 994013487 994013487 994013487 994013487 994013487 994013487 995965358 994013487 994013487 ...
result:
ok 100 numbers
Test #24:
score: 0
Accepted
time: 12ms
memory: 8948kb
input:
5000 100000 690854458 115267190 176047683 777139924 389601389 332838051 563341964 740408408 719531714 736134214 957424378 616152850 725735865 235353099 27813221 484322866 113702535 375101875 779379813 307628497 982716623 866897480 645221018 3226483 546565632 293688683 476126357 185525834 470263753 6...
output:
992529082 990259967 990259967 992529082 992529082 990259967 990259967 990259967 992529082 992529082 990259967 990259967 990259967 992529082 990259967 990259967 990259967 992529082 990259967 992529082 990259967 992529082 990259967 992529082 992529082 992529082 990259967 990259967 990259967 990259967 ...
result:
ok 100 numbers
Test #25:
score: 0
Accepted
time: 17ms
memory: 9184kb
input:
6000 100000 448501615 272633216 697867534 243545881 573638313 572290608 72303539 457065481 592922418 487939591 409077844 957277400 137535075 778364242 38779789 384344445 48402706 263810887 937483508 319124861 503617608 616561067 133257164 843106220 104469925 820697379 981399467 8852109 714754561 829...
output:
994996519 994996519 994996519 994996519 994996519 994996519 994996519 994996519 994996519 994996519 994996519 994996519 994996519 995807318 994996519 995807318 994996519 994996519 994996519 994996519 994996519 995807318 996618117 994996519 994996519 995807318 995807318 994996519 994996519 994996519 ...
result:
ok 100 numbers
Test #26:
score: 0
Accepted
time: 15ms
memory: 10020kb
input:
10000 100000 616122638 308620204 95786674 388514750 179504864 820387244 656428735 307497317 109360567 364418434 847714656 299518478 76584392 8088563 87689996 765264135 819010119 688718115 809410080 396617343 840489529 119908868 588214015 300459523 214562407 156585043 217786513 288121454 267968356 83...
output:
981143806 981639774 981639774 983580512 981639774 981639774 981639774 981143806 981143806 981639774 981639774 981143806 981639774 981143806 982135742 981143806 981639774 981639774 981143806 981143806 981143806 981639774 981143806 981143806 981639774 981143806 981143806 981143806 981143806 982135742 ...
result:
ok 100 numbers
Test #27:
score: 0
Accepted
time: 155ms
memory: 38188kb
input:
99746 299994 67385000 64960387 419619606 275638406 733650930 940374069 819772677 613811505 334230495 239453897 2189541 262180899 510068435 457139092 941478538 434496881 832432085 421125616 990429565 141620196 615328009 51854795 160738788 544659215 913577282 301586301 301142747 752757209 112791869 83...
output:
984003556
result:
ok 1 number(s): "984003556"
Test #28:
score: 0
Accepted
time: 171ms
memory: 37164kb
input:
99749 299999 67577375 634701747 55525788 702784540 778006420 319517079 260440478 656135831 966273893 486261601 941898406 217023746 19828055 483861435 553724625 862206148 288441373 73232347 430074260 322324696 472116213 582370009 608781636 228001194 633434177 875815488 285456436 79179908 162901668 16...
output:
984479387 983107700
result:
ok 2 number(s): "984479387 983107700"
Test #29:
score: 0
Accepted
time: 175ms
memory: 38464kb
input:
99740 299999 68154498 984222943 398860554 929631877 663090650 460192592 728693761 942354922 901748283 861526359 587736820 110273138 843481225 329421682 997758496 795633132 456920194 465493737 239238913 894997177 321399297 805426532 425510776 651723432 167580566 706928024 43145729 271299724 362255373...
output:
992073748 992073748 990795534 989517320 990795534
result:
ok 5 number(s): "992073748 992073748 990795534 989517320 990795534"
Test #30:
score: 0
Accepted
time: 159ms
memory: 37036kb
input:
99781 299997 182525771 849556099 488827050 286805017 739770390 286913604 255347763 456177797 794033813 412883267 832424368 363430489 628393794 754207161 940582223 265913795 807831587 294433528 343600937 164592506 953462297 133871552 571590486 113920320 290325725 90287984 333730900 87282766 405852045...
output:
986113690 985953137 986990630 986274243 986990630 986990630 985953137 986990630 986113690 986990630
result:
ok 10 numbers
Test #31:
score: 0
Accepted
time: 161ms
memory: 38024kb
input:
99744 299995 752267131 485462280 915973184 62100630 178152891 754463661 239194566 661156538 946064920 268561294 920068588 724979327 527451123 794526714 506714057 816780232 626328659 81134704 21380709 586332020 254021496 964697178 293514787 223642173 584367102 806544051 750237441 43465156 360618930 6...
output:
996274578 995780229 995780229 995780229 995780229 995780229 995780229 995780229 995780229 995780229 996274578 996274578 996274578 995780229 996274578 995780229 995780229 995780229 995780229 996768927
result:
ok 20 numbers
Test #32:
score: 0
Accepted
time: 167ms
memory: 37124kb
input:
99737 299999 19040267 540664472 49927939 682954765 935751338 9630184 423576406 254674592 544277537 836470059 693963939 142150305 356360189 229114842 843626166 769497700 293736005 444261673 177877660 598150040 14723113 311804042 257840438 319007584 434292166 832290966 852273415 902593572 428694473 59...
output:
985505141 985505141 985505141 985505141 985505141 985505141 985505141 985505141 985505141 986010019 985505141 985505141 987383208 985505141 985505141 985505141 985505141 985505141 985505141 987383208 985505141 986752201 985505141 986128671 986752201 985505141 985505141 985505141 985505141 985505141 ...
result:
ok 50 numbers
Test #33:
score: 0
Accepted
time: 171ms
memory: 38536kb
input:
99779 299998 967121483 499993661 23864601 293033064 749370945 488916458 725202938 193665316 195008827 64600947 777978215 605827198 771999136 241313297 681139499 647604900 366573246 605081302 809940660 926595060 160802822 774000930 638152411 180377462 817652127 122876138 668256457 380342942 808864610...
output:
985756892 984613874 985756892 985756892 984613874 984613874 984613874 984613874 984613874 984613874 985756892 984613874 984613874 984613874 984613874 984613874 984613874 984613874 984613874 984613874 984685010 984613874 984613874 984613874 985404644 984613874 987070220 984613874 984613874 984613874 ...
result:
ok 100 numbers
Test #34:
score: 0
Accepted
time: 166ms
memory: 36984kb
input:
99762 299999 603027664 345909676 275289274 609730750 760583122 733217748 244215272 640947565 427647446 73204294 21318179 161186480 698705825 459771690 250261942 13034630 385138667 75877802 135596516 257983508 609937039 882727123 883722783 932193787 679411049 539382678 624438847 335109826 261091991 4...
output:
995335167 995335167 995335167 995335167 995335167 995335167 995335167 995335167 995335167 995335167 995335167 995335167 995335167 995335167 995335167 995335167 995335167 995721471 995335167 995335167 995335167 995335167 995335167 995335167 995335167 995335167 995335167 995335167 995335167 995335167 ...
result:
ok 200 numbers
Test #35:
score: 0
Accepted
time: 148ms
memory: 37680kb
input:
99778 300000 658229856 627348079 896143408 219845548 15749645 389790861 6635140 97040885 387497323 717706907 519221237 795213530 450943080 165921359 21605165 587716535 277107876 156203672 745223616 498758765 874625804 454628403 807446621 901016379 917921048 666834269 585719184 559655109 641418653 49...
output:
995283918 995283918 995283918 995283918 995283918 995767452 995283918 995283918 995283918 995283918 995283918 995283918 995283918 995283918 995283918 995283918 995283918 995283918 995283918 995283918 995283918 995283918 995283918 995283918 995283918 995283918 995283918 995283918 995283918 995283918 ...
result:
ok 500 numbers
Test #36:
score: 0
Accepted
time: 165ms
memory: 38004kb
input:
99722 299995 36328926 929930153 237053245 577127275 755490406 385776066 71975192 567569231 318173408 367094686 165850538 214185368 777081900 437244112 747398638 114621209 34310871 670577209 659578395 359205156 930557072 953526331 363213266 150749372 528204147 969079145 850240280 457401694 961316632 ...
output:
998386738 998386738 998386738 998386738 998386738 998386738 998386738 998386738 998386738 998386738 998386738 998386738 998386738 998386738 998386738 998386738 998386738 998386738 998386738 998386738 998386738 998386738 998386738 998386738 998386738 998386738 998386738 998386738 998386738 998386738 ...
result:
ok 1000 numbers
Test #37:
score: 0
Accepted
time: 156ms
memory: 38012kb
input:
99739 299996 463475060 852709414 822919393 44677332 591853561 738238454 224006299 122530091 533007613 124741842 851553005 262436071 134912978 631026392 678044374 756347283 446516340 771844638 527365413 190093608 807248004 613899050 675450632 472935120 444790749 305797754 978321714 119263173 41358408...
output:
994977834 994977834 994977834 994977834 994977834 994977834 994977834 994977834 994977834 994977834 994977834 994977834 994977834 994977834 994977834 994977834 994977834 994977834 994977834 994977834 994977834 994977834 994977834 994977834 994977834 994977834 994977834 994977834 994977834 994977834 ...
result:
ok 2000 numbers
Test #38:
score: 0
Accepted
time: 164ms
memory: 38356kb
input:
99785 299998 890621194 628005027 261301894 512227389 575700364 943217195 376037406 824974599 747841817 29872646 825346005 359021604 484970883 918844635 765295928 925895120 509378406 236669969 868092470 255290852 297241028 249891285 435173325 738832126 230875008 840080636 535769714 369766476 72336675...
output:
990004886 990004886 990004886 990004886 990004886 990004886 990004886 990004886 990004886 990004886 990004886 990004886 990004886 990004886 990004886 990004886 990004886 990004886 990004886 990004886 990004886 990004886 990004886 990004886 990004886 990004886 990004886 990004886 990004886 990004886 ...
result:
ok 3000 numbers
Test #39:
score: 0
Accepted
time: 162ms
memory: 36796kb
input:
99727 299998 317767329 550784287 847168043 979777446 412063518 148195935 528068513 527419108 962676021 935003451 651655356 455607138 828884550 338915375 159644897 774244572 257790251 246912173 93458172 398607683 703333699 980583006 971815586 544895179 32873502 8468615 849323205 952276255 325948866 6...
output:
990897296 990897296 990897296 990897296 990897296 990897296 990897296 990897296 990897296 990897296 990897296 990897296 990897296 990897296 990897296 990897296 990897296 990897296 990897296 990897296 990897296 990897296 990897296 990897296 990897296 990897296 990897296 990897296 990897296 990897296 ...
result:
ok 4000 numbers
Test #40:
score: 0
Accepted
time: 156ms
memory: 37568kb
input:
99745 299997 744913463 326079900 433034192 299843855 395910321 500658323 680099619 82379968 30026578 692650607 625448356 552192671 749612160 192859867 400445159 783193217 589685382 950246376 929122897 3892899 663924984 693739887 507133384 326914879 933545869 711082127 368782796 282131257 485416876 4...
output:
987002878 987002878 987002878 987002878 987002878 987002878 987002878 987002878 987002878 987002878 987002878 987002878 987002878 987002878 987002878 987002878 987002878 987002878 987002878 987002878 987002878 987002878 987002878 987002878 987002878 987002878 987002878 987002878 987002878 987002878 ...
result:
ok 5000 numbers
Test #41:
score: 0
Accepted
time: 154ms
memory: 37828kb
input:
99738 299997 24575949 248859161 767393913 232273476 705637063 832130726 784824477 244860782 597781411 451757708 648778204 522856122 46804358 641245421 792141862 869463355 659550932 459638110 451935747 347266962 268180540 616855238 620956256 858623124 720324696 785289337 238313647 440183760 897008765...
output:
988330504 988330504 988330504 988330504 988330504 988330504 988330504 988330504 988330504 988330504 988330504 988330504 988330504 988330504 988330504 988330504 988330504 988330504 988330504 988330504 988330504 988330504 988330504 988330504 988330504 990108398 988330504 988330504 988330504 988330504 ...
result:
ok 6000 numbers
Test #42:
score: 0
Accepted
time: 152ms
memory: 38232kb
input:
99715 299996 451722083 24154774 457282842 234943970 216120279 984161833 487268985 459694987 355428568 425550707 745363738 443583732 900748850 882045682 801090506 400959292 606997122 516339136 899978595 30608940 990104841 579093443 914997632 636216730 582083618 54312229 194496038 247466997 349236146 ...
output:
993096612 993096612 993096612 993843347 993096612 993096612 993096612 993096612 993096612 993096612 993096612 993096612 993096612 993096612 993096612 993096612 993096612 993096612 993096612 993096612 993096612 993096612 993096612 993096612 993096612 993096612 993096612 993096612 993096612 993096612 ...
result:
ok 7000 numbers
Test #43:
score: 0
Accepted
time: 158ms
memory: 37216kb
input:
99706 299999 878868217 946934035 43148990 702494027 52483434 263078192 42229845 674529191 260559372 251860059 841949271 216827694 754693342 810039151 732854423 344530889 225643692 668152185 348021443 861434567 712029143 688815297 61555361 561293985 591326187 470818770 150678428 202233882 801463528 5...
output:
992738407 992738407 992738407 992738407 992738407 992738407 992738407 992738407 992738407 992738407 992738407 992738407 992738407 992738407 992738407 992738407 992738407 992738407 992738407 992738407 992738407 992738407 992738407 992738407 992738407 992738407 992738407 992738407 992738407 992738407 ...
result:
ok 8000 numbers
Test #44:
score: 0
Accepted
time: 157ms
memory: 36968kb
input:
99721 299998 306014352 869713296 629015139 22560436 36330236 468056932 140740398 744674354 889363395 18206528 225653059 938534804 137555304 608637833 216162558 818987796 64749554 82064656 82431895 198667399 796064291 544776545 286469796 651053502 355596737 338887591 453085109 887325311 106860819 951...
output:
987706254 987706254 987706254 987706254 987706254 987706254 987706254 987706254 987706254 987706254 987706254 987706254 987706254 987706254 987706254 987706254 987706254 987706254 987706254 987706254 987706254 987706254 987706254 987706254 987706254 987706254 987706254 987706254 987706254 987706254 ...
result:
ok 9000 numbers
Test #45:
score: 0
Accepted
time: 162ms
memory: 37264kb
input:
99711 299999 47495537 666989737 790315919 39584616 391895527 565998375 3144317 13056053 679414356 51189375 996085364 462918607 213289053 608498814 412643614 473222902 467792581 57283181 561185896 479821568 957488342 155936775 887445357 40801109 316905830 1667298 184765837 750461870 364329198 8691192...
output:
996976171 996976171 996976171 996976171 996976171 996976171 996976171 996976171 996976171 996976171 996976171 996976171 996976171 996976171 996976171 996976171 996976171 996976171 996976171 996976171 996976171 996976171 996976171 996976171 996976171 996976171 996976171 996976171 996976171 996976171 ...
result:
ok 10000 numbers
Test #46:
score: 0
Accepted
time: 163ms
memory: 39128kb
input:
99725 299998 35742560 985918745 572163015 229851254 885859372 763299851 377794947 753585379 281876101 570083066 945846273 521959807 878221272 616644922 517966126 422235533 892435664 361245612 572552159 374198232 470590984 993603681 511007992 647324807 752912849 119814893 531373823 843196326 51844549...
output:
991375479 991375479 991375479 991375479 991375479 991375479 991375479 991375479 991375479 991375479 991375479 991375479 991375479 991375479 991375479 991375479 991375479 991375479 991375479 991375479 991375479 991375479 991375479 991375479 991375479 991375479 991375479 991375479 991375479 991375479 ...
result:
ok 15000 numbers
Test #47:
score: 0
Accepted
time: 146ms
memory: 37736kb
input:
99718 299998 970274798 252855885 257865976 596874267 718029482 705588825 227890257 584545161 24982375 92670897 236162569 67233545 849299075 421592258 952601682 205326348 914071384 641581219 163163546 531928995 118174980 34003086 965878363 178664752 418173839 140948228 705228755 816556579 944071529 7...
output:
996757664 996757664 996757664 996757664 996757664 996757664 996757664 996757664 996757664 996757664 996757664 996757664 996757664 996757664 996757664 996757664 996757664 996757664 996757664 996757664 996757664 996757664 996757664 996757664 996757664 996757664 996757664 996757664 996757664 996757664 ...
result:
ok 20000 numbers
Test #48:
score: 0
Accepted
time: 157ms
memory: 37288kb
input:
99686 299998 958521821 571784894 66214409 221140985 465744359 592629151 511232535 255669101 666668600 719090235 375904299 119021534 625593567 997344905 159769300 601740220 630554942 809288460 255894137 96122534 580312838 287645057 288601599 509083728 21935742 75997284 486140708 147940059 57724787 80...
output:
996150656 996150656 996150656 996150656 996150656 996150656 996150656 996150656 996150656 996150656 996150656 996150656 996150656 996150656 996150656 996150656 996150656 996150656 996150656 996150656 996150656 996150656 996150656 996150656 996150656 996150656 996150656 996150656 996150656 996150656 ...
result:
ok 25000 numbers
Test #49:
score: 0
Accepted
time: 145ms
memory: 38948kb
input:
99673 299997 745570411 838722034 725416033 859794574 949336655 870060588 408033334 442724462 342192317 998775375 189256431 156890179 921178036 430540903 284496813 623375940 172096433 309787944 846505524 253853296 227896834 328044462 890955618 187907321 834680380 97130618 512511992 121300312 94995176...
output:
997357639 997357639 997357639 997357639 997357639 997357639 997357639 997357639 997357639 997357639 997357639 997357639 997357639 997357639 997357639 997357639 997357639 997357639 997357639 997357639 997357639 997357639 997357639 997357639 997357639 997357639 997357639 997357639 997357639 997357639 ...
result:
ok 30000 numbers
Test #50:
score: 0
Accepted
time: 154ms
memory: 38120kb
input:
99692 299999 733817434 10167395 359779481 50061212 426119725 42437937 20705219 807463356 416363339 81978452 763254133 639817845 229848790 359821796 634542212 329240036 897303067 458528424 161070156 109847659 939236115 818046835 542551043 581686434 213678853 518326298 438442283 32179675 293423944 600...
output:
989131902 989131902 989131902 989131902 989131902 989131902 989131902 989131902 989131902 989131902 989131902 989131902 989131902 989131902 989131902 989131902 989131902 989131902 989131902 989131902 989131902 989131902 989131902 989131902 989131902 989131902 989131902 989131902 989131902 989131902 ...
result:
ok 35000 numbers
Test #51:
score: 0
Accepted
time: 155ms
memory: 38380kb
input:
99687 299999 668349672 277104535 45482442 843641377 154315395 657558666 247323121 825084726 285841964 775122528 183415951 439489548 616391944 827877531 480164144 702611646 757830792 529847502 975777597 190135039 622085839 668549225 49666243 103703272 53313009 467278877 573527693 808348357 175913899 ...
output:
993703260 993703260 993703260 993703260 993703260 993703260 993703260 993703260 993703260 993703260 993703260 993703260 993703260 993703260 993703260 993703260 993703260 993703260 993703260 993703260 993703260 993703260 993703260 993703260 993703260 993703260 993703260 993703260 993703260 993703260 ...
result:
ok 40000 numbers
Test #52:
score: 0
Accepted
time: 153ms
memory: 37840kb
input:
99636 299997 656596694 596033544 827329538 778582113 194469044 723149728 174010496 55771452 859839666 413061807 83793282 600622057 643490856 661135167 634836834 167832980 691585369 557890507 622578093 392487488 652272897 875727811 380085219 854948824 988362065 248190829 52394821 922001615 910347794 ...
output:
989866796 989866796 989866796 989866796 989866796 989866796 989866796 989866796 989866796 989866796 989866796 989866796 989866796 989866796 989866796 989866796 989866796 989866796 989866796 989866796 989866796 989866796 989866796 989866796 989866796 989866796 989866796 989866796 989866796 989866796 ...
result:
ok 45000 numbers
Test #53:
score: 0
Accepted
time: 140ms
memory: 38060kb
input:
99620 299999 332838586 802424483 305860081 998879306 317365548 796203612 457334498 568436511 415181157 681860839 315873184 71451278 756486127 858076027 246246425 43141590 795215330 119103367 163388928 390800497 201520843 497070457 109495480 917429273 736745539 81679688 234802555 755521196 128976685 ...
output:
995322403 995322403 995322403 995322403 995322403 995322403 995322403 995322403 995322403 995322403 995322403 995322403 995322403 995322403 995322403 995322403 995322403 995322403 995322403 995322403 995322403 995322403 995322403 995322403 995322403 995322403 995322403 995322403 995322403 995322403 ...
result:
ok 49999 numbers
Test #54:
score: 0
Accepted
time: 150ms
memory: 38048kb
input:
99601 299997 443645284 862970684 513032499 680004532 359294136 26639154 665438702 872392871 4970278 798877726 382427498 850861751 629067020 424216213 448438192 565411298 189468700 233126860 205873640 213189480 550218250 299856893 916127216 593626479 58908812 520209813 9495399 274562113 25755075 8142...
output:
994142779 994142779 994142779 994142779 994142779 994142779 994142779 994142779 994142779 994142779 994142779 994142779 994142779 994142779 994142779 994142779 994142779 994142779 994142779 994142779 994142779 994142779 994142779 994142779 994142779 994142779 994142779 994142779 994142779 994142779 ...
result:
ok 50000 numbers
Test #55:
score: 0
Accepted
time: 142ms
memory: 37004kb
input:
99633 299998 431892307 181899692 294879595 870271169 983560854 346500151 425594236 89648117 79141300 956425200 333789417 937737774 841422319 652439501 372370601 24621183 222100583 5933355 305920071 114411789 614511102 22285539 916349714 389327789 271455365 944544456 55474066 504622203 927881854 8886...
output:
995274027 995274027 995274027 995274027 995274027 995274027 995274027 995274027 995274027 995274027 995274027 995274027 995274027 995274027 995274027 995274027 995274027 995274027 995274027 995274027 995274027 995274027 995274027 995274027 995274027 995274027 995274027 995274027 995274027 995274027 ...
result:
ok 55000 numbers
Test #56:
score: 0
Accepted
time: 154ms
memory: 36688kb
input:
99667 299999 366424545 448836833 980582556 663851335 711756524 178670261 367883211 87227075 910101082 625187077 479013031 771589361 483011511 665016474 457386837 427665854 302945065 46256903 911125721 653916487 272142551 262095098 210168592 371220086 936716354 965677790 229328998 477982456 672625186...
output:
990153620 990153620 990153620 990153620 990153620 990153620 990153620 990153620 990153620 990153620 990153620 990153620 990153620 990153620 990153620 990153620 990153620 990153620 990153620 990153620 990153620 990153620 990153620 990153620 990153620 990153620 990153620 990153620 990153620 990153620 ...
result:
ok 60000 numbers
Test #57:
score: 0
Accepted
time: 146ms
memory: 39144kb
input:
99703 299997 354671568 767765841 762429652 854117972 188539594 498531258 304482321 984272104 855873803 107033379 791682265 661388146 472409078 109904369 881409387 900099444 453976203 836336090 724232956 316326916 841426969 251086710 687961906 900726846 10240951 956849584 786278444 405523242 85384646...
output:
995194312 995194312 995194312 995194312 995194312 995194312 995194312 995194312 995194312 995194312 995194312 995194312 995194312 995194312 995194312 995194312 995194312 995194312 995194312 995194312 995194312 995194312 995194312 995194312 995194312 995194312 995194312 995194312 995194312 995194312 ...
result:
ok 65000 numbers
Test #58:
score: 0
Accepted
time: 155ms
memory: 38664kb
input:
99643 299999 141720158 448132613 500214489 916735264 330701368 302061279 815231886 598980077 575598564 544833323 336956003 905816736 466335482 759560985 40478832 903045107 441640935 727357084 994066853 371816952 504209969 296297340 929910303 353222895 921860181 36612235 930209837 678505424 258273269...
output:
989595976 989595976 989595976 989595976 989595976 989595976 989595976 989595976 989595976 989595976 989595976 989595976 989595976 989595976 989595976 989595976 989595976 989595976 989595976 989595976 989595976 989595976 989595976 989595976 989595976 989595976 989595976 989595976 989595976 989595976 ...
result:
ok 70000 numbers
Test #59:
score: 0
Accepted
time: 145ms
memory: 37012kb
input:
99704 299998 129967181 206148342 82496061 690481127 541001982 650562365 682999605 519316525 741919261 829666803 2112619 27760989 645626757 175539195 670336790 804304209 994921784 590713943 430614658 902019051 820087676 410776743 686471161 610368292 619020575 260329280 856909237 965007836 261593317 7...
output:
993775890 993775890 993775890 993775890 993775890 993775890 993775890 993775890 993775890 993775890 993775890 993775890 993775890 993775890 993775890 993775890 993775890 993775890 993775890 993775890 993775890 993775890 993775890 993775890 993775890 993775890 993775890 993775890 993775890 993775890 ...
result:
ok 75000 numbers
Test #60:
score: 0
Accepted
time: 143ms
memory: 38352kb
input:
99774 299997 64499419 473085482 915682670 484061292 121714004 482732474 625288579 516895484 572879043 425289429 672184098 465560933 190900495 146616998 475284126 91456116 778012599 612349663 972156148 402518535 410699063 568507506 334055157 798251345 73890947 939152873 769729436 878042571 991379120 ...
output:
995436067 995436067 995436067 995436067 995436067 995436067 995436067 995436067 995436067 995436067 995436067 995436067 995436067 995436067 995436067 995436067 995436067 995436067 995436067 995436067 995436067 995436067 995436067 995436067 995436067 995436067 995436067 995436067 995436067 995436067 ...
result:
ok 80000 numbers
Test #61:
score: 0
Accepted
time: 145ms
memory: 37424kb
input:
99791 299998 52746442 792014491 550046119 674327930 745980722 802593471 385444113 734150730 647050065 655976154 98698152 948488599 499571249 416339456 679285435 136199340 732455551 447502147 961129871 202578251 503429654 132701044 796193015 904409669 544097830 122088201 373491339 813091627 772291073...
output:
990274593 990274593 990274593 990274593 990274593 990274593 990274593 990274593 990274593 990274593 990274593 990274593 990274593 990274593 990274593 990274593 990274593 990274593 990274593 990274593 990274593 990274593 990274593 990274593 990274593 990274593 990274593 990274593 990274593 990274593 ...
result:
ok 85000 numbers
Test #62:
score: 0
Accepted
time: 126ms
memory: 38124kb
input:
99822 299999 987278680 58951631 235749080 320424447 474176392 634763581 327733088 731729688 478009847 399082428 768769631 238804895 44844986 387417260 484232771 570834896 515546366 469137867 502671362 850561383 94041041 290431807 443777011 998968201 800911794 38752329 834224962 946146005 687180951 5...
output:
996301901 996301901 996301901 996301901 996301901 996301901 996301901 996301901 996301901 996301901 996301901 996301901 996301901 996301901 996301901 996301901 996301901 996301901 996301901 996301901 996301901 996301901 996301901 996301901 996301901 996301901 996301901 996301901 996301901 996301901 ...
result:
ok 90000 numbers
Test #63:
score: 0
Accepted
time: 119ms
memory: 36748kb
input:
99919 300000 975525703 377880640 17596176 510691085 954624578 948984934 404697221 629769154 195283685 721732561 353515740 657139718 688234080 615578119 469989318 156806703 491645085 650621098 186771632 854625346 758431220 198451046 321691436 131330771 789997880 769274018 727057957 166048080 65643551...
output:
996658390 996658390 996658390 996658390 996658390 996658390 996658390 996658390 996658390 996658390 996658390 996658390 996658390 996658390 996658390 996658390 996658390 996658390 996658390 996658390 996658390 996658390 996658390 996658390 996658390 996658390 996658390 996658390 996658390 996658390 ...
result:
ok 95000 numbers
Test #64:
score: 0
Accepted
time: 245ms
memory: 53752kb
input:
184107 298799 25355382 229201055 584668391 413523504 281422391 27682713 85433347 131752939 439711162 239615898 242133916 781161159 942992272 356168567 990965415 604314096 198837671 379395000 741925018 265184991 340638506 666605061 41614200 922092085 429837534 970172836 94411227 594253758 957845194 7...
output:
994157764 994157764 994157764 994157764 994157764 994157764 994157764 994157764 994157764 994157764 994157764 994157764 994157764 994157764 994157764 994157764 994157764 994157764 994157764 994157764 994157764 994157764 994157764 994157764 994157764 994157764 994157764 994157764 994157764 994157764 ...
result:
ok 100000 numbers
Test #65:
score: 0
Accepted
time: 212ms
memory: 55460kb
input:
187843 299445 344284391 11048152 774935029 37790222 601283388 787838247 261412881 131810001 316120073 705750642 922638829 548286652 323670995 56922517 286877140 735604111 778144755 345142290 791025130 697044687 763031210 694049210 995566989 735391874 671057483 417850613 703004038 908704662 83826094 ...
output:
993397686 993397686 993397686 993397686 993397686 993397686 993397686 993397686 993397686 993397686 993397686 993397686 993397686 993397686 993397686 993397686 993397686 993397686 993397686 993397686 993397686 993397686 993397686 993397686 993397686 993397686 993397686 993397686 993397686 993397686 ...
result:
ok 150000 numbers
Test #66:
score: 0
Accepted
time: 83ms
memory: 39784kb
input:
137590 157094 336679 1124886 2099176 1192088 1206337 744661 1286398 884148 1657062 1017245 2089305 839900 1592675 1064533 1798977 1146124 757353 757217 2167415 793746 1389244 858236 2046847 1245717 1908934 793324 1629310 1032555 1738054 817449 1704206 1070877 1220705 1074600 2250433 1284990 1755898 ...
output:
685491 685491 685491 685491 685491 685491 685491 685491 685491 685491 685491 685491 685491 685491 685491 685491 685491 685491 685491 2421677 685491 685491 1305870 685491 685491 685491 685491 685491 685491 685491 685491 685491 685491 685491 685491 685491 685491 685491 685491 685491 685491 685491 6854...
result:
ok 134394 numbers
Test #67:
score: 0
Accepted
time: 119ms
memory: 28640kb
input:
86249 182678 669936 645883 1277304 622074 734112 558236 781994 500892 1067788 478053 1331597 553539 1303312 747315 1335119 715604 563053 448949 1585923 502866 1545643 835193 742868 534924 1263902 493099 582075 444691 1772315 728342 1871444 448422 1950430 710301 2422223 828738 753120 703527 925379 47...
output:
1056819 754636 429457 429457 1310001 1492578 815216 842072 460269 1596204 777068 1373399 856119 1467830 579059 708945 429457 496192 1456371 1049857 429457 429457 799357 429457 1194580 1409154 429457 457505 1534078 1256435 429457 1220813 429457 955813 429457 429457 1228602 429457 1179697 451340 88287...
result:
ok 65365 numbers
Test #68:
score: 0
Accepted
time: 330ms
memory: 56316kb
input:
226644 227272 10476 109700 290016 90992 306523 100820 84593 81018 212698 96133 550973809 106853 138721 107117 621124555 92870 7705666 108492 558805768 108383 209240350 93756 154959 64981 90224 90067 261007 109070 843142997 109582 484580312 64546 483988782 102399 222959 110901 317594182 89735 181879 ...
output:
57502 57502 181169 143666 191033 207687 57502 57502 91570 121586 57502 57502 161841 106799 159280 127047 57502 165304 57502 103049 57502 164461 132608 136375 57502 104723 57502 57502 127165 146339 156324 181484 78913 115426 57502 57502 103752 57502 166390 57502 57502 163714 189894 189044 163658 5750...
result:
ok 77946 numbers
Test #69:
score: 0
Accepted
time: 334ms
memory: 53872kb
input:
211399 211398 1410 31490 85276 38512 388672581 28047 123243404 43731 272179763 41277 392237515 30333 315841971 24936 93569092 26439 296751994 27045 524725077 42283 957315207 46413 254049574 40126 579019702 40816 345550700 33438 406572385 43242 569370435 44223 155945576 30770 746135718 35988 83100423...
output:
23656 23656 23656 23656 51043 23656 23656 23656 23656 94176 23656 23656 61253 63475 23656 23656 57553 23656 88833 23656 23656 23656 47840 23656 23656 23656 23656 23656 53079 23656 59077 23656 51031 23656 80024 86862 23656 88686 23656 23656 23656 50765 23656 23656 78047 75599 63854 23656 23656 78918 ...
result:
ok 858 numbers
Test #70:
score: 0
Accepted
time: 75ms
memory: 27172kb
input:
96240 96736 674863 689040 2247838 845487 1884901 709870 866606 496275 1565332 739264 2193020 765745 2083192 867782 1222146 782069 2292325 828567 2634175 639354 2463144 656679 848282 490425 1432454 697398 2250188 644138 701505 662585 1670234 556900 2843759 709541 1610778 958797 1549461 666582 1908552...
output:
1696963 1444066 1142653 1300650 476935 1092339 476935 885023 894119 476935 1305795 1484352 476935 1415494 1220212 1503419 476935 476935 1783700 911445 790913 476935 476935 476935 476935 1348483 476935 476935 476935 1476799 476935 476935 476935 476935 476935 1643267 1629661 980470 476935 1664577 1335...
result:
ok 49260 numbers
Test #71:
score: 0
Accepted
time: 113ms
memory: 28928kb
input:
109326 109325 3744 164291 241166 123224 125750 105147 194975 113972 286851 112848 755883055 159009 538608705 175215 419255 119003 371814 151843 488537312 153197 651132683 157181 337697 132240 302633296 147975 568096 135486 505615006 96190 168066 164441 517381396 129623 224675 93381 448929 124983 502...
output:
211987 294542 147792 131221 89839 279809 284907 241491 237077 281585 321262 279015 117601 89839 180305 196391 89839 241521 281842 89839 316558 253515 89839 137546 89839 89839 344593 89839 183702 89839 302496 329317 140867 234833 136307 247862 218467 219047 89839 217988 326712 89839 177298 186228 161...
result:
ok 23809 numbers
Test #72:
score: 0
Accepted
time: 403ms
memory: 52864kb
input:
206768 207214 58 55682 455816215 35100 639314235 61576 444547137 51874 627085890 57426 89062 38410 514852698 36420 183327588 61690 459281092 33943 100764065 36285 556892747 42316 459890449 42035 223264677 34803 295241731 47399 354395648 57146 120788441 45334 579388955 40738 142835034 62035 575898216...
output:
31360 31360 31360 31360 72542 31360 31360 31360 31360 31360 31360 78252 31360 31360 31360 31360 31360 57672 76057 117272 31360 66144 111219 31360 71501 74325 31360 31360 31360 86597 31360 31360 78790 31360 75899 31360 81493 31360 52741 31360 68628 31360 73927 114096 31360 31360 31360 86710 31360 313...
result:
ok 34530 numbers
Test #73:
score: 0
Accepted
time: 338ms
memory: 59212kb
input:
257880 257879 58714 60284 102831 69458 331293688 70267 108826 45885 281085402 86441 136622 71549 686074247 71036 185727 68735 110201 65940 306585637 55289 294194886 46374 626063405 70042 223815022 55935 85466 58578 459189908 65991 121079970 45141 102292 72987 173386478 68820 326270375 47856 72517 54...
output:
44659 44659 44659 44659 95297 44659 44659 44659 44659 44659 44659 44659 44659 44659 120810 44659 165510 44659 44659 44659 44659 44659 44659 101892 44659 44659 44659 44659 44659 44659 44659 44659 44659 44659 44659 143073 144125 44659 44659 44659 110554 44659 44659 44659 44659 44659 44659 155108 44659...
result:
ok 115648 numbers
Test #74:
score: 0
Accepted
time: 21ms
memory: 16848kb
input:
56737 56736 176599 553516 884580 426799 599413 467906 1007175 480321 742772 424284 649615 354553 799622 545757 482297 336210 519947 365259 688197 456731 616220 350537 404913 394743 719659 452145 946764 530776 617849 386769 1186211 381934 770017 561162 672517 332624 833905 503698 774892 333794 455619...
output:
281433 281433 281433 281433 281433 606003 281433 281433 281433 789391 281433 935322 281433 281433 281433 281433 281433 281433 281433 281433 281433 281433 281433 281433 281433 281433 281433 281433 281433 281433 281433 946261 281433 281433 281433 705461 281433 281433 281433 281433 281433 281433 281433...
result:
ok 47295 numbers
Test #75:
score: 0
Accepted
time: 178ms
memory: 52824kb
input:
195310 236404 457987 1515836 1734420 1565696 1844450 1521452 1779285 1391391 2393235 1193114 2722929 1829202 1219689 1121490 2063299 1431369 3899951 985514 3489001 1596348 3337002 1740458 2332118 1539345 1215313 1033836 3183303 1466930 2137549 1178209 1601520 1339368 2834989 1390577 3419570 1500038 ...
output:
973421 973421 973421 973421 973421 973421 973421 3332841 973421 2447240 973421 2052959 973421 973421 973421 973421 973421 973421 973421 973421 973421 973421 973421 973421 1889055 973421 973421 1380624 973421 973421 1730516 973421 973421 973421 2329343 973421 973421 973421 973421 973421 973421 182192...
result:
ok 169764 numbers
Test #76:
score: 0
Accepted
time: 119ms
memory: 47284kb
input:
167656 167655 1375645 853036 3919982 1466299 2250037 929437 2779893 1223382 2725723 1277987 1655655 899787 1429342 1019067 1948387 879802 1768842 1233137 2359774 910985 3242685 1228486 1983822 966466 1675716 1670934 2862483 1278120 2651506 1172811 2469819 1095110 2520067 1620850 1792688 1651220 3523...
output:
833987 833987 833987 833987 2882505 2609350 833987 833987 833987 833987 833987 833987 833987 833987 833987 833987 2386643 833987 1576545 2619496 833987 833987 833987 833987 2129665 833987 833987 833987 1678901 833987 833987 833987 2726091 833987 833987 833987 833987 833987 833987 833987 1744152 8339...
result:
ok 129937 numbers
Test #77:
score: 0
Accepted
time: 19ms
memory: 11880kb
input:
22233 87723 190205 180249 324683 196332 233068 213818 3028044 150378 264559 215736 187866 173799 328930 184933 303008 221096 337391 143010 372509 189352 298592 163473 11955836 215083 235526 220198 285528 161016 1539597 204090 372687 201443 261186 126087 233339 114599 141289 125675 9888845 182535 362...
output:
109907 109907 176760 109907 109907 109907 109907 109907 109907 109907 109907 109907 109907 109907 109907 109907 109907 109907 109907 109907 109907 109907 109907 109907 250367 109907 109907 109907 109907 109907 109907 109907 109907 109907 443096 109907 109907 109907 109907 109907 109907 157881 109907...
result:
ok 15028 numbers
Test #78:
score: 0
Accepted
time: 77ms
memory: 23100kb
input:
75729 76326 227872 654815 1296573 726419 2271983 464376 1108102 442730 2373961 608638 1041982 481273 981154 381014 1103345 438416 652084 540794 3151655 538929 1258985 602986 5523497 540620 915766 720150 2405074 630240 3703576 719558 1794966 417875 1810971 384428 691380 481485 2126688 697360 748227 7...
output:
432797 811443 372318 857479 372318 1089012 372318 1398975 1334107 1235801 372318 1072750 775669 372318 1277459 1095371 871334 372318 561106 372318 1236277 1240340 976725 372318 1002610 372318 1207920 372318 1399851 1111292 1038801 833376 372318 915982 1321680 372318 1130889 372318 372318 1464888 372...
result:
ok 27360 numbers
Test #79:
score: 0
Accepted
time: 50ms
memory: 16852kb
input:
55727 55726 120912 301778 635576 416852 878948 353659 2446703 390614 2064182 523964 749147 537591 2208875 336950 3679284 420090 2505970 307110 956702 477011 2146891 416488 2036137 384507 1808477 525033 1598905 456363 2630135 380976 1721988 326971 2140396 371118 1028527 482419 2795039 333661 1501224 ...
output:
275841 275841 704960 275841 964038 892327 275841 727269 1072837 962766 1015107 948896 979399 1093339 783179 739984 1063232 802461 981300 275841 950978 861617 698128 912921 275841 275841 928998 990480 696661 482532 275841 883427 866879 275841 275841 950471 275841 275841 275841 275841 275841 816514 27...
result:
ok 16230 numbers
Test #80:
score: 0
Accepted
time: 9ms
memory: 7044kb
input:
15172 15171 70800 78369 160894 105700 167839 90744 196277 91173 149891 77142 379946 78084 508745 126196 212121 107840 201095 94793 112015 103920 321521 77762 257961 141731 187702 79150 209519 134599 157512 144283 123522 85277 300483 114946 191789 84795 337058 84982 145596 94645 186221 99474 214507 8...
output:
75527 75527 75527 75527 213507 75527 75527 75527 75527 280424 75527 239592 133109 75527 75527 122542 226291 205959 75527 75527 75527 75527 208999 75527 75527 75527 75527 276056 75527 75527 279166 75527 75527 75527 231941 75527 280320 214237 203683 273417 75527 75527 249556 75527 75527 237529 75527 7...
result:
ok 10762 numbers
Test #81:
score: 0
Accepted
time: 26ms
memory: 10528kb
input:
29292 30268 280679 188567 320160 196066 31058213 204300 11116652 266181 2248843 168467 213946 177996 419513 201379 439925 287819 18472087 187506 294022 221801 17281202 194976 427605 234038 4427968 244529 458765 249213 395969 270311 348574 190188 29954800 262923 37694661 291576 752150 185657 36789853...
output:
145443 373938 145443 145443 145443 145443 145443 145443 331393 145443 145443 145443 145443 145443 145443 145443 145443 145443 145443 145443 433657 145443 145443 145443 145443 145443 145443 145443 145443 145443 145443 145443 145443 145443 145443 145443 145443 145443 145443 145443 145443 145443 145443...
result:
ok 11265 numbers
Test #82:
score: 0
Accepted
time: 157ms
memory: 51376kb
input:
200167 200166 829697 1837452 2528119 1695270 2470279 1584017 4189807 1772256 3298201 1527999 2177307 1468282 2707116 1704735 3564070 1779081 2965634 1781929 4748989 1712083 3361840 1444429 3116192 1204765 3478117 1966807 2207653 1749609 3166220 1561541 3065542 1484381 3466469 1591845 2869811 1015961...
output:
2869669 2939830 2435393 993639 993639 2538944 2249855 993639 993639 3207757 993639 993639 993639 2826074 3634661 2604454 2225724 2435544 993639 2467456 993639 2097286 993639 993639 993639 2973016 2216937 993639 993639 2984491 993639 993639 993639 2831070 993639 993639 2234659 993639 993639 993639 99...
result:
ok 135134 numbers
Test #83:
score: 0
Accepted
time: 269ms
memory: 56072kb
input:
220314 220627 284945 802602 663549099 981531 378310026 1379681 2696463 1346929 2470407 1409182 162945368 893651 378342686 776915 3729009 1149049 472981427 1063911 778833911 1188472 1618109 809332 1593257 995068 1268273 1095367 1172332 983790 1621509 1216426 1339146 1020354 1838849 1055981 206960443 ...
output:
732719 732719 732719 732719 883340 732719 1994365 732719 732719 2204734 2086953 732719 732719 732719 1513998 732719 732719 2424655 732719 732719 732719 732719 732719 732719 732719 732719 732719 732719 732719 732719 732719 2015758 732719 2034796 732719 732719 732719 732719 732719 732719 732719 150824...
result:
ok 114960 numbers
Test #84:
score: 0
Accepted
time: 107ms
memory: 42664kb
input:
158466 158699 1398231 1372437 2861297 1512528 2885275 1552337 2334764 994991 2535808 1548466 1867325 1369745 2445206 1423960 1415561 1300164 2242112 1499147 2003031 854649 2254243 1481712 1996164 978980 1067746 865237 3006847 913626 1611043 837257 2795550 1335560 2406942 917808 2793255 1273949 34962...
output:
791295 791295 791295 791295 791295 791295 791295 791295 791295 791295 1344090 791295 791295 791295 791295 791295 791295 791295 791295 791295 2512142 791295 791295 1401156 791295 791295 791295 791295 791295 791295 791295 791295 791295 791295 1525762 791295 791295 791295 791295 791295 791295 791295 79...
result:
ok 134256 numbers
Test #85:
score: 0
Accepted
time: 271ms
memory: 72424kb
input:
267531 267530 2348120 1510548 3406190 1680129 4231926 2400793 9226285 2673872 6539294 2023423 3130403 1459396 3717597 2551879 5094918 1709099 2104798 1607518 4296056 2028430 3945342 2666375 4401954 1857589 1587762 1486095 3864720 2530937 2821531 1643690 4103241 1633898 3247239 1706370 4059137 147670...
output:
4188663 4682981 3716401 1335238 1335238 1335238 3465167 3945451 3845473 1335238 1335238 3854003 2535027 1335238 1335238 2076884 1335238 4126013 2557263 3356444 3738079 4853638 2289083 1335238 3468458 2528025 1335238 1335238 1665556 1335238 4646849 1335238 4281584 1335238 1335238 5001392 4169752 4041...
result:
ok 159758 numbers
Test #86:
score: 0
Accepted
time: 109ms
memory: 23968kb
input:
83311 84052 733045 520979 12252369 486432 46827475 793185 979601 802473 14198436 786135 11346818 590333 9265037 650817 3469759 674120 33113392 676106 945348 449589 18203392 769876 13309456 486553 1331085 682773 1145534 716318 37615451 768570 18390576 646243 31088073 688787 22171075 557813 41565976 7...
output:
412203 943762 1048061 1148246 1062613 412203 412203 412203 412203 412203 708370 412203 1078688 1260348 826459 1214818 412203 1567924 412203 1144657 412203 1308081 1437582 1602905 412203 1462911 940960 1535933 1435477 502248 1119994 412203 412203 1165200 412203 919143 412203 1448958 412203 412203 412...
result:
ok 9146 numbers
Test #87:
score: 0
Accepted
time: 81ms
memory: 24504kb
input:
58516 199907 28101 406668 405963 306703 529042 304808 509684 410562 649854 297962 997198 520041 1059016 556958 345603 299588 726938 465656 556657 506897 836086 453943 827741 564681 785339 367651 651755 536780 804661 473503 810547 485781 946534 496377 635167 558515 578273 427810 993602 438694 670801 ...
output:
595969 972459 891430 895431 909710 572929 527788 632389 860984 291295 750178 544536 719334 780172 585110 1102734 1018269 375062 967247 507006 570032 291295 729492 291295 639433 783324 771189 585110 955185 582964 291295 751001 985950 291295 291295 921324 1018744 947214 518896 291295 585110 1028831 29...
result:
ok 57837 numbers
Test #88:
score: 0
Accepted
time: 102ms
memory: 31000kb
input:
117746 117915 5030 1139304 987088 620084 3023987 988299 1319869 864538 2294202 1133277 2855902 1044116 3415326 1133157 2843478 735966 2375884 1141947 1715711 629746 1502011 1009339 1035084 781301 1990573 758307 1294388 839884 1597200 821849 2045693 1159651 1770049 1131016 2219646 1119250 3425667 107...
output:
2017715 585685 1376473 585685 1886980 585685 585685 585685 2127764 1168694 1830449 585685 585685 585685 585685 1810171 2276686 585685 1886011 2082347 1765839 585685 585685 1361414 2095645 1607754 585685 585685 585685 1897743 1632700 585685 1867515 585685 1865610 585685 585685 2102987 1606736 585685 ...
result:
ok 58352 numbers
Test #89:
score: 0
Accepted
time: 287ms
memory: 77172kb
input:
288492 288491 2420917 1867703 4205902 1545894 4242006 2708856 6623624 2485316 5142105 1602872 2380609 1780149 3009376 2763306 6704609 2169421 3266861 1787923 2352145 1467422 3388678 1553730 7154113 2143705 4577469 2790546 2943871 2029944 4512961 2132028 2243121 1548792 3344854 2322275 4827665 284995...
output:
1434396 3819181 4069249 3322568 3784664 1434396 1434396 1434396 1434396 5313020 3878526 4159378 4827647 1434396 2699773 1434396 4079496 1434396 4606561 4473576 3519723 1956999 3343128 1434396 4743454 3427842 3150199 1434396 4603745 3926491 3532081 4646468 1434396 3199803 1434396 3998692 2482658 3179...
result:
ok 149033 numbers
Test #90:
score: 0
Accepted
time: 381ms
memory: 72040kb
input:
266304 267097 2377037 2636160 3588279 1993560 4059057 1804203 8744036 2536381 4056617 1468868 4263056 2216288 8588970 2447915 4721099 2171606 4040320 1798989 1963294 1639495 3477546 2118423 2275930 2069388 4046027 1725055 8080187 2264310 3215927 1445856 2026134 1574009 7244628 2368101 5900853 135997...
output:
3185363 3955161 2522452 5047764 4516683 5186296 4681770 3712926 2427164 3988810 1842950 3247617 2583977 3322491 3918959 2501303 3404450 4848680 2585882 4360396 1657528 2265886 4685574 2366876 2728903 3871783 4342130 2228922 4734743 2781330 4147255 4232801 5207275 1325720 2358796 4198995 3689121 1325...
result:
ok 83472 numbers
Test #91:
score: 0
Accepted
time: 53ms
memory: 11976kb
input:
27260 72829 218631 237162 4766361 237834 4659598 184054 710670 216288 4144237 262242 3208175 142520 4072600 224030 1143918 171119 670252 215129 4334792 186251 765952 191128 5181210 204359 2133335 251534 5095275 244736 3818333 177728 310864 140296 2529249 145424 2812486 197304 5262755 212155 1199746 ...
output:
544321 544321 544321 544321 544321 544321 544321 544321 544321 544321 544321 544321 544321 544321 544321 544321 544321 544321 544321 544321 544321 544321 544321 544321 544321 544321 544321 544321 544321 544321 544321 544321 544321 544321 544321 544321 544321 544321 544321 544321 544321 544321 544321...
result:
ok 310 numbers
Test #92:
score: 0
Accepted
time: 106ms
memory: 43548kb
input:
156341 157001 145826 1297127 1934252 1138869 1686658 1512571 1525624 783355 1240558 782235 2424475 1413605 2715752 1208756 2839185 1336008 896532 839808 2353274 1318861 1858541 1490870 1874322 835821 2332628 1432867 2197100 897955 1766588 1232334 2227155 936028 2184604 892965 2315271 1003518 2028817...
output:
776786 776786 776786 2426271 776786 776786 776786 776786 776786 776786 776786 776786 776786 776786 776786 776786 776786 776786 776786 776786 776786 776786 776786 776786 776786 776786 1806650 776786 776786 776786 776786 776786 776786 776786 776786 776786 776786 776786 776786 776786 776786 776786 7767...
result:
ok 149303 numbers
Test #93:
score: 0
Accepted
time: 115ms
memory: 30580kb
input:
116136 116135 282185 603436 1686043 1079452 1718018 767793 16078041 813256 1492207 979668 5344287 729687 1983189 920184 863154 585643 1636588 636397 915001 905722 6477492 1144205 1731374 591563 1037272 629965 1708740 981023 1567755 690975 1159484 746007 18253876 754408 3135995 1141049 1775825 106005...
output:
577709 577709 577709 1574703 577709 577709 2070502 1278885 577709 1835541 577709 1835905 2269195 577709 577709 577709 1101429 577709 577709 1862281 2157109 1798358 2022473 1429045 1763013 577709 577709 577709 1660561 2213664 577709 2208882 577709 577709 1682592 577709 2199841 577709 577709 1791401 1...
result:
ok 40596 numbers
Test #94:
score: 0
Accepted
time: 50ms
memory: 17464kb
input:
30130 132995 130593 263787 4030689 164798 1065479 291188 1393470 223102 298346 195133 278247 263597 394841 213039 365642 165362 514527 194608 661851 204857 1195532 271427 279312 210185 2373331 239664 4703081 222179 6677060 285137 2921029 186982 5644885 245804 2205656 293313 942649 161720 2440815 166...
output:
598738 390984 598738 598738 598738 598738 598738 598738 148937 598738 598738 598738 148937 598738 598738 598738 301251 598738 148937 148937 598738 301251 598738 598738 598738 598738 148937 598738 598738 598738 598738 598738 598738 148937 293812 445346 444928 598738 598738 301230 598738 598738 598738...
result:
ok 4597 numbers
Test #95:
score: 0
Accepted
time: 79ms
memory: 30584kb
input:
116023 116402 722481 759845 1297296 703253 1889232 1150103 1509439 699130 1744665 773538 1483808 854747 2032660 836316 1095828 581346 1603139 1152055 1583219 654427 1655203 986785 3426542 825652 2493014 965337 691168 634916 4961081 699837 1999984 794067 1252731 879898 2026690 1026610 778199 698170 1...
output:
574749 574749 1024030 574749 2229188 574749 574749 574749 1543892 574749 574749 2005920 574749 574749 2044572 574749 574749 574749 574749 574749 574749 574749 1841110 574749 2031714 574749 574749 1933847 897972 574749 1339705 574749 574749 574749 574749 574749 1172782 574749 574749 1557654 574749 57...
result:
ok 75213 numbers
Test #96:
score: 0
Accepted
time: 465ms
memory: 75188kb
input:
288518 288686 2539491 2631622 20085107 1841284 46655881 2155465 3464761 1782372 37193756 2660859 2260404 1730031 14056317 1716416 10011758 1757390 36602503 1699375 37166008 2150500 7397567 2548456 25307715 1498747 16212376 1672854 37808600 1844906 6698038 2577977 14233424 2286512 12115895 2301196 24...
output:
1433998 5480499 2415953 3912815 5272531 2768980 3877558 4636372 1937262 2140974 4278404 1990127 2907416 5524219 5037716 5263198 4697985 3884042 1433998 1433998 3874683 1433998 1433998 3957692 3687096 3117443 4081929 5204954 2818810 2391449 3330762 4999605 3340605 4818186 2205688 4913800 1433998 4383...
result:
ok 55577 numbers
Test #97:
score: 0
Accepted
time: 71ms
memory: 17444kb
input:
36385 137566 81054 254001 478878 228774 642189 246493 664629 262492 421958 275071 943743 355623 504255 248375 495817 211254 659105 327318 395346 276374 793007 307748 927014 316082 470226 224599 1648164 330885 1204870 342355 1156540 303916 396720 269700 1495012 361501 1553856 313170 661679 194009 659...
output:
655732 635612 643170 710430 641090 679843 623731 696430 600309 609478 628255 637984 704367 534402 649922 663105 670393 674957 697434 649811 687244 650169 674138 690324 713196 595418 690062 425795 591741 695503 689468 635106 697261 665327 704367 629453 698173 658824 685699 582775 662643 663668 610238...
result:
ok 9628 numbers
Test #98:
score: 0
Accepted
time: 12ms
memory: 9012kb
input:
23887 24224 82679 233604 238286 182698 191577 132082 446138 190641 400696 161223 453582 230875 441590 153839 463986 177778 300707 195538 367138 179284 224173 156494 279744 162495 447675 197914 591218 177660 228780 218686 469265 164474 412897 231292 530820 202791 331513 215992 532009 199322 501129 22...
output:
295266 265817 250963 117873 344384 117873 318468 211347 295896 322517 347784 117873 422130 262781 117873 313497 289301 354323 117873 240845 141616 444049 158186 383105 344549 348511 237416 259102 269165 117873 383835 285362 358275 347406 274216 251343 342910 287498 163039 365106 296538 364418 271629...
result:
ok 12706 numbers
Test #99:
score: 0
Accepted
time: 270ms
memory: 55432kb
input:
222069 222622 883483 1166644 2523209 1151014 2553796 2125424 3731476 1681472 6404788 2100461 10171068 1888489 11632845 1764047 3856474 1996948 5003111 2187701 3386666 1572870 3725783 1696276 8456021 1725207 2170694 1926663 5302160 1715303 2303871 1307243 5358570 1290732 3267267 1322469 12984030 2018...
output:
1108056 2477500 3796289 1108056 4150120 2515868 3397648 3201679 1108056 3692704 1108056 2702942 1631114 4188890 3231272 3423495 1108056 1108056 1108056 1108056 3795731 1108056 1108056 1452590 3098692 1108056 3394131 2916863 2181831 1108056 3894415 1108056 2494380 1108056 1108056 1370722 3379765 1108...
result:
ok 88128 numbers
Test #100:
score: 0
Accepted
time: 36ms
memory: 16200kb
input:
15911 182801 61900 100497 260041 91576 209996 88508 165506 127319 332201 92829 342277 120512 259916 110996 230828 79782 252508 105639 207241 82136 237654 90736 316419 140850 183445 146715 236484 93759 250083 96095 183428 125824 373468 145160 241762 118755 351207 94951 393132 122877 339305 116017 215...
output:
242820 296485 288356 297853 295394 293976 299328 287401 312274 295528 298833 284900 276192 292081 301069 290702 300653 293976 286595 296082 292081 291892 272935 288953 300980 304165 293976 298833 290953 266783 281482 292651 271855 300004 254708 299328 299328 290702 312274 280006 288234 308067 304190...
result:
ok 5024 numbers
Test #101:
score: 0
Accepted
time: 330ms
memory: 53376kb
input:
213082 213577 1057361 1626600 4157433 2069256 14301759 2041389 16482200 2040146 3946709 1092052 12831959 2129418 27971398 1815568 16138232 1088435 27662117 1730252 26138441 2054709 10023612 2043736 7166260 1306364 8619575 1941954 16515148 1637640 5016879 1198553 13727094 1077904 3452575 1967902 5298...
output:
3392701 3813160 2317227 3944673 3150719 3223026 3637241 2376291 3529670 4051441 3882176 3060484 4014721 3290335 4044353 3666549 3709605 2236847 2275350 3793694 2516669 2245205 2866596 2469146 4144119 3789729 3911762 2241564 3247472 3781186 3620719 3325135 3821475 3554662 2455758 3266447 3315152 3888...
result:
ok 25544 numbers
Test #102:
score: 0
Accepted
time: 39ms
memory: 21600kb
input:
68599 69146 348436 361715 749900 466753 1173856 529541 1262916 649609 714962 371348 1043467 636146 1100430 503331 1370908 612340 363191 355905 953980 518877 1298566 557598 1212938 645321 907853 590019 1195030 545717 821780 410695 1009850 505093 960103 666002 558873 358510 1654721 593459 543460 52134...
output:
339949 339949 1273416 339949 339949 339949 339949 339949 985061 339949 462773 339949 339949 339949 339949 339949 339949 1260876 339949 339949 339949 1299145 339949 339949 339949 339949 339949 820353 339949 1268218 339949 339949 339949 339949 339949 339949 339949 339949 339949 676937 339949 339949 33...
result:
ok 60727 numbers
Test #103:
score: 0
Accepted
time: 47ms
memory: 17172kb
input:
21904 200063 120135 111693 374590 169384 419062 218487 157601 131877 362026 187136 337549 210391 183918 120013 382022 204278 190986 150936 517564 172473 384410 172791 157160 123318 452377 178244 254928 116324 299477 137103 220910 157364 213367 136848 319542 130998 274278 129643 234761 198534 556353 ...
output:
409008 342138 360442 332179 385926 382725 405954 314883 280487 360669 400642 380379 403828 357755 372062 381336 368541 406489 400642 270431 346248 416308 410310 378387 369098 379942 402989 420769 341806 399865 374476 364349 279614 330123 385301 373781 373894 401397 247374 405772 362548 417623 354732...
result:
ok 11028 numbers
Test #104:
score: 0
Accepted
time: 542ms
memory: 73876kb
input:
278278 278277 220110 2456541 66878066 2334825 27685481 1637526 12344695 2393690 14980385 1607479 24812918 2395258 17814203 2404514 66151086 2766954 7939043 1822885 19531465 1525514 32962373 2080751 22569350 2179605 45231930 2326855 27328479 1544393 31665435 2483594 38408074 1762111 54622700 1995425 ...
output:
5113823 4669730 5340123 4794010 1389049 4784102 5244693 1389049 5389513 1389049 5381873 5374938 5185360 5165786 1389049 4952865 5376447 5256236 5223945 5107682 1389049 5406304 1389049 1389049 1389049 5227821 4820007 1389049 5109553 5242554 5043881 1389049 5243996 4846927 1389049 5360928 1389049 1389...
result:
ok 14294 numbers
Test #105:
score: 0
Accepted
time: 217ms
memory: 57932kb
input:
232712 232711 892520 2314620 3213977 1574229 1973446 1655253 1783602 1438971 3396002 1355323 3763607 2197826 4624068 1333148 5860283 1226604 6845141 1967385 2487172 1557146 3697242 1772561 2083986 1170164 6408017 2300927 6033138 2059477 2948802 1990896 2842173 1353428 3225468 2019166 5314466 1542405...
output:
3596971 1156565 1156565 1156565 1156565 1156565 1156565 1156565 1156565 1156565 2411154 1156565 1820062 3426846 1156565 1156565 1156565 1782702 3219240 3202414 3836055 1156565 1156565 4622653 2449394 1156565 3182540 1156565 3035280 1156565 1156565 3876506 1156565 1156565 1156565 1156565 1156565 2782...
result:
ok 139738 numbers
Extra Test:
score: 0
Extra Test Passed