QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#628828#8511. Greek CasinomaspyAC ✓4ms5600kbC++2021.3kb2024-10-10 22:36:522024-10-10 22:36:53

Judging History

你现在查看的是最新测评结果

  • [2024-10-10 22:36:53]
  • 评测
  • 测评结果:AC
  • 用时:4ms
  • 内存:5600kb
  • [2024-10-10 22:36:52]
  • 提交

answer

#line 1 "/home/maspy/compro/library/my_template.hpp"
#if defined(LOCAL)
#include <my_template_compiled.hpp>
#else

// https://codeforces.com/blog/entry/96344
#pragma GCC optimize("Ofast,unroll-loops")
// いまの CF だとこれ入れると動かない?
// #pragma GCC target("avx2,popcnt")

#include <bits/stdc++.h>

using namespace std;

using ll = long long;
using u8 = uint8_t;
using u16 = uint16_t;
using u32 = uint32_t;
using u64 = uint64_t;
using i128 = __int128;
using u128 = unsigned __int128;
using f128 = __float128;

template <class T>
constexpr T infty = 0;
template <>
constexpr int infty<int> = 1'010'000'000;
template <>
constexpr ll infty<ll> = 2'020'000'000'000'000'000;
template <>
constexpr u32 infty<u32> = infty<int>;
template <>
constexpr u64 infty<u64> = infty<ll>;
template <>
constexpr i128 infty<i128> = i128(infty<ll>) * 2'000'000'000'000'000'000;
template <>
constexpr double infty<double> = infty<ll>;
template <>
constexpr long double infty<long double> = infty<ll>;

using pi = pair<ll, ll>;
using vi = vector<ll>;
template <class T>
using vc = vector<T>;
template <class T>
using vvc = vector<vc<T>>;
template <class T>
using vvvc = vector<vvc<T>>;
template <class T>
using vvvvc = vector<vvvc<T>>;
template <class T>
using vvvvvc = vector<vvvvc<T>>;
template <class T>
using pq = priority_queue<T>;
template <class T>
using pqg = priority_queue<T, vector<T>, greater<T>>;

#define vv(type, name, h, ...) vector<vector<type>> name(h, vector<type>(__VA_ARGS__))
#define vvv(type, name, h, w, ...) vector<vector<vector<type>>> name(h, vector<vector<type>>(w, vector<type>(__VA_ARGS__)))
#define vvvv(type, name, a, b, c, ...) \
  vector<vector<vector<vector<type>>>> name(a, vector<vector<vector<type>>>(b, vector<vector<type>>(c, vector<type>(__VA_ARGS__))))

// https://trap.jp/post/1224/
#define FOR1(a) for (ll _ = 0; _ < ll(a); ++_)
#define FOR2(i, a) for (ll i = 0; i < ll(a); ++i)
#define FOR3(i, a, b) for (ll i = a; i < ll(b); ++i)
#define FOR4(i, a, b, c) for (ll i = a; i < ll(b); i += (c))
#define FOR1_R(a) for (ll i = (a)-1; i >= ll(0); --i)
#define FOR2_R(i, a) for (ll i = (a)-1; i >= ll(0); --i)
#define FOR3_R(i, a, b) for (ll i = (b)-1; i >= ll(a); --i)
#define overload4(a, b, c, d, e, ...) e
#define overload3(a, b, c, d, ...) d
#define FOR(...) overload4(__VA_ARGS__, FOR4, FOR3, FOR2, FOR1)(__VA_ARGS__)
#define FOR_R(...) overload3(__VA_ARGS__, FOR3_R, FOR2_R, FOR1_R)(__VA_ARGS__)

#define FOR_subset(t, s) for (ll t = (s); t >= 0; t = (t == 0 ? -1 : (t - 1) & (s)))
#define all(x) x.begin(), x.end()
#define len(x) ll(x.size())
#define elif else if

#define eb emplace_back
#define mp make_pair
#define mt make_tuple
#define fi first
#define se second

#define stoi stoll

int popcnt(int x) { return __builtin_popcount(x); }
int popcnt(u32 x) { return __builtin_popcount(x); }
int popcnt(ll x) { return __builtin_popcountll(x); }
int popcnt(u64 x) { return __builtin_popcountll(x); }
int popcnt_mod_2(int x) { return __builtin_parity(x); }
int popcnt_mod_2(u32 x) { return __builtin_parity(x); }
int popcnt_mod_2(ll x) { return __builtin_parityll(x); }
int popcnt_mod_2(u64 x) { return __builtin_parityll(x); }
// (0, 1, 2, 3, 4) -> (-1, 0, 1, 1, 2)
int topbit(int x) { return (x == 0 ? -1 : 31 - __builtin_clz(x)); }
int topbit(u32 x) { return (x == 0 ? -1 : 31 - __builtin_clz(x)); }
int topbit(ll x) { return (x == 0 ? -1 : 63 - __builtin_clzll(x)); }
int topbit(u64 x) { return (x == 0 ? -1 : 63 - __builtin_clzll(x)); }
// (0, 1, 2, 3, 4) -> (-1, 0, 1, 0, 2)
int lowbit(int x) { return (x == 0 ? -1 : __builtin_ctz(x)); }
int lowbit(u32 x) { return (x == 0 ? -1 : __builtin_ctz(x)); }
int lowbit(ll x) { return (x == 0 ? -1 : __builtin_ctzll(x)); }
int lowbit(u64 x) { return (x == 0 ? -1 : __builtin_ctzll(x)); }

template <typename T>
T floor(T a, T b) {
  return a / b - (a % b && (a ^ b) < 0);
}
template <typename T>
T ceil(T x, T y) {
  return floor(x + y - 1, y);
}
template <typename T>
T bmod(T x, T y) {
  return x - y * floor(x, y);
}
template <typename T>
pair<T, T> divmod(T x, T y) {
  T q = floor(x, y);
  return {q, x - q * y};
}

template <typename T, typename U>
T SUM(const vector<U> &A) {
  T sm = 0;
  for (auto &&a: A) sm += a;
  return sm;
}

#define MIN(v) *min_element(all(v))
#define MAX(v) *max_element(all(v))
#define LB(c, x) distance((c).begin(), lower_bound(all(c), (x)))
#define UB(c, x) distance((c).begin(), upper_bound(all(c), (x)))
#define UNIQUE(x) sort(all(x)), x.erase(unique(all(x)), x.end()), x.shrink_to_fit()

template <typename T>
T POP(deque<T> &que) {
  T a = que.front();
  que.pop_front();
  return a;
}
template <typename T>
T POP(pq<T> &que) {
  T a = que.top();
  que.pop();
  return a;
}
template <typename T>
T POP(pqg<T> &que) {
  T a = que.top();
  que.pop();
  return a;
}
template <typename T>
T POP(vc<T> &que) {
  T a = que.back();
  que.pop_back();
  return a;
}

template <typename F>
ll binary_search(F check, ll ok, ll ng, bool check_ok = true) {
  if (check_ok) assert(check(ok));
  while (abs(ok - ng) > 1) {
    auto x = (ng + ok) / 2;
    (check(x) ? ok : ng) = x;
  }
  return ok;
}
template <typename F>
double binary_search_real(F check, double ok, double ng, int iter = 100) {
  FOR(iter) {
    double x = (ok + ng) / 2;
    (check(x) ? ok : ng) = x;
  }
  return (ok + ng) / 2;
}

template <class T, class S>
inline bool chmax(T &a, const S &b) {
  return (a < b ? a = b, 1 : 0);
}
template <class T, class S>
inline bool chmin(T &a, const S &b) {
  return (a > b ? a = b, 1 : 0);
}

// ? は -1
vc<int> s_to_vi(const string &S, char first_char) {
  vc<int> A(S.size());
  FOR(i, S.size()) { A[i] = (S[i] != '?' ? S[i] - first_char : -1); }
  return A;
}

template <typename T, typename U>
vector<T> cumsum(vector<U> &A, int off = 1) {
  int N = A.size();
  vector<T> B(N + 1);
  FOR(i, N) { B[i + 1] = B[i] + A[i]; }
  if (off == 0) B.erase(B.begin());
  return B;
}

// stable sort
template <typename T>
vector<int> argsort(const vector<T> &A) {
  vector<int> ids(len(A));
  iota(all(ids), 0);
  sort(all(ids), [&](int i, int j) { return (A[i] == A[j] ? i < j : A[i] < A[j]); });
  return ids;
}

// A[I[0]], A[I[1]], ...
template <typename T>
vc<T> rearrange(const vc<T> &A, const vc<int> &I) {
  vc<T> B(len(I));
  FOR(i, len(I)) B[i] = A[I[i]];
  return B;
}

template <typename T, typename... Vectors>
void concat(vc<T> &first, const Vectors &... others) {
  vc<T> &res = first;
  (res.insert(res.end(), others.begin(), others.end()), ...);
}
#endif
#line 1 "/home/maspy/compro/library/other/io.hpp"
#define FASTIO
#include <unistd.h>

// https://judge.yosupo.jp/submission/21623
namespace fastio {
static constexpr uint32_t SZ = 1 << 17;
char ibuf[SZ];
char obuf[SZ];
char out[100];
// pointer of ibuf, obuf
uint32_t pil = 0, pir = 0, por = 0;

struct Pre {
  char num[10000][4];
  constexpr Pre() : num() {
    for (int i = 0; i < 10000; i++) {
      int n = i;
      for (int j = 3; j >= 0; j--) {
        num[i][j] = n % 10 | '0';
        n /= 10;
      }
    }
  }
} constexpr pre;

inline void load() {
  memcpy(ibuf, ibuf + pil, pir - pil);
  pir = pir - pil + fread(ibuf + pir - pil, 1, SZ - pir + pil, stdin);
  pil = 0;
  if (pir < SZ) ibuf[pir++] = '\n';
}

inline void flush() {
  fwrite(obuf, 1, por, stdout);
  por = 0;
}

void rd(char &c) {
  do {
    if (pil + 1 > pir) load();
    c = ibuf[pil++];
  } while (isspace(c));
}

void rd(string &x) {
  x.clear();
  char c;
  do {
    if (pil + 1 > pir) load();
    c = ibuf[pil++];
  } while (isspace(c));
  do {
    x += c;
    if (pil == pir) load();
    c = ibuf[pil++];
  } while (!isspace(c));
}

template <typename T>
void rd_real(T &x) {
  string s;
  rd(s);
  x = stod(s);
}

template <typename T>
void rd_integer(T &x) {
  if (pil + 100 > pir) load();
  char c;
  do
    c = ibuf[pil++];
  while (c < '-');
  bool minus = 0;
  if constexpr (is_signed<T>::value || is_same_v<T, i128>) {
    if (c == '-') { minus = 1, c = ibuf[pil++]; }
  }
  x = 0;
  while ('0' <= c) { x = x * 10 + (c & 15), c = ibuf[pil++]; }
  if constexpr (is_signed<T>::value || is_same_v<T, i128>) {
    if (minus) x = -x;
  }
}

void rd(int &x) { rd_integer(x); }
void rd(ll &x) { rd_integer(x); }
void rd(i128 &x) { rd_integer(x); }
void rd(u32 &x) { rd_integer(x); }
void rd(u64 &x) { rd_integer(x); }
void rd(u128 &x) { rd_integer(x); }
void rd(double &x) { rd_real(x); }
void rd(long double &x) { rd_real(x); }
void rd(f128 &x) { rd_real(x); }

template <class T, class U>
void rd(pair<T, U> &p) {
  return rd(p.first), rd(p.second);
}
template <size_t N = 0, typename T>
void rd_tuple(T &t) {
  if constexpr (N < std::tuple_size<T>::value) {
    auto &x = std::get<N>(t);
    rd(x);
    rd_tuple<N + 1>(t);
  }
}
template <class... T>
void rd(tuple<T...> &tpl) {
  rd_tuple(tpl);
}

template <size_t N = 0, typename T>
void rd(array<T, N> &x) {
  for (auto &d: x) rd(d);
}
template <class T>
void rd(vc<T> &x) {
  for (auto &d: x) rd(d);
}

void read() {}
template <class H, class... T>
void read(H &h, T &... t) {
  rd(h), read(t...);
}

void wt(const char c) {
  if (por == SZ) flush();
  obuf[por++] = c;
}
void wt(const string s) {
  for (char c: s) wt(c);
}
void wt(const char *s) {
  size_t len = strlen(s);
  for (size_t i = 0; i < len; i++) wt(s[i]);
}

template <typename T>
void wt_integer(T x) {
  if (por > SZ - 100) flush();
  if (x < 0) { obuf[por++] = '-', x = -x; }
  int outi;
  for (outi = 96; x >= 10000; outi -= 4) {
    memcpy(out + outi, pre.num[x % 10000], 4);
    x /= 10000;
  }
  if (x >= 1000) {
    memcpy(obuf + por, pre.num[x], 4);
    por += 4;
  } else if (x >= 100) {
    memcpy(obuf + por, pre.num[x] + 1, 3);
    por += 3;
  } else if (x >= 10) {
    int q = (x * 103) >> 10;
    obuf[por] = q | '0';
    obuf[por + 1] = (x - q * 10) | '0';
    por += 2;
  } else
    obuf[por++] = x | '0';
  memcpy(obuf + por, out + outi + 4, 96 - outi);
  por += 96 - outi;
}

template <typename T>
void wt_real(T x) {
  ostringstream oss;
  oss << fixed << setprecision(15) << double(x);
  string s = oss.str();
  wt(s);
}

void wt(int x) { wt_integer(x); }
void wt(ll x) { wt_integer(x); }
void wt(i128 x) { wt_integer(x); }
void wt(u32 x) { wt_integer(x); }
void wt(u64 x) { wt_integer(x); }
void wt(u128 x) { wt_integer(x); }
void wt(double x) { wt_real(x); }
void wt(long double x) { wt_real(x); }
void wt(f128 x) { wt_real(x); }

template <class T, class U>
void wt(const pair<T, U> val) {
  wt(val.first);
  wt(' ');
  wt(val.second);
}
template <size_t N = 0, typename T>
void wt_tuple(const T t) {
  if constexpr (N < std::tuple_size<T>::value) {
    if constexpr (N > 0) { wt(' '); }
    const auto x = std::get<N>(t);
    wt(x);
    wt_tuple<N + 1>(t);
  }
}
template <class... T>
void wt(tuple<T...> tpl) {
  wt_tuple(tpl);
}
template <class T, size_t S>
void wt(const array<T, S> val) {
  auto n = val.size();
  for (size_t i = 0; i < n; i++) {
    if (i) wt(' ');
    wt(val[i]);
  }
}
template <class T>
void wt(const vector<T> val) {
  auto n = val.size();
  for (size_t i = 0; i < n; i++) {
    if (i) wt(' ');
    wt(val[i]);
  }
}

void print() { wt('\n'); }
template <class Head, class... Tail>
void print(Head &&head, Tail &&... tail) {
  wt(head);
  if (sizeof...(Tail)) wt(' ');
  print(forward<Tail>(tail)...);
}

// gcc expansion. called automaticall after main.
void __attribute__((destructor)) _d() { flush(); }
} // namespace fastio
using fastio::read;
using fastio::print;
using fastio::flush;

#if defined(LOCAL)
#define SHOW(...) SHOW_IMPL(__VA_ARGS__, SHOW6, SHOW5, SHOW4, SHOW3, SHOW2, SHOW1)(__VA_ARGS__)
#define SHOW_IMPL(_1, _2, _3, _4, _5, _6, NAME, ...) NAME
#define SHOW1(x) print(#x, "=", (x)), flush()
#define SHOW2(x, y) print(#x, "=", (x), #y, "=", (y)), flush()
#define SHOW3(x, y, z) print(#x, "=", (x), #y, "=", (y), #z, "=", (z)), flush()
#define SHOW4(x, y, z, w) print(#x, "=", (x), #y, "=", (y), #z, "=", (z), #w, "=", (w)), flush()
#define SHOW5(x, y, z, w, v) print(#x, "=", (x), #y, "=", (y), #z, "=", (z), #w, "=", (w), #v, "=", (v)), flush()
#define SHOW6(x, y, z, w, v, u) print(#x, "=", (x), #y, "=", (y), #z, "=", (z), #w, "=", (w), #v, "=", (v), #u, "=", (u)), flush()
#else
#define SHOW(...)
#endif

#define INT(...)   \
  int __VA_ARGS__; \
  read(__VA_ARGS__)
#define LL(...)   \
  ll __VA_ARGS__; \
  read(__VA_ARGS__)
#define U32(...)   \
  u32 __VA_ARGS__; \
  read(__VA_ARGS__)
#define U64(...)   \
  u64 __VA_ARGS__; \
  read(__VA_ARGS__)
#define STR(...)      \
  string __VA_ARGS__; \
  read(__VA_ARGS__)
#define CHAR(...)   \
  char __VA_ARGS__; \
  read(__VA_ARGS__)
#define DBL(...)      \
  double __VA_ARGS__; \
  read(__VA_ARGS__)

#define VEC(type, name, size) \
  vector<type> name(size);    \
  read(name)
#define VV(type, name, h, w)                     \
  vector<vector<type>> name(h, vector<type>(w)); \
  read(name)

void YES(bool t = 1) { print(t ? "YES" : "NO"); }
void NO(bool t = 1) { YES(!t); }
void Yes(bool t = 1) { print(t ? "Yes" : "No"); }
void No(bool t = 1) { Yes(!t); }
void yes(bool t = 1) { print(t ? "yes" : "no"); }
void no(bool t = 1) { yes(!t); }
#line 3 "main.cpp"

#line 2 "/home/maspy/compro/library/mod/modint_common.hpp"

struct has_mod_impl {
  template <class T>
  static auto check(T &&x) -> decltype(x.get_mod(), std::true_type{});
  template <class T>
  static auto check(...) -> std::false_type;
};

template <class T>
class has_mod : public decltype(has_mod_impl::check<T>(std::declval<T>())) {};

template <typename mint>
mint inv(int n) {
  static const int mod = mint::get_mod();
  static vector<mint> dat = {0, 1};
  assert(0 <= n);
  if (n >= mod) n %= mod;
  while (len(dat) <= n) {
    int k = len(dat);
    int q = (mod + k - 1) / k;
    dat.eb(dat[k * q - mod] * mint::raw(q));
  }
  return dat[n];
}

template <typename mint>
mint fact(int n) {
  static const int mod = mint::get_mod();
  assert(0 <= n && n < mod);
  static vector<mint> dat = {1, 1};
  while (len(dat) <= n) dat.eb(dat[len(dat) - 1] * mint::raw(len(dat)));
  return dat[n];
}

template <typename mint>
mint fact_inv(int n) {
  static vector<mint> dat = {1, 1};
  if (n < 0) return mint(0);
  while (len(dat) <= n) dat.eb(dat[len(dat) - 1] * inv<mint>(len(dat)));
  return dat[n];
}

template <class mint, class... Ts>
mint fact_invs(Ts... xs) {
  return (mint(1) * ... * fact_inv<mint>(xs));
}

template <typename mint, class Head, class... Tail>
mint multinomial(Head &&head, Tail &&... tail) {
  return fact<mint>(head) * fact_invs<mint>(std::forward<Tail>(tail)...);
}

template <typename mint>
mint C_dense(int n, int k) {
  static vvc<mint> C;
  static int H = 0, W = 0;
  auto calc = [&](int i, int j) -> mint {
    if (i == 0) return (j == 0 ? mint(1) : mint(0));
    return C[i - 1][j] + (j ? C[i - 1][j - 1] : 0);
  };
  if (W <= k) {
    FOR(i, H) {
      C[i].resize(k + 1);
      FOR(j, W, k + 1) { C[i][j] = calc(i, j); }
    }
    W = k + 1;
  }
  if (H <= n) {
    C.resize(n + 1);
    FOR(i, H, n + 1) {
      C[i].resize(W);
      FOR(j, W) { C[i][j] = calc(i, j); }
    }
    H = n + 1;
  }
  return C[n][k];
}

template <typename mint, bool large = false, bool dense = false>
mint C(ll n, ll k) {
  assert(n >= 0);
  if (k < 0 || n < k) return 0;
  if constexpr (dense) return C_dense<mint>(n, k);
  if constexpr (!large) return multinomial<mint>(n, k, n - k);
  k = min(k, n - k);
  mint x(1);
  FOR(i, k) x *= mint(n - i);
  return x * fact_inv<mint>(k);
}

template <typename mint, bool large = false>
mint C_inv(ll n, ll k) {
  assert(n >= 0);
  assert(0 <= k && k <= n);
  if (!large) return fact_inv<mint>(n) * fact<mint>(k) * fact<mint>(n - k);
  return mint(1) / C<mint, 1>(n, k);
}

// [x^d](1-x)^{-n}
template <typename mint, bool large = false, bool dense = false>
mint C_negative(ll n, ll d) {
  assert(n >= 0);
  if (d < 0) return mint(0);
  if (n == 0) { return (d == 0 ? mint(1) : mint(0)); }
  return C<mint, large, dense>(n + d - 1, d);
}
#line 3 "/home/maspy/compro/library/mod/modint.hpp"

template <int mod>
struct modint {
  static constexpr u32 umod = u32(mod);
  static_assert(umod < u32(1) << 31);
  u32 val;

  static modint raw(u32 v) {
    modint x;
    x.val = v;
    return x;
  }
  constexpr modint() : val(0) {}
  constexpr modint(u32 x) : val(x % umod) {}
  constexpr modint(u64 x) : val(x % umod) {}
  constexpr modint(u128 x) : val(x % umod) {}
  constexpr modint(int x) : val((x %= mod) < 0 ? x + mod : x){};
  constexpr modint(ll x) : val((x %= mod) < 0 ? x + mod : x){};
  constexpr modint(i128 x) : val((x %= mod) < 0 ? x + mod : x){};
  bool operator<(const modint &other) const { return val < other.val; }
  modint &operator+=(const modint &p) {
    if ((val += p.val) >= umod) val -= umod;
    return *this;
  }
  modint &operator-=(const modint &p) {
    if ((val += umod - p.val) >= umod) val -= umod;
    return *this;
  }
  modint &operator*=(const modint &p) {
    val = u64(val) * p.val % umod;
    return *this;
  }
  modint &operator/=(const modint &p) {
    *this *= p.inverse();
    return *this;
  }
  modint operator-() const { return modint::raw(val ? mod - val : u32(0)); }
  modint operator+(const modint &p) const { return modint(*this) += p; }
  modint operator-(const modint &p) const { return modint(*this) -= p; }
  modint operator*(const modint &p) const { return modint(*this) *= p; }
  modint operator/(const modint &p) const { return modint(*this) /= p; }
  bool operator==(const modint &p) const { return val == p.val; }
  bool operator!=(const modint &p) const { return val != p.val; }
  modint inverse() const {
    int a = val, b = mod, u = 1, v = 0, t;
    while (b > 0) {
      t = a / b;
      swap(a -= t * b, b), swap(u -= t * v, v);
    }
    return modint(u);
  }
  modint pow(ll n) const {
    assert(n >= 0);
    modint ret(1), mul(val);
    while (n > 0) {
      if (n & 1) ret *= mul;
      mul *= mul;
      n >>= 1;
    }
    return ret;
  }
  static constexpr int get_mod() { return mod; }
  // (n, r), r は 1 の 2^n 乗根
  static constexpr pair<int, int> ntt_info() {
    if (mod == 120586241) return {20, 74066978};
    if (mod == 167772161) return {25, 17};
    if (mod == 469762049) return {26, 30};
    if (mod == 754974721) return {24, 362};
    if (mod == 880803841) return {23, 211};
    if (mod == 943718401) return {22, 663003469};
    if (mod == 998244353) return {23, 31};
    if (mod == 1004535809) return {21, 836905998};
    if (mod == 1045430273) return {20, 363};
    if (mod == 1051721729) return {20, 330};
    if (mod == 1053818881) return {20, 2789};
    return {-1, -1};
  }
  static constexpr bool can_ntt() { return ntt_info().fi != -1; }
};

#ifdef FASTIO
template <int mod>
void rd(modint<mod> &x) {
  fastio::rd(x.val);
  x.val %= mod;
  // assert(0 <= x.val && x.val < mod);
}
template <int mod>
void wt(modint<mod> x) {
  fastio::wt(x.val);
}
#endif

using modint107 = modint<1000000007>;
using modint998 = modint<998244353>;
#line 2 "/home/maspy/compro/library/nt/primetable.hpp"

template <typename T = int>
vc<T> primetable(int LIM) {
  ++LIM;
  const int S = 32768;
  static int done = 2;
  static vc<T> primes = {2}, sieve(S + 1);

  if (done < LIM) {
    done = LIM;

    primes = {2}, sieve.assign(S + 1, 0);
    const int R = LIM / 2;
    primes.reserve(int(LIM / log(LIM) * 1.1));
    vc<pair<int, int>> cp;
    for (int i = 3; i <= S; i += 2) {
      if (!sieve[i]) {
        cp.eb(i, i * i / 2);
        for (int j = i * i; j <= S; j += 2 * i) sieve[j] = 1;
      }
    }
    for (int L = 1; L <= R; L += S) {
      array<bool, S> block{};
      for (auto& [p, idx]: cp)
        for (int i = idx; i < S + L; idx = (i += p)) block[i - L] = 1;
      FOR(i, min(S, R - L)) if (!block[i]) primes.eb((L + i) * 2 + 1);
    }
  }
  int k = LB(primes, LIM + 1);
  return {primes.begin(), primes.begin() + k};
}
#line 3 "/home/maspy/compro/library/nt/zeta.hpp"

template <typename T>
void divisor_zeta(vc<T>& A) {
  assert(A[0] == 0);
  int N = len(A) - 1;
  auto P = primetable(N);
  for (auto&& p: P) { FOR3(x, 1, N / p + 1) A[p * x] += A[x]; }
}

template <typename T>
void divisor_mobius(vc<T>& A) {
  assert(A[0] == 0);
  int N = len(A) - 1;
  auto P = primetable(N);
  for (auto&& p: P) { FOR3_R(x, 1, N / p + 1) A[p * x] -= A[x]; }
}

template <typename T>
void multiplier_zeta(vc<T>& A) {
  assert(A[0] == 0);
  int N = len(A) - 1;
  auto P = primetable(N);
  for (auto&& p: P) { FOR3_R(x, 1, N / p + 1) A[x] += A[p * x]; }
}

template <typename T>
void multiplier_mobius(vc<T>& A) {
  assert(A[0] == 0);
  int N = len(A) - 1;
  auto P = primetable(N);
  for (auto&& p: P) { FOR3(x, 1, N / p + 1) A[x] -= A[p * x]; }
}
#line 6 "main.cpp"

using Re = double;

void solve() {
  LL(N);

  VEC(int, W, N);
  W.insert(W.begin(), 0);
  int S = SUM<int>(W);
  vc<int> wt(N + 1);
  FOR(x, 1, N + 1) { FOR(i, 1, N / x + 1) wt[x * i] += W[x]; }

  // i の約数
  vc<Re> dp(N + 1);
  FOR(i, 1, N + 1) {
    Re p = Re(wt[i]) / S;
    dp[i] = p / (1 - p);
  }

  divisor_mobius<Re>(dp);
  Re ANS = SUM<Re>(dp);
  print(ANS);
}

signed main() { solve(); }

詳細信息

Test #1:

score: 100
Accepted
time: 1ms
memory: 4168kb

input:

3
1 1 1

output:

3.500000000000000

result:

ok found '3.500000000', expected '3.500000000', error '0.000000000'

Test #2:

score: 0
Accepted
time: 1ms
memory: 4252kb

input:

3
1 1 2

output:

3.666666666666667

result:

ok found '3.666666667', expected '3.666666667', error '0.000000000'

Test #3:

score: 0
Accepted
time: 0ms
memory: 4328kb

input:

1337
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1...

output:

1.018336828963224

result:

ok found '1.018336829', expected '1.018336829', error '0.000000000'

Test #4:

score: 0
Accepted
time: 0ms
memory: 4260kb

input:

1337
861 861 861 861 861 861 861 861 861 861 861 861 861 861 861 861 861 861 861 861 861 861 861 861 861 861 861 861 861 861 861 861 861 861 861 861 861 861 861 861 861 861 861 861 861 861 861 861 861 861 861 861 861 861 861 861 861 861 861 861 861 861 861 861 861 861 861 861 861 861 861 861 861 861...

output:

1.018336828963224

result:

ok found '1.018336829', expected '1.018336829', error '0.000000000'

Test #5:

score: 0
Accepted
time: 1ms
memory: 4144kb

input:

617
563 870 884 449 280 664 579 166 796 498 462 499 249 972 722 12 819 975 483 313 438 23 964 305 344 166 960 656 735 995 681 759 601 335 602 986 685 609 263 1000 994 932 995 583 15 207 66 743 916 38 46 488 131 821 294 802 100 765 506 20 114 363 79 195 620 986 210 834 739 96 406 217 553 293 250 25 4...

output:

1.038324581148203

result:

ok found '1.038324581', expected '1.038324581', error '0.000000000'

Test #6:

score: 0
Accepted
time: 1ms
memory: 4356kb

input:

326
349 627 220 932 201 751 927 927 52 332 277 553 888 833 260 399 164 932 748 424 33 92 612 140 272 642 164 556 507 250 598 503 892 329 600 242 292 441 165 917 692 220 291 397 946 159 962 168 172 69 669 703 945 183 941 290 96 901 482 369 952 200 155 936 426 76 877 376 621 977 269 969 135 849 383 34...

output:

1.055951133385510

result:

ok found '1.055951133', expected '1.055951133', error '0.000000000'

Test #7:

score: 0
Accepted
time: 1ms
memory: 4176kb

input:

682
66 313 970 647 716 391 469 763 946 85 847 95 941 423 308 195 936 628 556 806 624 205 628 52 408 920 868 761 101 627 315 670 146 840 82 886 918 40 89 449 404 6 158 161 608 714 352 151 444 26 143 659 827 786 908 281 608 138 119 841 632 12 215 166 707 503 112 16 96 572 997 736 716 603 661 247 921 7...

output:

1.029409781785743

result:

ok found '1.029409782', expected '1.029409782', error '0.000000000'

Test #8:

score: 0
Accepted
time: 1ms
memory: 4464kb

input:

7476
642 341 920 309 562 936 963 381 141 343 883 437 578 322 381 173 272 996 190 889 376 207 231 127 916 205 444 371 176 947 803 945 587 889 141 116 207 4 823 317 273 640 208 101 888 614 631 327 998 366 190 327 275 141 601 528 910 169 666 406 905 807 697 562 559 229 489 685 548 522 53 155 243 128 12...

output:

1.004706780437001

result:

ok found '1.004706780', expected '1.004706780', error '0.000000000'

Test #9:

score: 0
Accepted
time: 0ms
memory: 4400kb

input:

1850
95 238 160 577 876 399 513 487 605 683 397 956 938 162 171 905 70 400 639 215 956 643 207 858 280 444 506 507 109 2 556 933 144 291 144 326 219 824 781 544 43 381 20 316 41 255 67 458 940 839 867 401 384 140 641 836 439 600 281 861 637 880 688 102 478 694 996 116 172 918 73 653 610 171 797 822 ...

output:

1.013304766159873

result:

ok found '1.013304766', expected '1.013304766', error '0.000000000'

Test #10:

score: 0
Accepted
time: 1ms
memory: 4168kb

input:

2015
551 951 327 500 390 59 479 805 199 774 266 32 433 299 407 18 958 407 637 417 73 707 723 240 61 272 623 79 385 853 412 733 446 733 381 306 545 492 386 381 701 227 473 246 921 321 503 441 879 423 934 461 496 119 992 502 181 647 85 465 757 615 340 740 964 456 434 279 345 712 930 199 39 665 99 455 ...

output:

1.013163137631026

result:

ok found '1.013163138', expected '1.013163138', error '0.000000000'

Test #11:

score: 0
Accepted
time: 2ms
memory: 4744kb

input:

55766
652 963 239 379 522 881 478 343 788 434 403 104 765 827 746 158 102 309 293 505 998 929 328 340 110 206 908 168 453 635 169 242 66 551 566 358 537 918 465 896 383 849 875 89 500 787 886 67 950 903 328 462 658 654 457 752 13 567 661 490 828 139 967 914 543 74 860 260 792 525 485 583 485 40 340 ...

output:

1.000904186709251

result:

ok found '1.000904187', expected '1.000904187', error '0.000000000'

Test #12:

score: 0
Accepted
time: 3ms
memory: 4900kb

input:

79112
879 443 8 695 661 529 639 157 77 672 986 94 896 817 655 115 838 552 807 838 547 671 935 49 923 996 99 335 107 811 738 450 387 422 510 1 628 889 985 47 42 622 215 772 385 382 976 479 904 187 840 435 507 288 312 846 668 688 724 58 674 364 489 127 588 27 890 501 338 160 882 210 574 88 698 615 47 ...

output:

1.000668346641309

result:

ok found '1.000668347', expected '1.000668347', error '0.000000000'

Test #13:

score: 0
Accepted
time: 1ms
memory: 4296kb

input:

12890
790 49 192 527 391 736 245 1000 599 704 192 74 2 182 414 652 987 930 40 721 884 939 762 452 968 738 880 267 929 957 792 78 869 550 637 760 288 151 149 989 843 420 81 436 206 578 405 367 625 695 227 784 580 750 935 600 389 362 289 942 414 905 47 588 35 20 149 230 260 974 30 214 214 640 384 691 ...

output:

1.002982463544241

result:

ok found '1.002982464', expected '1.002982463', error '0.000000000'

Test #14:

score: 0
Accepted
time: 4ms
memory: 5268kb

input:

100000
559 289 445 745 118 849 723 684 231 79 427 31 871 533 820 808 632 940 610 183 568 952 485 912 443 512 832 535 814 854 672 760 512 685 855 971 928 55 841 217 500 814 264 594 723 416 673 862 615 168 964 837 824 232 382 792 200 534 880 707 860 779 35 705 822 17 393 636 837 480 155 450 768 267 41...

output:

1.000555374705694

result:

ok found '1.000555375', expected '1.000555375', error '0.000000000'

Test #15:

score: 0
Accepted
time: 0ms
memory: 4372kb

input:

4
3 3 3 3

output:

3.666666666666667

result:

ok found '3.666666667', expected '3.666666667', error '0.000000000'

Test #16:

score: 0
Accepted
time: 0ms
memory: 4384kb

input:

5
615 615 615 615 615

output:

2.333333333333333

result:

ok found '2.333333333', expected '2.333333333', error '0.000000000'

Test #17:

score: 0
Accepted
time: 0ms
memory: 4212kb

input:

6
10 10 10 10 10 10

output:

2.799999999999999

result:

ok found '2.800000000', expected '2.800000000', error '0.000000000'

Test #18:

score: 0
Accepted
time: 1ms
memory: 4216kb

input:

7
855 855 855 855 855 855 855

output:

2.150000000000000

result:

ok found '2.150000000', expected '2.150000000', error '0.000000000'

Test #19:

score: 0
Accepted
time: 0ms
memory: 4240kb

input:

8
314 314 314 314 314 314 314 314

output:

2.047619047619047

result:

ok found '2.047619048', expected '2.047619048', error '0.000000000'

Test #20:

score: 0
Accepted
time: 0ms
memory: 4216kb

input:

9
822 822 822 822 822 822 822 822 822

output:

1.850000000000000

result:

ok found '1.850000000', expected '1.850000000', error '0.000000000'

Test #21:

score: 0
Accepted
time: 1ms
memory: 4324kb

input:

10
612 612 612 612 612 612 612 612 612 612

output:

1.817460317460317

result:

ok found '1.817460317', expected '1.817460317', error '0.000000000'

Test #22:

score: 0
Accepted
time: 1ms
memory: 4360kb

input:

12
144 144 144 144 144 144 144 144 144 144 144 144

output:

1.818181818181818

result:

ok found '1.818181818', expected '1.818181818', error '0.000000000'

Test #23:

score: 0
Accepted
time: 1ms
memory: 4192kb

input:

24
698 698 698 698 698 698 698 698 698 698 698 698 698 698 698 698 698 698 698 698 698 698 698 698

output:

1.418192714989054

result:

ok found '1.418192715', expected '1.418192715', error '0.000000000'

Test #24:

score: 0
Accepted
time: 1ms
memory: 4220kb

input:

36
661 661 661 661 661 661 661 661 661 661 661 661 661 661 661 661 661 661 661 661 661 661 661 661 661 661 661 661 661 661 661 661 661 661 661 661

output:

1.300254647313471

result:

ok found '1.300254647', expected '1.300254647', error '0.000000000'

Test #25:

score: 0
Accepted
time: 1ms
memory: 4152kb

input:

48
230 230 230 230 230 230 230 230 230 230 230 230 230 230 230 230 230 230 230 230 230 230 230 230 230 230 230 230 230 230 230 230 230 230 230 230 230 230 230 230 230 230 230 230 230 230 230 230

output:

1.237251357155069

result:

ok found '1.237251357', expected '1.237251357', error '0.000000000'

Test #26:

score: 0
Accepted
time: 0ms
memory: 4240kb

input:

60
121 121 121 121 121 121 121 121 121 121 121 121 121 121 121 121 121 121 121 121 121 121 121 121 121 121 121 121 121 121 121 121 121 121 121 121 121 121 121 121 121 121 121 121 121 121 121 121 121 121 121 121 121 121 121 121 121 121 121 121

output:

1.202328709080957

result:

ok found '1.202328709', expected '1.202328709', error '0.000000000'

Test #27:

score: 0
Accepted
time: 1ms
memory: 4248kb

input:

120
571 571 571 571 571 571 571 571 571 571 571 571 571 571 571 571 571 571 571 571 571 571 571 571 571 571 571 571 571 571 571 571 571 571 571 571 571 571 571 571 571 571 571 571 571 571 571 571 571 571 571 571 571 571 571 571 571 571 571 571 571 571 571 571 571 571 571 571 571 571 571 571 571 571 ...

output:

1.118364708927543

result:

ok found '1.118364709', expected '1.118364709', error '0.000000000'

Test #28:

score: 0
Accepted
time: 1ms
memory: 4204kb

input:

180
23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23...

output:

1.086563241289483

result:

ok found '1.086563241', expected '1.086563241', error '0.000000000'

Test #29:

score: 0
Accepted
time: 0ms
memory: 4216kb

input:

240
330 330 330 330 330 330 330 330 330 330 330 330 330 330 330 330 330 330 330 330 330 330 330 330 330 330 330 330 330 330 330 330 330 330 330 330 330 330 330 330 330 330 330 330 330 330 330 330 330 330 330 330 330 330 330 330 330 330 330 330 330 330 330 330 330 330 330 330 330 330 330 330 330 330 ...

output:

1.069625514468544

result:

ok found '1.069625514', expected '1.069625514', error '0.000000000'

Test #30:

score: 0
Accepted
time: 0ms
memory: 4228kb

input:

360
313 313 313 313 313 313 313 313 313 313 313 313 313 313 313 313 313 313 313 313 313 313 313 313 313 313 313 313 313 313 313 313 313 313 313 313 313 313 313 313 313 313 313 313 313 313 313 313 313 313 313 313 313 313 313 313 313 313 313 313 313 313 313 313 313 313 313 313 313 313 313 313 313 313 ...

output:

1.050894886577147

result:

ok found '1.050894887', expected '1.050894887', error '0.000000000'

Test #31:

score: 0
Accepted
time: 1ms
memory: 4228kb

input:

720
999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 999 ...

output:

1.029803217150027

result:

ok found '1.029803217', expected '1.029803217', error '0.000000000'

Test #32:

score: 0
Accepted
time: 1ms
memory: 4192kb

input:

840
331 331 331 331 331 331 331 331 331 331 331 331 331 331 331 331 331 331 331 331 331 331 331 331 331 331 331 331 331 331 331 331 331 331 331 331 331 331 331 331 331 331 331 331 331 331 331 331 331 331 331 331 331 331 331 331 331 331 331 331 331 331 331 331 331 331 331 331 331 331 331 331 331 331 ...

output:

1.026473480943491

result:

ok found '1.026473481', expected '1.026473481', error '0.000000000'

Test #33:

score: 0
Accepted
time: 1ms
memory: 4292kb

input:

924
665 665 665 665 665 665 665 665 665 665 665 665 665 665 665 665 665 665 665 665 665 665 665 665 665 665 665 665 665 665 665 665 665 665 665 665 665 665 665 665 665 665 665 665 665 665 665 665 665 665 665 665 665 665 665 665 665 665 665 665 665 665 665 665 665 665 665 665 665 665 665 665 665 665 ...

output:

1.024528088584298

result:

ok found '1.024528089', expected '1.024528089', error '0.000000000'

Test #34:

score: 0
Accepted
time: 1ms
memory: 4192kb

input:

1260
363 363 363 363 363 363 363 363 363 363 363 363 363 363 363 363 363 363 363 363 363 363 363 363 363 363 363 363 363 363 363 363 363 363 363 363 363 363 363 363 363 363 363 363 363 363 363 363 363 363 363 363 363 363 363 363 363 363 363 363 363 363 363 363 363 363 363 363 363 363 363 363 363 363...

output:

1.019270892060939

result:

ok found '1.019270892', expected '1.019270892', error '0.000000000'

Test #35:

score: 0
Accepted
time: 1ms
memory: 4284kb

input:

1606
906 906 906 906 906 906 906 906 906 906 906 906 906 906 906 906 906 906 906 906 906 906 906 906 906 906 906 906 906 906 906 906 906 906 906 906 906 906 906 906 906 906 906 906 906 906 906 906 906 906 906 906 906 906 906 906 906 906 906 906 906 906 906 906 906 906 906 906 906 906 906 906 906 906...

output:

1.015863305769427

result:

ok found '1.015863306', expected '1.015863306', error '0.000000000'

Test #36:

score: 0
Accepted
time: 1ms
memory: 4268kb

input:

1680
226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226 226...

output:

1.015356424233433

result:

ok found '1.015356424', expected '1.015356424', error '0.000000000'

Test #37:

score: 0
Accepted
time: 1ms
memory: 4292kb

input:

2520
633 633 633 633 633 633 633 633 633 633 633 633 633 633 633 633 633 633 633 633 633 633 633 633 633 633 633 633 633 633 633 633 633 633 633 633 633 633 633 633 633 633 633 633 633 633 633 633 633 633 633 633 633 633 633 633 633 633 633 633 633 633 633 633 633 633 633 633 633 633 633 633 633 633...

output:

1.011129058962607

result:

ok found '1.011129059', expected '1.011129059', error '0.000000000'

Test #38:

score: 0
Accepted
time: 1ms
memory: 4336kb

input:

2623
361 361 361 361 361 361 361 361 361 361 361 361 361 361 361 361 361 361 361 361 361 361 361 361 361 361 361 361 361 361 361 361 361 361 361 361 361 361 361 361 361 361 361 361 361 361 361 361 361 361 361 361 361 361 361 361 361 361 361 361 361 361 361 361 361 361 361 361 361 361 361 361 361 361...

output:

1.010757222411926

result:

ok found '1.010757222', expected '1.010757222', error '0.000000000'

Test #39:

score: 0
Accepted
time: 1ms
memory: 4404kb

input:

3892
876 876 876 876 876 876 876 876 876 876 876 876 876 876 876 876 876 876 876 876 876 876 876 876 876 876 876 876 876 876 876 876 876 876 876 876 876 876 876 876 876 876 876 876 876 876 876 876 876 876 876 876 876 876 876 876 876 876 876 876 876 876 876 876 876 876 876 876 876 876 876 876 876 876...

output:

1.007844113657170

result:

ok found '1.007844114', expected '1.007844114', error '0.000000000'

Test #40:

score: 0
Accepted
time: 1ms
memory: 4292kb

input:

4967
632 632 632 632 632 632 632 632 632 632 632 632 632 632 632 632 632 632 632 632 632 632 632 632 632 632 632 632 632 632 632 632 632 632 632 632 632 632 632 632 632 632 632 632 632 632 632 632 632 632 632 632 632 632 632 632 632 632 632 632 632 632 632 632 632 632 632 632 632 632 632 632 632 632...

output:

1.006448887902576

result:

ok found '1.006448888', expected '1.006448888', error '0.000000000'

Test #41:

score: 0
Accepted
time: 1ms
memory: 4336kb

input:

5040
544 544 544 544 544 544 544 544 544 544 544 544 544 544 544 544 544 544 544 544 544 544 544 544 544 544 544 544 544 544 544 544 544 544 544 544 544 544 544 544 544 544 544 544 544 544 544 544 544 544 544 544 544 544 544 544 544 544 544 544 544 544 544 544 544 544 544 544 544 544 544 544 544 544...

output:

1.006381440881305

result:

ok found '1.006381441', expected '1.006381441', error '0.000000000'

Test #42:

score: 0
Accepted
time: 1ms
memory: 4404kb

input:

5347
465 465 465 465 465 465 465 465 465 465 465 465 465 465 465 465 465 465 465 465 465 465 465 465 465 465 465 465 465 465 465 465 465 465 465 465 465 465 465 465 465 465 465 465 465 465 465 465 465 465 465 465 465 465 465 465 465 465 465 465 465 465 465 465 465 465 465 465 465 465 465 465 465 465...

output:

1.006076972283354

result:

ok found '1.006076972', expected '1.006076972', error '0.000000000'

Test #43:

score: 0
Accepted
time: 1ms
memory: 4304kb

input:

6246
377 377 377 377 377 377 377 377 377 377 377 377 377 377 377 377 377 377 377 377 377 377 377 377 377 377 377 377 377 377 377 377 377 377 377 377 377 377 377 377 377 377 377 377 377 377 377 377 377 377 377 377 377 377 377 377 377 377 377 377 377 377 377 377 377 377 377 377 377 377 377 377 377 377...

output:

1.005359891713765

result:

ok found '1.005359892', expected '1.005359892', error '0.000000000'

Test #44:

score: 0
Accepted
time: 1ms
memory: 4292kb

input:

7345
845 845 845 845 845 845 845 845 845 845 845 845 845 845 845 845 845 845 845 845 845 845 845 845 845 845 845 845 845 845 845 845 845 845 845 845 845 845 845 845 845 845 845 845 845 845 845 845 845 845 845 845 845 845 845 845 845 845 845 845 845 845 845 845 845 845 845 845 845 845 845 845 845 845...

output:

1.004698138610220

result:

ok found '1.004698139', expected '1.004698139', error '0.000000000'

Test #45:

score: 0
Accepted
time: 1ms
memory: 4252kb

input:

7560
216 216 216 216 216 216 216 216 216 216 216 216 216 216 216 216 216 216 216 216 216 216 216 216 216 216 216 216 216 216 216 216 216 216 216 216 216 216 216 216 216 216 216 216 216 216 216 216 216 216 216 216 216 216 216 216 216 216 216 216 216 216 216 216 216 216 216 216 216 216 216 216 216 216...

output:

1.004591803401769

result:

ok found '1.004591803', expected '1.004591803', error '0.000000000'

Test #46:

score: 0
Accepted
time: 1ms
memory: 4320kb

input:

8271
878 878 878 878 878 878 878 878 878 878 878 878 878 878 878 878 878 878 878 878 878 878 878 878 878 878 878 878 878 878 878 878 878 878 878 878 878 878 878 878 878 878 878 878 878 878 878 878 878 878 878 878 878 878 878 878 878 878 878 878 878 878 878 878 878 878 878 878 878 878 878 878 878 878...

output:

1.004264539235517

result:

ok found '1.004264539', expected '1.004264539', error '0.000000000'

Test #47:

score: 0
Accepted
time: 1ms
memory: 4424kb

input:

9565
915 915 915 915 915 915 915 915 915 915 915 915 915 915 915 915 915 915 915 915 915 915 915 915 915 915 915 915 915 915 915 915 915 915 915 915 915 915 915 915 915 915 915 915 915 915 915 915 915 915 915 915 915 915 915 915 915 915 915 915 915 915 915 915 915 915 915 915 915 915 915 915 915 915...

output:

1.003786836675674

result:

ok found '1.003786837', expected '1.003786837', error '0.000000000'

Test #48:

score: 0
Accepted
time: 1ms
memory: 4404kb

input:

10080
120 120 120 120 120 120 120 120 120 120 120 120 120 120 120 120 120 120 120 120 120 120 120 120 120 120 120 120 120 120 120 120 120 120 120 120 120 120 120 120 120 120 120 120 120 120 120 120 120 120 120 120 120 120 120 120 120 120 120 120 120 120 120 120 120 120 120 120 120 120 120 120 120 12...

output:

1.003631823641441

result:

ok found '1.003631824', expected '1.003631824', error '0.000000000'

Test #49:

score: 0
Accepted
time: 1ms
memory: 4460kb

input:

10963
530 530 530 530 530 530 530 530 530 530 530 530 530 530 530 530 530 530 530 530 530 530 530 530 530 530 530 530 530 530 530 530 530 530 530 530 530 530 530 530 530 530 530 530 530 530 530 530 530 530 530 530 530 530 530 530 530 530 530 530 530 530 530 530 530 530 530 530 530 530 530 530 530 53...

output:

1.003388827770879

result:

ok found '1.003388828', expected '1.003388828', error '0.000000000'

Test #50:

score: 0
Accepted
time: 1ms
memory: 4388kb

input:

11149
718 718 718 718 718 718 718 718 718 718 718 718 718 718 718 718 718 718 718 718 718 718 718 718 718 718 718 718 718 718 718 718 718 718 718 718 718 718 718 718 718 718 718 718 718 718 718 718 718 718 718 718 718 718 718 718 718 718 718 718 718 718 718 718 718 718 718 718 718 718 718 718 718 71...

output:

1.003340504339660

result:

ok found '1.003340504', expected '1.003340504', error '0.000000000'

Test #51:

score: 0
Accepted
time: 1ms
memory: 4512kb

input:

12953
97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 ...

output:

1.002954588204592

result:

ok found '1.002954588', expected '1.002954588', error '0.000000000'

Test #52:

score: 0
Accepted
time: 1ms
memory: 4552kb

input:

13679
370 370 370 370 370 370 370 370 370 370 370 370 370 370 370 370 370 370 370 370 370 370 370 370 370 370 370 370 370 370 370 370 370 370 370 370 370 370 370 370 370 370 370 370 370 370 370 370 370 370 370 370 370 370 370 370 370 370 370 370 370 370 370 370 370 370 370 370 370 370 370 370 370 37...

output:

1.002824288527204

result:

ok found '1.002824289', expected '1.002824289', error '0.000000000'

Test #53:

score: 0
Accepted
time: 1ms
memory: 4720kb

input:

14388
727 727 727 727 727 727 727 727 727 727 727 727 727 727 727 727 727 727 727 727 727 727 727 727 727 727 727 727 727 727 727 727 727 727 727 727 727 727 727 727 727 727 727 727 727 727 727 727 727 727 727 727 727 727 727 727 727 727 727 727 727 727 727 727 727 727 727 727 727 727 727 727 727 72...

output:

1.002710323577939

result:

ok found '1.002710324', expected '1.002710324', error '0.000000000'

Test #54:

score: 0
Accepted
time: 1ms
memory: 4580kb

input:

15120
28 28 28 28 28 28 28 28 28 28 28 28 28 28 28 28 28 28 28 28 28 28 28 28 28 28 28 28 28 28 28 28 28 28 28 28 28 28 28 28 28 28 28 28 28 28 28 28 28 28 28 28 28 28 28 28 28 28 28 28 28 28 28 28 28 28 28 28 28 28 28 28 28 28 28 28 28 28 28 28 28 28 28 28 28 28 28 28 28 28 28 28 28 28 28 28 28 28 ...

output:

1.002602382645150

result:

ok found '1.002602383', expected '1.002602383', error '0.000000000'

Test #55:

score: 0
Accepted
time: 1ms
memory: 4368kb

input:

15562
553 553 553 553 553 553 553 553 553 553 553 553 553 553 553 553 553 553 553 553 553 553 553 553 553 553 553 553 553 553 553 553 553 553 553 553 553 553 553 553 553 553 553 553 553 553 553 553 553 553 553 553 553 553 553 553 553 553 553 553 553 553 553 553 553 553 553 553 553 553 553 553 553 55...

output:

1.002540490201394

result:

ok found '1.002540490', expected '1.002540490', error '0.000000000'

Test #56:

score: 0
Accepted
time: 1ms
memory: 4376kb

input:

16863
292 292 292 292 292 292 292 292 292 292 292 292 292 292 292 292 292 292 292 292 292 292 292 292 292 292 292 292 292 292 292 292 292 292 292 292 292 292 292 292 292 292 292 292 292 292 292 292 292 292 292 292 292 292 292 292 292 292 292 292 292 292 292 292 292 292 292 292 292 292 292 292 292 29...

output:

1.002377559338385

result:

ok found '1.002377559', expected '1.002377559', error '0.000000000'

Test #57:

score: 0
Accepted
time: 1ms
memory: 4444kb

input:

17967
183 183 183 183 183 183 183 183 183 183 183 183 183 183 183 183 183 183 183 183 183 183 183 183 183 183 183 183 183 183 183 183 183 183 183 183 183 183 183 183 183 183 183 183 183 183 183 183 183 183 183 183 183 183 183 183 183 183 183 183 183 183 183 183 183 183 183 183 183 183 183 183 183 18...

output:

1.002256288874583

result:

ok found '1.002256289', expected '1.002256289', error '0.000000000'

Test #58:

score: 0
Accepted
time: 1ms
memory: 4448kb

input:

18565
160 160 160 160 160 160 160 160 160 160 160 160 160 160 160 160 160 160 160 160 160 160 160 160 160 160 160 160 160 160 160 160 160 160 160 160 160 160 160 160 160 160 160 160 160 160 160 160 160 160 160 160 160 160 160 160 160 160 160 160 160 160 160 160 160 160 160 160 160 160 160 160 160 16...

output:

1.002196347717587

result:

ok found '1.002196348', expected '1.002196348', error '0.000000000'

Test #59:

score: 0
Accepted
time: 1ms
memory: 4372kb

input:

19721
490 490 490 490 490 490 490 490 490 490 490 490 490 490 490 490 490 490 490 490 490 490 490 490 490 490 490 490 490 490 490 490 490 490 490 490 490 490 490 490 490 490 490 490 490 490 490 490 490 490 490 490 490 490 490 490 490 490 490 490 490 490 490 490 490 490 490 490 490 490 490 490 490 49...

output:

1.002088963262886

result:

ok found '1.002088963', expected '1.002088963', error '0.000000000'

Test #60:

score: 0
Accepted
time: 1ms
memory: 4504kb

input:

20160
214 214 214 214 214 214 214 214 214 214 214 214 214 214 214 214 214 214 214 214 214 214 214 214 214 214 214 214 214 214 214 214 214 214 214 214 214 214 214 214 214 214 214 214 214 214 214 214 214 214 214 214 214 214 214 214 214 214 214 214 214 214 214 214 214 214 214 214 214 214 214 214 214 21...

output:

1.002052044989064

result:

ok found '1.002052045', expected '1.002052045', error '0.000000000'

Test #61:

score: 0
Accepted
time: 0ms
memory: 4480kb

input:

20747
919 919 919 919 919 919 919 919 919 919 919 919 919 919 919 919 919 919 919 919 919 919 919 919 919 919 919 919 919 919 919 919 919 919 919 919 919 919 919 919 919 919 919 919 919 919 919 919 919 919 919 919 919 919 919 919 919 919 919 919 919 919 919 919 919 919 919 919 919 919 919 919 919 91...

output:

1.002002601077262

result:

ok found '1.002002601', expected '1.002002601', error '0.000000000'

Test #62:

score: 0
Accepted
time: 1ms
memory: 4312kb

input:

21620
42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 ...

output:

1.001935734248307

result:

ok found '1.001935734', expected '1.001935734', error '0.000000000'

Test #63:

score: 0
Accepted
time: 0ms
memory: 4396kb

input:

22802
223 223 223 223 223 223 223 223 223 223 223 223 223 223 223 223 223 223 223 223 223 223 223 223 223 223 223 223 223 223 223 223 223 223 223 223 223 223 223 223 223 223 223 223 223 223 223 223 223 223 223 223 223 223 223 223 223 223 223 223 223 223 223 223 223 223 223 223 223 223 223 223 223 22...

output:

1.001852609018280

result:

ok found '1.001852609', expected '1.001852609', error '0.000000000'

Test #64:

score: 0
Accepted
time: 0ms
memory: 4328kb

input:

23010
659 659 659 659 659 659 659 659 659 659 659 659 659 659 659 659 659 659 659 659 659 659 659 659 659 659 659 659 659 659 659 659 659 659 659 659 659 659 659 659 659 659 659 659 659 659 659 659 659 659 659 659 659 659 659 659 659 659 659 659 659 659 659 659 659 659 659 659 659 659 659 659 659 65...

output:

1.001838438871210

result:

ok found '1.001838439', expected '1.001838439', error '0.000000000'

Test #65:

score: 0
Accepted
time: 1ms
memory: 4440kb

input:

24681
396 396 396 396 396 396 396 396 396 396 396 396 396 396 396 396 396 396 396 396 396 396 396 396 396 396 396 396 396 396 396 396 396 396 396 396 396 396 396 396 396 396 396 396 396 396 396 396 396 396 396 396 396 396 396 396 396 396 396 396 396 396 396 396 396 396 396 396 396 396 396 396 396 39...

output:

1.001734164337544

result:

ok found '1.001734164', expected '1.001734164', error '0.000000000'

Test #66:

score: 0
Accepted
time: 1ms
memory: 4508kb

input:

25200
191 191 191 191 191 191 191 191 191 191 191 191 191 191 191 191 191 191 191 191 191 191 191 191 191 191 191 191 191 191 191 191 191 191 191 191 191 191 191 191 191 191 191 191 191 191 191 191 191 191 191 191 191 191 191 191 191 191 191 191 191 191 191 191 191 191 191 191 191 191 191 191 191 19...

output:

1.001705205273102

result:

ok found '1.001705205', expected '1.001705205', error '0.000000000'

Test #67:

score: 0
Accepted
time: 1ms
memory: 4452kb

input:

25822
482 482 482 482 482 482 482 482 482 482 482 482 482 482 482 482 482 482 482 482 482 482 482 482 482 482 482 482 482 482 482 482 482 482 482 482 482 482 482 482 482 482 482 482 482 482 482 482 482 482 482 482 482 482 482 482 482 482 482 482 482 482 482 482 482 482 482 482 482 482 482 482 482 48...

output:

1.001670199293871

result:

ok found '1.001670199', expected '1.001670199', error '0.000000000'

Test #68:

score: 0
Accepted
time: 1ms
memory: 4464kb

input:

26908
796 796 796 796 796 796 796 796 796 796 796 796 796 796 796 796 796 796 796 796 796 796 796 796 796 796 796 796 796 796 796 796 796 796 796 796 796 796 796 796 796 796 796 796 796 796 796 796 796 796 796 796 796 796 796 796 796 796 796 796 796 796 796 796 796 796 796 796 796 796 796 796 796 79...

output:

1.001613868854671

result:

ok found '1.001613869', expected '1.001613869', error '0.000000000'

Test #69:

score: 0
Accepted
time: 1ms
memory: 4440kb

input:

27327
105 105 105 105 105 105 105 105 105 105 105 105 105 105 105 105 105 105 105 105 105 105 105 105 105 105 105 105 105 105 105 105 105 105 105 105 105 105 105 105 105 105 105 105 105 105 105 105 105 105 105 105 105 105 105 105 105 105 105 105 105 105 105 105 105 105 105 105 105 105 105 105 105 10...

output:

1.001593396032635

result:

ok found '1.001593396', expected '1.001593396', error '0.000000000'

Test #70:

score: 0
Accepted
time: 1ms
memory: 4468kb

input:

27720
854 854 854 854 854 854 854 854 854 854 854 854 854 854 854 854 854 854 854 854 854 854 854 854 854 854 854 854 854 854 854 854 854 854 854 854 854 854 854 854 854 854 854 854 854 854 854 854 854 854 854 854 854 854 854 854 854 854 854 854 854 854 854 854 854 854 854 854 854 854 854 854 854 85...

output:

1.001575123728522

result:

ok found '1.001575124', expected '1.001575124', error '0.000000000'

Test #71:

score: 0
Accepted
time: 1ms
memory: 4464kb

input:

28568
351 351 351 351 351 351 351 351 351 351 351 351 351 351 351 351 351 351 351 351 351 351 351 351 351 351 351 351 351 351 351 351 351 351 351 351 351 351 351 351 351 351 351 351 351 351 351 351 351 351 351 351 351 351 351 351 351 351 351 351 351 351 351 351 351 351 351 351 351 351 351 351 351 35...

output:

1.001535879298368

result:

ok found '1.001535879', expected '1.001535879', error '0.000000000'

Test #72:

score: 0
Accepted
time: 0ms
memory: 4448kb

input:

29192
858 858 858 858 858 858 858 858 858 858 858 858 858 858 858 858 858 858 858 858 858 858 858 858 858 858 858 858 858 858 858 858 858 858 858 858 858 858 858 858 858 858 858 858 858 858 858 858 858 858 858 858 858 858 858 858 858 858 858 858 858 858 858 858 858 858 858 858 858 858 858 858 858 85...

output:

1.001508178901673

result:

ok found '1.001508179', expected '1.001508179', error '0.000000000'

Test #73:

score: 0
Accepted
time: 1ms
memory: 4432kb

input:

30331
489 489 489 489 489 489 489 489 489 489 489 489 489 489 489 489 489 489 489 489 489 489 489 489 489 489 489 489 489 489 489 489 489 489 489 489 489 489 489 489 489 489 489 489 489 489 489 489 489 489 489 489 489 489 489 489 489 489 489 489 489 489 489 489 489 489 489 489 489 489 489 489 489 48...

output:

1.001460804766126

result:

ok found '1.001460805', expected '1.001460805', error '0.000000000'

Test #74:

score: 0
Accepted
time: 1ms
memory: 4528kb

input:

31690
503 503 503 503 503 503 503 503 503 503 503 503 503 503 503 503 503 503 503 503 503 503 503 503 503 503 503 503 503 503 503 503 503 503 503 503 503 503 503 503 503 503 503 503 503 503 503 503 503 503 503 503 503 503 503 503 503 503 503 503 503 503 503 503 503 503 503 503 503 503 503 503 503 50...

output:

1.001408498587841

result:

ok found '1.001408499', expected '1.001408499', error '0.000000000'

Test #75:

score: 0
Accepted
time: 0ms
memory: 4488kb

input:

32276
739 739 739 739 739 739 739 739 739 739 739 739 739 739 739 739 739 739 739 739 739 739 739 739 739 739 739 739 739 739 739 739 739 739 739 739 739 739 739 739 739 739 739 739 739 739 739 739 739 739 739 739 739 739 739 739 739 739 739 739 739 739 739 739 739 739 739 739 739 739 739 739 739 73...

output:

1.001386983277422

result:

ok found '1.001386983', expected '1.001386983', error '0.000000000'

Test #76:

score: 0
Accepted
time: 2ms
memory: 4596kb

input:

33301
25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 ...

output:

1.001351411308546

result:

ok found '1.001351411', expected '1.001351411', error '0.000000000'

Test #77:

score: 0
Accepted
time: 2ms
memory: 4560kb

input:

34886
488 488 488 488 488 488 488 488 488 488 488 488 488 488 488 488 488 488 488 488 488 488 488 488 488 488 488 488 488 488 488 488 488 488 488 488 488 488 488 488 488 488 488 488 488 488 488 488 488 488 488 488 488 488 488 488 488 488 488 488 488 488 488 488 488 488 488 488 488 488 488 488 488 48...

output:

1.001299881775345

result:

ok found '1.001299882', expected '1.001299882', error '0.000000000'

Test #78:

score: 0
Accepted
time: 2ms
memory: 4760kb

input:

35090
429 429 429 429 429 429 429 429 429 429 429 429 429 429 429 429 429 429 429 429 429 429 429 429 429 429 429 429 429 429 429 429 429 429 429 429 429 429 429 429 429 429 429 429 429 429 429 429 429 429 429 429 429 429 429 429 429 429 429 429 429 429 429 429 429 429 429 429 429 429 429 429 429 42...

output:

1.001293349009371

result:

ok found '1.001293349', expected '1.001293349', error '0.000000000'

Test #79:

score: 0
Accepted
time: 2ms
memory: 4644kb

input:

36240
941 941 941 941 941 941 941 941 941 941 941 941 941 941 941 941 941 941 941 941 941 941 941 941 941 941 941 941 941 941 941 941 941 941 941 941 941 941 941 941 941 941 941 941 941 941 941 941 941 941 941 941 941 941 941 941 941 941 941 941 941 941 941 941 941 941 941 941 941 941 941 941 941 94...

output:

1.001259100579417

result:

ok found '1.001259101', expected '1.001259101', error '0.000000000'

Test #80:

score: 0
Accepted
time: 0ms
memory: 4784kb

input:

37714
460 460 460 460 460 460 460 460 460 460 460 460 460 460 460 460 460 460 460 460 460 460 460 460 460 460 460 460 460 460 460 460 460 460 460 460 460 460 460 460 460 460 460 460 460 460 460 460 460 460 460 460 460 460 460 460 460 460 460 460 460 460 460 460 460 460 460 460 460 460 460 460 460 46...

output:

1.001217683572579

result:

ok found '1.001217684', expected '1.001217684', error '0.000000000'

Test #81:

score: 0
Accepted
time: 2ms
memory: 4636kb

input:

38382
44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 ...

output:

1.001200098920792

result:

ok found '1.001200099', expected '1.001200099', error '0.000000000'

Test #82:

score: 0
Accepted
time: 2ms
memory: 4656kb

input:

39087
881 881 881 881 881 881 881 881 881 881 881 881 881 881 881 881 881 881 881 881 881 881 881 881 881 881 881 881 881 881 881 881 881 881 881 881 881 881 881 881 881 881 881 881 881 881 881 881 881 881 881 881 881 881 881 881 881 881 881 881 881 881 881 881 881 881 881 881 881 881 881 881 881 88...

output:

1.001181849369269

result:

ok found '1.001181849', expected '1.001181849', error '0.000000000'

Test #83:

score: 0
Accepted
time: 2ms
memory: 4660kb

input:

40561
432 432 432 432 432 432 432 432 432 432 432 432 432 432 432 432 432 432 432 432 432 432 432 432 432 432 432 432 432 432 432 432 432 432 432 432 432 432 432 432 432 432 432 432 432 432 432 432 432 432 432 432 432 432 432 432 432 432 432 432 432 432 432 432 432 432 432 432 432 432 432 432 432 43...

output:

1.001145771380376

result:

ok found '1.001145771', expected '1.001145771', error '0.000000000'

Test #84:

score: 0
Accepted
time: 2ms
memory: 4664kb

input:

41644
910 910 910 910 910 910 910 910 910 910 910 910 910 910 910 910 910 910 910 910 910 910 910 910 910 910 910 910 910 910 910 910 910 910 910 910 910 910 910 910 910 910 910 910 910 910 910 910 910 910 910 910 910 910 910 910 910 910 910 910 910 910 910 910 910 910 910 910 910 910 910 910 910 91...

output:

1.001120767425577

result:

ok found '1.001120767', expected '1.001120767', error '0.000000000'

Test #85:

score: 0
Accepted
time: 0ms
memory: 4880kb

input:

42608
21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 ...

output:

1.001099467121770

result:

ok found '1.001099467', expected '1.001099467', error '0.000000000'

Test #86:

score: 0
Accepted
time: 0ms
memory: 4712kb

input:

43184
413 413 413 413 413 413 413 413 413 413 413 413 413 413 413 413 413 413 413 413 413 413 413 413 413 413 413 413 413 413 413 413 413 413 413 413 413 413 413 413 413 413 413 413 413 413 413 413 413 413 413 413 413 413 413 413 413 413 413 413 413 413 413 413 413 413 413 413 413 413 413 413 413 41...

output:

1.001087205142715

result:

ok found '1.001087205', expected '1.001087205', error '0.000000000'

Test #87:

score: 0
Accepted
time: 2ms
memory: 4676kb

input:

44765
419 419 419 419 419 419 419 419 419 419 419 419 419 419 419 419 419 419 419 419 419 419 419 419 419 419 419 419 419 419 419 419 419 419 419 419 419 419 419 419 419 419 419 419 419 419 419 419 419 419 419 419 419 419 419 419 419 419 419 419 419 419 419 419 419 419 419 419 419 419 419 419 419 41...

output:

1.001054883209769

result:

ok found '1.001054883', expected '1.001054883', error '0.000000000'

Test #88:

score: 0
Accepted
time: 2ms
memory: 4748kb

input:

45360
355 355 355 355 355 355 355 355 355 355 355 355 355 355 355 355 355 355 355 355 355 355 355 355 355 355 355 355 355 355 355 355 355 355 355 355 355 355 355 355 355 355 355 355 355 355 355 355 355 355 355 355 355 355 355 355 355 355 355 355 355 355 355 355 355 355 355 355 355 355 355 355 355 35...

output:

1.001043455525783

result:

ok found '1.001043456', expected '1.001043456', error '0.000000000'

Test #89:

score: 0
Accepted
time: 2ms
memory: 4720kb

input:

45627
978 978 978 978 978 978 978 978 978 978 978 978 978 978 978 978 978 978 978 978 978 978 978 978 978 978 978 978 978 978 978 978 978 978 978 978 978 978 978 978 978 978 978 978 978 978 978 978 978 978 978 978 978 978 978 978 978 978 978 978 978 978 978 978 978 978 978 978 978 978 978 978 978 97...

output:

1.001038115752272

result:

ok found '1.001038116', expected '1.001038116', error '0.000000000'

Test #90:

score: 0
Accepted
time: 2ms
memory: 4716kb

input:

46316
715 715 715 715 715 715 715 715 715 715 715 715 715 715 715 715 715 715 715 715 715 715 715 715 715 715 715 715 715 715 715 715 715 715 715 715 715 715 715 715 715 715 715 715 715 715 715 715 715 715 715 715 715 715 715 715 715 715 715 715 715 715 715 715 715 715 715 715 715 715 715 715 715 71...

output:

1.001025096605959

result:

ok found '1.001025097', expected '1.001025097', error '0.000000000'

Test #91:

score: 0
Accepted
time: 0ms
memory: 4692kb

input:

47921
235 235 235 235 235 235 235 235 235 235 235 235 235 235 235 235 235 235 235 235 235 235 235 235 235 235 235 235 235 235 235 235 235 235 235 235 235 235 235 235 235 235 235 235 235 235 235 235 235 235 235 235 235 235 235 235 235 235 235 235 235 235 235 235 235 235 235 235 235 235 235 235 235 23...

output:

1.000996300282158

result:

ok found '1.000996300', expected '1.000996300', error '0.000000000'

Test #92:

score: 0
Accepted
time: 0ms
memory: 4760kb

input:

48890
923 923 923 923 923 923 923 923 923 923 923 923 923 923 923 923 923 923 923 923 923 923 923 923 923 923 923 923 923 923 923 923 923 923 923 923 923 923 923 923 923 923 923 923 923 923 923 923 923 923 923 923 923 923 923 923 923 923 923 923 923 923 923 923 923 923 923 923 923 923 923 923 923 92...

output:

1.000979667454742

result:

ok found '1.000979667', expected '1.000979668', error '0.000000000'

Test #93:

score: 0
Accepted
time: 2ms
memory: 4688kb

input:

49614
746 746 746 746 746 746 746 746 746 746 746 746 746 746 746 746 746 746 746 746 746 746 746 746 746 746 746 746 746 746 746 746 746 746 746 746 746 746 746 746 746 746 746 746 746 746 746 746 746 746 746 746 746 746 746 746 746 746 746 746 746 746 746 746 746 746 746 746 746 746 746 746 746 74...

output:

1.000967705716072

result:

ok found '1.000967706', expected '1.000967706', error '0.000000000'

Test #94:

score: 0
Accepted
time: 2ms
memory: 4768kb

input:

50364
419 419 419 419 419 419 419 419 419 419 419 419 419 419 419 419 419 419 419 419 419 419 419 419 419 419 419 419 419 419 419 419 419 419 419 419 419 419 419 419 419 419 419 419 419 419 419 419 419 419 419 419 419 419 419 419 419 419 419 419 419 419 419 419 419 419 419 419 419 419 419 419 419 41...

output:

1.000955512807515

result:

ok found '1.000955513', expected '1.000955513', error '0.000000000'

Test #95:

score: 0
Accepted
time: 0ms
memory: 4636kb

input:

50400
886 886 886 886 886 886 886 886 886 886 886 886 886 886 886 886 886 886 886 886 886 886 886 886 886 886 886 886 886 886 886 886 886 886 886 886 886 886 886 886 886 886 886 886 886 886 886 886 886 886 886 886 886 886 886 886 886 886 886 886 886 886 886 886 886 886 886 886 886 886 886 886 886 88...

output:

1.000955201206519

result:

ok found '1.000955201', expected '1.000955201', error '0.000000000'

Test #96:

score: 0
Accepted
time: 2ms
memory: 4836kb

input:

51240
659 659 659 659 659 659 659 659 659 659 659 659 659 659 659 659 659 659 659 659 659 659 659 659 659 659 659 659 659 659 659 659 659 659 659 659 659 659 659 659 659 659 659 659 659 659 659 659 659 659 659 659 659 659 659 659 659 659 659 659 659 659 659 659 659 659 659 659 659 659 659 659 659 65...

output:

1.000941825228334

result:

ok found '1.000941825', expected '1.000941825', error '0.000000000'

Test #97:

score: 0
Accepted
time: 2ms
memory: 4752kb

input:

52805
697 697 697 697 697 697 697 697 697 697 697 697 697 697 697 697 697 697 697 697 697 697 697 697 697 697 697 697 697 697 697 697 697 697 697 697 697 697 697 697 697 697 697 697 697 697 697 697 697 697 697 697 697 697 697 697 697 697 697 697 697 697 697 697 697 697 697 697 697 697 697 697 697 69...

output:

1.000918296726846

result:

ok found '1.000918297', expected '1.000918297', error '0.000000000'

Test #98:

score: 0
Accepted
time: 2ms
memory: 4752kb

input:

53987
139 139 139 139 139 139 139 139 139 139 139 139 139 139 139 139 139 139 139 139 139 139 139 139 139 139 139 139 139 139 139 139 139 139 139 139 139 139 139 139 139 139 139 139 139 139 139 139 139 139 139 139 139 139 139 139 139 139 139 139 139 139 139 139 139 139 139 139 139 139 139 139 139 13...

output:

1.000901296352777

result:

ok found '1.000901296', expected '1.000901296', error '0.000000000'

Test #99:

score: 0
Accepted
time: 2ms
memory: 4852kb

input:

55004
964 964 964 964 964 964 964 964 964 964 964 964 964 964 964 964 964 964 964 964 964 964 964 964 964 964 964 964 964 964 964 964 964 964 964 964 964 964 964 964 964 964 964 964 964 964 964 964 964 964 964 964 964 964 964 964 964 964 964 964 964 964 964 964 964 964 964 964 964 964 964 964 964 96...

output:

1.000887329581970

result:

ok found '1.000887330', expected '1.000887330', error '0.000000000'

Test #100:

score: 0
Accepted
time: 2ms
memory: 4788kb

input:

55440
188 188 188 188 188 188 188 188 188 188 188 188 188 188 188 188 188 188 188 188 188 188 188 188 188 188 188 188 188 188 188 188 188 188 188 188 188 188 188 188 188 188 188 188 188 188 188 188 188 188 188 188 188 188 188 188 188 188 188 188 188 188 188 188 188 188 188 188 188 188 188 188 188 18...

output:

1.000881612830961

result:

ok found '1.000881613', expected '1.000881613', error '0.000000000'

Test #101:

score: 0
Accepted
time: 2ms
memory: 4752kb

input:

55657
829 829 829 829 829 829 829 829 829 829 829 829 829 829 829 829 829 829 829 829 829 829 829 829 829 829 829 829 829 829 829 829 829 829 829 829 829 829 829 829 829 829 829 829 829 829 829 829 829 829 829 829 829 829 829 829 829 829 829 829 829 829 829 829 829 829 829 829 829 829 829 829 829 82...

output:

1.000878508346466

result:

ok found '1.000878508', expected '1.000878508', error '0.000000000'

Test #102:

score: 0
Accepted
time: 0ms
memory: 4656kb

input:

56716
89 89 89 89 89 89 89 89 89 89 89 89 89 89 89 89 89 89 89 89 89 89 89 89 89 89 89 89 89 89 89 89 89 89 89 89 89 89 89 89 89 89 89 89 89 89 89 89 89 89 89 89 89 89 89 89 89 89 89 89 89 89 89 89 89 89 89 89 89 89 89 89 89 89 89 89 89 89 89 89 89 89 89 89 89 89 89 89 89 89 89 89 89 89 89 89 89 89 ...

output:

1.000864698775197

result:

ok found '1.000864699', expected '1.000864699', error '0.000000000'

Test #103:

score: 0
Accepted
time: 2ms
memory: 4684kb

input:

57514
65 65 65 65 65 65 65 65 65 65 65 65 65 65 65 65 65 65 65 65 65 65 65 65 65 65 65 65 65 65 65 65 65 65 65 65 65 65 65 65 65 65 65 65 65 65 65 65 65 65 65 65 65 65 65 65 65 65 65 65 65 65 65 65 65 65 65 65 65 65 65 65 65 65 65 65 65 65 65 65 65 65 65 65 65 65 65 65 65 65 65 65 65 65 65 65 65 65 ...

output:

1.000854595957462

result:

ok found '1.000854596', expected '1.000854596', error '0.000000000'

Test #104:

score: 0
Accepted
time: 2ms
memory: 4696kb

input:

58775
927 927 927 927 927 927 927 927 927 927 927 927 927 927 927 927 927 927 927 927 927 927 927 927 927 927 927 927 927 927 927 927 927 927 927 927 927 927 927 927 927 927 927 927 927 927 927 927 927 927 927 927 927 927 927 927 927 927 927 927 927 927 927 927 927 927 927 927 927 927 927 927 927 92...

output:

1.000839071868111

result:

ok found '1.000839072', expected '1.000839072', error '0.000000000'

Test #105:

score: 0
Accepted
time: 2ms
memory: 4836kb

input:

59389
388 388 388 388 388 388 388 388 388 388 388 388 388 388 388 388 388 388 388 388 388 388 388 388 388 388 388 388 388 388 388 388 388 388 388 388 388 388 388 388 388 388 388 388 388 388 388 388 388 388 388 388 388 388 388 388 388 388 388 388 388 388 388 388 388 388 388 388 388 388 388 388 388 38...

output:

1.000831795903999

result:

ok found '1.000831796', expected '1.000831796', error '0.000000000'

Test #106:

score: 0
Accepted
time: 0ms
memory: 4820kb

input:

60224
877 877 877 877 877 877 877 877 877 877 877 877 877 877 877 877 877 877 877 877 877 877 877 877 877 877 877 877 877 877 877 877 877 877 877 877 877 877 877 877 877 877 877 877 877 877 877 877 877 877 877 877 877 877 877 877 877 877 877 877 877 877 877 877 877 877 877 877 877 877 877 877 877 87...

output:

1.000822117118304

result:

ok found '1.000822117', expected '1.000822117', error '0.000000000'

Test #107:

score: 0
Accepted
time: 0ms
memory: 4780kb

input:

61791
252 252 252 252 252 252 252 252 252 252 252 252 252 252 252 252 252 252 252 252 252 252 252 252 252 252 252 252 252 252 252 252 252 252 252 252 252 252 252 252 252 252 252 252 252 252 252 252 252 252 252 252 252 252 252 252 252 252 252 252 252 252 252 252 252 252 252 252 252 252 252 252 252 25...

output:

1.000804498925382

result:

ok found '1.000804499', expected '1.000804499', error '0.000000000'

Test #108:

score: 0
Accepted
time: 3ms
memory: 4736kb

input:

62077
690 690 690 690 690 690 690 690 690 690 690 690 690 690 690 690 690 690 690 690 690 690 690 690 690 690 690 690 690 690 690 690 690 690 690 690 690 690 690 690 690 690 690 690 690 690 690 690 690 690 690 690 690 690 690 690 690 690 690 690 690 690 690 690 690 690 690 690 690 690 690 690 690 69...

output:

1.000801329808730

result:

ok found '1.000801330', expected '1.000801330', error '0.000000000'

Test #109:

score: 0
Accepted
time: 3ms
memory: 5260kb

input:

63703
716 716 716 716 716 716 716 716 716 716 716 716 716 716 716 716 716 716 716 716 716 716 716 716 716 716 716 716 716 716 716 716 716 716 716 716 716 716 716 716 716 716 716 716 716 716 716 716 716 716 716 716 716 716 716 716 716 716 716 716 716 716 716 716 716 716 716 716 716 716 716 716 716 71...

output:

1.000784042439609

result:

ok found '1.000784042', expected '1.000784042', error '0.000000000'

Test #110:

score: 0
Accepted
time: 3ms
memory: 5168kb

input:

64563
18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 ...

output:

1.000775257581233

result:

ok found '1.000775258', expected '1.000775258', error '0.000000000'

Test #111:

score: 0
Accepted
time: 0ms
memory: 4892kb

input:

65659
100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 10...

output:

1.000764268725951

result:

ok found '1.000764269', expected '1.000764269', error '0.000000000'

Test #112:

score: 0
Accepted
time: 0ms
memory: 4952kb

input:

66969
200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 20...

output:

1.000751648613958

result:

ok found '1.000751649', expected '1.000751649', error '0.000000000'

Test #113:

score: 0
Accepted
time: 0ms
memory: 4948kb

input:

67577
882 882 882 882 882 882 882 882 882 882 882 882 882 882 882 882 882 882 882 882 882 882 882 882 882 882 882 882 882 882 882 882 882 882 882 882 882 882 882 882 882 882 882 882 882 882 882 882 882 882 882 882 882 882 882 882 882 882 882 882 882 882 882 882 882 882 882 882 882 882 882 882 882 88...

output:

1.000745925153048

result:

ok found '1.000745925', expected '1.000745925', error '0.000000000'

Test #114:

score: 0
Accepted
time: 3ms
memory: 4948kb

input:

68153
822 822 822 822 822 822 822 822 822 822 822 822 822 822 822 822 822 822 822 822 822 822 822 822 822 822 822 822 822 822 822 822 822 822 822 822 822 822 822 822 822 822 822 822 822 822 822 822 822 822 822 822 822 822 822 822 822 822 822 822 822 822 822 822 822 822 822 822 822 822 822 822 822 82...

output:

1.000740645786820

result:

ok found '1.000740646', expected '1.000740646', error '0.000000000'

Test #115:

score: 0
Accepted
time: 3ms
memory: 4920kb

input:

69858
706 706 706 706 706 706 706 706 706 706 706 706 706 706 706 706 706 706 706 706 706 706 706 706 706 706 706 706 706 706 706 706 706 706 706 706 706 706 706 706 706 706 706 706 706 706 706 706 706 706 706 706 706 706 706 706 706 706 706 706 706 706 706 706 706 706 706 706 706 706 706 706 706 70...

output:

1.000725344089315

result:

ok found '1.000725344', expected '1.000725344', error '0.000000000'

Test #116:

score: 0
Accepted
time: 3ms
memory: 5072kb

input:

70303
996 996 996 996 996 996 996 996 996 996 996 996 996 996 996 996 996 996 996 996 996 996 996 996 996 996 996 996 996 996 996 996 996 996 996 996 996 996 996 996 996 996 996 996 996 996 996 996 996 996 996 996 996 996 996 996 996 996 996 996 996 996 996 996 996 996 996 996 996 996 996 996 996 99...

output:

1.000721490767558

result:

ok found '1.000721491', expected '1.000721491', error '0.000000000'

Test #117:

score: 0
Accepted
time: 3ms
memory: 4932kb

input:

71408
355 355 355 355 355 355 355 355 355 355 355 355 355 355 355 355 355 355 355 355 355 355 355 355 355 355 355 355 355 355 355 355 355 355 355 355 355 355 355 355 355 355 355 355 355 355 355 355 355 355 355 355 355 355 355 355 355 355 355 355 355 355 355 355 355 355 355 355 355 355 355 355 355 35...

output:

1.000712082700469

result:

ok found '1.000712083', expected '1.000712083', error '0.000000000'

Test #118:

score: 0
Accepted
time: 3ms
memory: 5040kb

input:

72559
786 786 786 786 786 786 786 786 786 786 786 786 786 786 786 786 786 786 786 786 786 786 786 786 786 786 786 786 786 786 786 786 786 786 786 786 786 786 786 786 786 786 786 786 786 786 786 786 786 786 786 786 786 786 786 786 786 786 786 786 786 786 786 786 786 786 786 786 786 786 786 786 786 78...

output:

1.000702513588192

result:

ok found '1.000702514', expected '1.000702514', error '0.000000000'

Test #119:

score: 0
Accepted
time: 0ms
memory: 4972kb

input:

73310
949 949 949 949 949 949 949 949 949 949 949 949 949 949 949 949 949 949 949 949 949 949 949 949 949 949 949 949 949 949 949 949 949 949 949 949 949 949 949 949 949 949 949 949 949 949 949 949 949 949 949 949 949 949 949 949 949 949 949 949 949 949 949 949 949 949 949 949 949 949 949 949 949 94...

output:

1.000696416216406

result:

ok found '1.000696416', expected '1.000696416', error '0.000000000'

Test #120:

score: 0
Accepted
time: 3ms
memory: 4988kb

input:

74111
787 787 787 787 787 787 787 787 787 787 787 787 787 787 787 787 787 787 787 787 787 787 787 787 787 787 787 787 787 787 787 787 787 787 787 787 787 787 787 787 787 787 787 787 787 787 787 787 787 787 787 787 787 787 787 787 787 787 787 787 787 787 787 787 787 787 787 787 787 787 787 787 787 78...

output:

1.000690068478822

result:

ok found '1.000690068', expected '1.000690068', error '0.000000000'

Test #121:

score: 0
Accepted
time: 3ms
memory: 4944kb

input:

75837
118 118 118 118 118 118 118 118 118 118 118 118 118 118 118 118 118 118 118 118 118 118 118 118 118 118 118 118 118 118 118 118 118 118 118 118 118 118 118 118 118 118 118 118 118 118 118 118 118 118 118 118 118 118 118 118 118 118 118 118 118 118 118 118 118 118 118 118 118 118 118 118 118 11...

output:

1.000676717912404

result:

ok found '1.000676718', expected '1.000676718', error '0.000000000'

Test #122:

score: 0
Accepted
time: 3ms
memory: 4820kb

input:

76433
513 513 513 513 513 513 513 513 513 513 513 513 513 513 513 513 513 513 513 513 513 513 513 513 513 513 513 513 513 513 513 513 513 513 513 513 513 513 513 513 513 513 513 513 513 513 513 513 513 513 513 513 513 513 513 513 513 513 513 513 513 513 513 513 513 513 513 513 513 513 513 513 513 51...

output:

1.000672243823237

result:

ok found '1.000672244', expected '1.000672244', error '0.000000000'

Test #123:

score: 0
Accepted
time: 3ms
memory: 4896kb

input:

77087
111 111 111 111 111 111 111 111 111 111 111 111 111 111 111 111 111 111 111 111 111 111 111 111 111 111 111 111 111 111 111 111 111 111 111 111 111 111 111 111 111 111 111 111 111 111 111 111 111 111 111 111 111 111 111 111 111 111 111 111 111 111 111 111 111 111 111 111 111 111 111 111 111 11...

output:

1.000667421315736

result:

ok found '1.000667421', expected '1.000667421', error '0.000000000'

Test #124:

score: 0
Accepted
time: 0ms
memory: 5004kb

input:

78785
447 447 447 447 447 447 447 447 447 447 447 447 447 447 447 447 447 447 447 447 447 447 447 447 447 447 447 447 447 447 447 447 447 447 447 447 447 447 447 447 447 447 447 447 447 447 447 447 447 447 447 447 447 447 447 447 447 447 447 447 447 447 447 447 447 447 447 447 447 447 447 447 447 44...

output:

1.000655292610700

result:

ok found '1.000655293', expected '1.000655293', error '0.000000000'

Test #125:

score: 0
Accepted
time: 3ms
memory: 4932kb

input:

79560
895 895 895 895 895 895 895 895 895 895 895 895 895 895 895 895 895 895 895 895 895 895 895 895 895 895 895 895 895 895 895 895 895 895 895 895 895 895 895 895 895 895 895 895 895 895 895 895 895 895 895 895 895 895 895 895 895 895 895 895 895 895 895 895 895 895 895 895 895 895 895 895 895 89...

output:

1.000649961466190

result:

ok found '1.000649961', expected '1.000649961', error '0.000000000'

Test #126:

score: 0
Accepted
time: 3ms
memory: 5008kb

input:

80084
879 879 879 879 879 879 879 879 879 879 879 879 879 879 879 879 879 879 879 879 879 879 879 879 879 879 879 879 879 879 879 879 879 879 879 879 879 879 879 879 879 879 879 879 879 879 879 879 879 879 879 879 879 879 879 879 879 879 879 879 879 879 879 879 879 879 879 879 879 879 879 879 879 87...

output:

1.000646325268235

result:

ok found '1.000646325', expected '1.000646325', error '0.000000000'

Test #127:

score: 0
Accepted
time: 0ms
memory: 4848kb

input:

81225
136 136 136 136 136 136 136 136 136 136 136 136 136 136 136 136 136 136 136 136 136 136 136 136 136 136 136 136 136 136 136 136 136 136 136 136 136 136 136 136 136 136 136 136 136 136 136 136 136 136 136 136 136 136 136 136 136 136 136 136 136 136 136 136 136 136 136 136 136 136 136 136 136 13...

output:

1.000638622302249

result:

ok found '1.000638622', expected '1.000638622', error '0.000000000'

Test #128:

score: 0
Accepted
time: 3ms
memory: 4900kb

input:

82523
924 924 924 924 924 924 924 924 924 924 924 924 924 924 924 924 924 924 924 924 924 924 924 924 924 924 924 924 924 924 924 924 924 924 924 924 924 924 924 924 924 924 924 924 924 924 924 924 924 924 924 924 924 924 924 924 924 924 924 924 924 924 924 924 924 924 924 924 924 924 924 924 924 92...

output:

1.000630057598787

result:

ok found '1.000630058', expected '1.000630058', error '0.000000000'

Test #129:

score: 0
Accepted
time: 3ms
memory: 4908kb

input:

83012
293 293 293 293 293 293 293 293 293 293 293 293 293 293 293 293 293 293 293 293 293 293 293 293 293 293 293 293 293 293 293 293 293 293 293 293 293 293 293 293 293 293 293 293 293 293 293 293 293 293 293 293 293 293 293 293 293 293 293 293 293 293 293 293 293 293 293 293 293 293 293 293 293 29...

output:

1.000626934748387

result:

ok found '1.000626935', expected '1.000626935', error '0.000000000'

Test #130:

score: 0
Accepted
time: 3ms
memory: 4892kb

input:

83160
569 569 569 569 569 569 569 569 569 569 569 569 569 569 569 569 569 569 569 569 569 569 569 569 569 569 569 569 569 569 569 569 569 569 569 569 569 569 569 569 569 569 569 569 569 569 569 569 569 569 569 569 569 569 569 569 569 569 569 569 569 569 569 569 569 569 569 569 569 569 569 569 569 56...

output:

1.000626076813856

result:

ok found '1.000626077', expected '1.000626077', error '0.000000000'

Test #131:

score: 0
Accepted
time: 3ms
memory: 4876kb

input:

84059
143 143 143 143 143 143 143 143 143 143 143 143 143 143 143 143 143 143 143 143 143 143 143 143 143 143 143 143 143 143 143 143 143 143 143 143 143 143 143 143 143 143 143 143 143 143 143 143 143 143 143 143 143 143 143 143 143 143 143 143 143 143 143 143 143 143 143 143 143 143 143 143 143 14...

output:

1.000620312157710

result:

ok found '1.000620312', expected '1.000620312', error '0.000000000'

Test #132:

score: 0
Accepted
time: 0ms
memory: 5600kb

input:

85054
371 371 371 371 371 371 371 371 371 371 371 371 371 371 371 371 371 371 371 371 371 371 371 371 371 371 371 371 371 371 371 371 371 371 371 371 371 371 371 371 371 371 371 371 371 371 371 371 371 371 371 371 371 371 371 371 371 371 371 371 371 371 371 371 371 371 371 371 371 371 371 371 371 37...

output:

1.000614180314249

result:

ok found '1.000614180', expected '1.000614180', error '0.000000000'

Test #133:

score: 0
Accepted
time: 3ms
memory: 5240kb

input:

86683
744 744 744 744 744 744 744 744 744 744 744 744 744 744 744 744 744 744 744 744 744 744 744 744 744 744 744 744 744 744 744 744 744 744 744 744 744 744 744 744 744 744 744 744 744 744 744 744 744 744 744 744 744 744 744 744 744 744 744 744 744 744 744 744 744 744 744 744 744 744 744 744 744 74...

output:

1.000604367401491

result:

ok found '1.000604367', expected '1.000604367', error '0.000000000'

Test #134:

score: 0
Accepted
time: 0ms
memory: 5404kb

input:

87912
152 152 152 152 152 152 152 152 152 152 152 152 152 152 152 152 152 152 152 152 152 152 152 152 152 152 152 152 152 152 152 152 152 152 152 152 152 152 152 152 152 152 152 152 152 152 152 152 152 152 152 152 152 152 152 152 152 152 152 152 152 152 152 152 152 152 152 152 152 152 152 152 152 15...

output:

1.000597289076878

result:

ok found '1.000597289', expected '1.000597289', error '0.000000000'

Test #135:

score: 0
Accepted
time: 0ms
memory: 5440kb

input:

88145
352 352 352 352 352 352 352 352 352 352 352 352 352 352 352 352 352 352 352 352 352 352 352 352 352 352 352 352 352 352 352 352 352 352 352 352 352 352 352 352 352 352 352 352 352 352 352 352 352 352 352 352 352 352 352 352 352 352 352 352 352 352 352 352 352 352 352 352 352 352 352 352 352 35...

output:

1.000595892146889

result:

ok found '1.000595892', expected '1.000595892', error '0.000000000'

Test #136:

score: 0
Accepted
time: 3ms
memory: 5444kb

input:

89610
355 355 355 355 355 355 355 355 355 355 355 355 355 355 355 355 355 355 355 355 355 355 355 355 355 355 355 355 355 355 355 355 355 355 355 355 355 355 355 355 355 355 355 355 355 355 355 355 355 355 355 355 355 355 355 355 355 355 355 355 355 355 355 355 355 355 355 355 355 355 355 355 355 35...

output:

1.000587635268392

result:

ok found '1.000587635', expected '1.000587635', error '0.000000000'

Test #137:

score: 0
Accepted
time: 3ms
memory: 5288kb

input:

90942
570 570 570 570 570 570 570 570 570 570 570 570 570 570 570 570 570 570 570 570 570 570 570 570 570 570 570 570 570 570 570 570 570 570 570 570 570 570 570 570 570 570 570 570 570 570 570 570 570 570 570 570 570 570 570 570 570 570 570 570 570 570 570 570 570 570 570 570 570 570 570 570 570 57...

output:

1.000580297638109

result:

ok found '1.000580298', expected '1.000580298', error '0.000000000'

Test #138:

score: 0
Accepted
time: 4ms
memory: 5252kb

input:

91920
602 602 602 602 602 602 602 602 602 602 602 602 602 602 602 602 602 602 602 602 602 602 602 602 602 602 602 602 602 602 602 602 602 602 602 602 602 602 602 602 602 602 602 602 602 602 602 602 602 602 602 602 602 602 602 602 602 602 602 602 602 602 602 602 602 602 602 602 602 602 602 602 602 60...

output:

1.000575102246159

result:

ok found '1.000575102', expected '1.000575102', error '0.000000000'

Test #139:

score: 0
Accepted
time: 0ms
memory: 5440kb

input:

92456
996 996 996 996 996 996 996 996 996 996 996 996 996 996 996 996 996 996 996 996 996 996 996 996 996 996 996 996 996 996 996 996 996 996 996 996 996 996 996 996 996 996 996 996 996 996 996 996 996 996 996 996 996 996 996 996 996 996 996 996 996 996 996 996 996 996 996 996 996 996 996 996 996 99...

output:

1.000572298384150

result:

ok found '1.000572298', expected '1.000572298', error '0.000000000'

Test #140:

score: 0
Accepted
time: 3ms
memory: 5300kb

input:

93343
120 120 120 120 120 120 120 120 120 120 120 120 120 120 120 120 120 120 120 120 120 120 120 120 120 120 120 120 120 120 120 120 120 120 120 120 120 120 120 120 120 120 120 120 120 120 120 120 120 120 120 120 120 120 120 120 120 120 120 120 120 120 120 120 120 120 120 120 120 120 120 120 120 12...

output:

1.000567656563179

result:

ok found '1.000567657', expected '1.000567657', error '0.000000000'

Test #141:

score: 0
Accepted
time: 3ms
memory: 5320kb

input:

94688
74 74 74 74 74 74 74 74 74 74 74 74 74 74 74 74 74 74 74 74 74 74 74 74 74 74 74 74 74 74 74 74 74 74 74 74 74 74 74 74 74 74 74 74 74 74 74 74 74 74 74 74 74 74 74 74 74 74 74 74 74 74 74 74 74 74 74 74 74 74 74 74 74 74 74 74 74 74 74 74 74 74 74 74 74 74 74 74 74 74 74 74 74 74 74 74 74 74 ...

output:

1.000560802415956

result:

ok found '1.000560802', expected '1.000560802', error '0.000000000'

Test #142:

score: 0
Accepted
time: 4ms
memory: 5468kb

input:

95837
215 215 215 215 215 215 215 215 215 215 215 215 215 215 215 215 215 215 215 215 215 215 215 215 215 215 215 215 215 215 215 215 215 215 215 215 215 215 215 215 215 215 215 215 215 215 215 215 215 215 215 215 215 215 215 215 215 215 215 215 215 215 215 215 215 215 215 215 215 215 215 215 215 21...

output:

1.000555107758428

result:

ok found '1.000555108', expected '1.000555108', error '0.000000000'

Test #143:

score: 0
Accepted
time: 2ms
memory: 5392kb

input:

96541
769 769 769 769 769 769 769 769 769 769 769 769 769 769 769 769 769 769 769 769 769 769 769 769 769 769 769 769 769 769 769 769 769 769 769 769 769 769 769 769 769 769 769 769 769 769 769 769 769 769 769 769 769 769 769 769 769 769 769 769 769 769 769 769 769 769 769 769 769 769 769 769 769 76...

output:

1.000551661957632

result:

ok found '1.000551662', expected '1.000551662', error '0.000000000'

Test #144:

score: 0
Accepted
time: 4ms
memory: 5240kb

input:

97986
613 613 613 613 613 613 613 613 613 613 613 613 613 613 613 613 613 613 613 613 613 613 613 613 613 613 613 613 613 613 613 613 613 613 613 613 613 613 613 613 613 613 613 613 613 613 613 613 613 613 613 613 613 613 613 613 613 613 613 613 613 613 613 613 613 613 613 613 613 613 613 613 613 61...

output:

1.000544768116310

result:

ok found '1.000544768', expected '1.000544768', error '0.000000000'

Test #145:

score: 0
Accepted
time: 4ms
memory: 5232kb

input:

98979
797 797 797 797 797 797 797 797 797 797 797 797 797 797 797 797 797 797 797 797 797 797 797 797 797 797 797 797 797 797 797 797 797 797 797 797 797 797 797 797 797 797 797 797 797 797 797 797 797 797 797 797 797 797 797 797 797 797 797 797 797 797 797 797 797 797 797 797 797 797 797 797 797 79...

output:

1.000540094642068

result:

ok found '1.000540095', expected '1.000540095', error '0.000000000'

Test #146:

score: 0
Accepted
time: 3ms
memory: 5244kb

input:

99873
93 93 93 93 93 93 93 93 93 93 93 93 93 93 93 93 93 93 93 93 93 93 93 93 93 93 93 93 93 93 93 93 93 93 93 93 93 93 93 93 93 93 93 93 93 93 93 93 93 93 93 93 93 93 93 93 93 93 93 93 93 93 93 93 93 93 93 93 93 93 93 93 93 93 93 93 93 93 93 93 93 93 93 93 93 93 93 93 93 93 93 93 93 93 93 93 93 93 ...

output:

1.000536005850234

result:

ok found '1.000536006', expected '1.000536006', error '0.000000000'

Test #147:

score: 0
Accepted
time: 4ms
memory: 5072kb

input:

100000
210 210 210 210 210 210 210 210 210 210 210 210 210 210 210 210 210 210 210 210 210 210 210 210 210 210 210 210 210 210 210 210 210 210 210 210 210 210 210 210 210 210 210 210 210 210 210 210 210 210 210 210 210 210 210 210 210 210 210 210 210 210 210 210 210 210 210 210 210 210 210 210 210 2...

output:

1.000535452010028

result:

ok found '1.000535452', expected '1.000535452', error '0.000000000'

Test #148:

score: 0
Accepted
time: 1ms
memory: 4224kb

input:

100
1000 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1

output:

22.450709329775826

result:

ok found '22.450709330', expected '22.450709330', error '0.000000000'

Test #149:

score: 0
Accepted
time: 0ms
memory: 5120kb

input:

100000
1000 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 ...

output:

1.020520801176500

result:

ok found '1.020520801', expected '1.020520801', error '0.000000000'

Test #150:

score: 0
Accepted
time: 1ms
memory: 4372kb

input:

588
1 1000 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1...

output:

3.897701417595299

result:

ok found '3.897701418', expected '3.897701418', error '0.000000000'

Test #151:

score: 0
Accepted
time: 3ms
memory: 5184kb

input:

99991
1 1000 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1...

output:

1.015550052028330

result:

ok found '1.015550052', expected '1.015550052', error '0.000000000'

Test #152:

score: 0
Accepted
time: 1ms
memory: 4148kb

input:

589
1000 1000 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 ...

output:

6.965333448882744

result:

ok found '6.965333449', expected '6.965333449', error '0.000000000'

Test #153:

score: 0
Accepted
time: 0ms
memory: 5340kb

input:

99990
1000 1000 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 ...

output:

1.035488521780497

result:

ok found '1.035488522', expected '1.035488522', error '0.000000000'

Extra Test:

score: 0
Extra Test Passed