QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#267946 | #4923. 整数 | cmk666 | 100 ✓ | 4ms | 4164kb | C++23 | 7.9kb | 2023-11-27 21:30:22 | 2023-11-27 21:30:22 |
Judging History
answer
/*
* @Author: cmk666
* @Created time: 2023-11-27 21:11:21
* @Last Modified time: 2023-11-27 21:30:10
*/
#pragma GCC optimize("Ofast", "unroll-loops")
#include<bits/stdc++.h>
#ifdef LOCAL
#include"debug.h"
#else
#define D(...) ((void)0)
#endif
using namespace std; using ll = long long;
#define For(i, j, k) for ( int i = (j) ; i <= (k) ; i++ )
#define Fol(i, j, k) for ( int i = (j) ; i >= (k) ; i-- )
/*namespace FastIO
{
// ------------------------------
// #define IN_HAS_NEG
// #define OUT_HAS_NEG
// #define CHK_EOF
// #define DISABLE_MMAP
// ------------------------------
#if __cplusplus < 201400
#error Please use C++14 or higher.
#endif
#if __cplusplus > 201700
#define INLINE_V inline
#else
#define INLINE_V
#endif
#if ( defined(LOCAL) || defined(_WIN32) ) && !defined(DISABLE_MMAP)
#define DISABLE_MMAP
#endif
#ifndef DISABLE_MMAP
#include<sys/mman.h>
#endif
#ifdef LOCAL
inline char gc() { return getchar(); }
inline void pc(char c) { putchar(c); }
#else
#ifdef DISABLE_MMAP
INLINE_V constexpr int _READ_SIZE = 1 << 18;
INLINE_V static char _read_buffer[_READ_SIZE], *_read_ptr = nullptr, *_read_ptr_end = nullptr;
inline char gc()
{
if ( __builtin_expect(_read_ptr == _read_ptr_end, false) )
{
_read_ptr = _read_buffer;
_read_ptr_end = _read_buffer + fread(_read_buffer, 1, _READ_SIZE, stdin);
#ifdef CHK_EOF
if ( __builtin_expect(_read_ptr == _read_ptr_end, false) ) return EOF;
#endif
}
return *_read_ptr++;
}
#else
INLINE_V static const char *_read_ptr = (const char *)mmap(nullptr, INT_MAX, 1, 2, 0, 0);
inline char gc() { return *_read_ptr++; }
#endif
INLINE_V constexpr int _WRITE_SIZE = 1 << 18;
INLINE_V static char _write_buffer[_WRITE_SIZE], *_write_ptr = _write_buffer;
inline void pc(char c)
{
*_write_ptr++ = c;
if ( __builtin_expect(_write_buffer + _WRITE_SIZE == _write_ptr, false) )
{
fwrite(_write_buffer, 1, _write_ptr - _write_buffer, stdout);
_write_ptr = _write_buffer;
}
}
INLINE_V struct _auto_flush
{
inline ~_auto_flush() { fwrite(_write_buffer, 1, _write_ptr - _write_buffer, stdout); }
} _auto_flush;
#endif
#ifdef CHK_EOF
inline constexpr bool _isdigit(char c) { return ( c & 16 ) && c != EOF; }
inline constexpr bool _isgraph(char c) { return c > 32 && c != EOF; }
#else
inline constexpr bool _isdigit(char c) { return c & 16; }
inline constexpr bool _isgraph(char c) { return c > 32; }
#endif
template < class T >
INLINE_V constexpr bool _is_integer = numeric_limits < T >::is_integer;
template < class T >
INLINE_V constexpr bool _is_signed = numeric_limits < T >::is_signed;
template < class T >
INLINE_V constexpr bool _is_unsigned = _is_integer < T > && !_is_signed < T >;
template <> INLINE_V constexpr bool _is_integer < __int128 > = true;
template <> INLINE_V constexpr bool _is_integer < __uint128_t > = true;
template <> INLINE_V constexpr bool _is_signed < __int128 > = true;
template <> INLINE_V constexpr bool _is_unsigned < __uint128_t > = true;
#undef INLINE_V
inline void read(char &c) { do c = gc(); while ( !_isgraph(c) ); }
inline void read_cstr(char *s)
{
char c = gc(); while ( !_isgraph(c) ) c = gc();
while ( _isgraph(c) ) *s++ = c, c = gc();
*s = 0;
}
inline void read(string &s)
{
char c = gc(); s.clear(); while ( !_isgraph(c) ) c = gc();
while ( _isgraph(c) ) s.push_back(c), c = gc();
}
#ifdef IN_HAS_NEG
template < class T, enable_if_t < _is_signed < T >, int > = 0 >
inline void read(T &x)
{
char c = gc(); bool f = true; x = 0;
while ( !_isdigit(c) ) { if ( c == 45 ) f = false; c = gc(); }
if ( f ) while ( _isdigit(c) ) x = x * 10 + ( c & 15 ), c = gc();
else while ( _isdigit(c) ) x = x * 10 - ( c & 15 ), c = gc();
}
template < class T, enable_if_t < _is_unsigned < T >, int > = 0 >
#else
template < class T, enable_if_t < _is_integer < T >, int > = 0 >
#endif
inline void read(T &x)
{
char c = gc(); while ( !_isdigit(c) ) c = gc();
x = 0; while ( _isdigit(c) ) x = x * 10 + ( c & 15 ), c = gc();
}
inline void write(char c) { pc(c); }
inline void write_cstr(const char *s) { while ( *s ) pc(*s++); }
inline void write(const string &s) { for ( char c : s ) pc(c); }
#ifdef OUT_HAS_NEG
template < class T, enable_if_t < _is_signed < T >, int > = 0 >
inline void write(T x)
{
char buffer[numeric_limits < T >::digits10 + 1]; int digits = 0;
if ( x >= 0 ) do buffer[digits++] = ( x % 10 ) | 48, x /= 10; while ( x );
else { pc(45); do buffer[digits++] = -( x % 10 ) | 48, x /= 10; while ( x ); }
while ( digits ) pc(buffer[--digits]);
}
template < class T, enable_if_t < _is_unsigned < T >, int > = 0 >
#else
template < class T, enable_if_t < _is_integer < T >, int > = 0 >
#endif
inline void write(T x)
{
char buffer[numeric_limits < T >::digits10 + 1]; int digits = 0;
do buffer[digits++] = ( x % 10 ) | 48, x /= 10; while ( x );
while ( digits ) pc(buffer[--digits]);
}
template < int N > struct _tuple_io_helper
{
template < class ...T >
static inline void _read(tuple < T... > &x)
{ _tuple_io_helper < N - 1 >::_read(x), read(get < N - 1 > (x)); }
template < class ...T >
static inline void _write(const tuple < T... > &x)
{ _tuple_io_helper < N - 1 >::_write(x), pc(32), write(get < N - 1 > (x)); }
};
template <> struct _tuple_io_helper < 1 >
{
template < class ...T >
static inline void _read(tuple < T... > &x) { read(get < 0 > (x)); }
template < class ...T >
static inline void _write(const tuple < T... > &x) { write(get < 0 > (x)); }
};
template < class ...T >
inline void read(tuple < T... > &x) { _tuple_io_helper < sizeof...(T) >::_read(x); }
template < class ...T >
inline void write(const tuple < T... > &x) { _tuple_io_helper < sizeof...(T) >::_write(x); }
template < class T1, class T2 >
inline void read(pair < T1, T2 > &x) { read(x.first), read(x.second); }
template < class T1, class T2 >
inline void write(const pair < T1, T2 > &x) { write(x.first), pc(32), write(x.second); }
template < class T1, class ...T2 >
inline void read(T1 &x, T2 &...y) { read(x), read(y...); }
template < class ...T >
inline void read_cstr(char *x, T *...y) { read_cstr(x), read_cstr(y...); }
template < class T1, class ...T2 >
inline void write(const T1 &x, const T2 &...y) { write(x), write(y...); }
template < class ...T >
inline void write_cstr(const char *x, const T *...y) { write_cstr(x), write_cstr(y...); }
template < class T >
inline void print(const T &x) { write(x); }
inline void print_cstr(const char *x) { write_cstr(x); }
template < class T1, class ...T2 >
inline void print(const T1 &x, const T2 &...y) { print(x), pc(32), print(y...); }
template < class ...T >
inline void print_cstr(const char *x, const T *...y) { print_cstr(x), pc(32), print_cstr(y...); }
inline void println() { pc(10); }
inline void println_cstr() { pc(10); }
template < class ...T >
inline void println(const T &...x) { print(x...), pc(10); }
template < class ...T >
inline void println_cstr(const T *...x) { print_cstr(x...), pc(10); }
}
using namespace FastIO;*/
#include"integer.h"
mt19937 rnd(chrono::system_clock::now().time_since_epoch().count());
vector < int > findPermutation(int n)
{
vector < int > ret(n), cur, nxt(n), used(n, -1); int t = -1, cnt, lst = n, nw, p0 = -1;
For(i, 0, n - 1) operate(i);
iota(nxt.begin(), nxt.end(), 0), shuffle(nxt.begin(), nxt.end(), rnd);
while ( nxt.size() )
{
cnt = __builtin_ctz(~++t) + n, cur = nxt, nxt.clear();
for ( int i : cur )
{
used[i] = t;
if ( ( nw = operate(i) ) == lst + 1 ) nxt.push_back(i);
else if ( !( ret[i] = cnt -= lst - nw + 1 ) ) assert(!~p0), p0 = i;
lst = nw;
}
For(i, 0, n - 1) if ( used[i] != t ) operate(i);
assert(~p0), lst = operate(p0);
}
return ret;
}
// 想上GM捏 想上GM捏 想上GM捏 想上GM捏 想上GM捏
// 伊娜可爱捏 伊娜贴贴捏
Details
Tip: Click on the bar to expand more detailed information
Subtask #1:
score: 5
Accepted
Test #1:
score: 5
Accepted
time: 1ms
memory: 4060kb
input:
1 0
output:
68F82AC1898AF4BFACDCBB49543233A61773093A OK Passed using 3 operation(s): scoring 1.000 1.0000000000
result:
ok Passed using 3 operation(s): scoring 1.000
Test #2:
score: 5
Accepted
time: 0ms
memory: 3924kb
input:
3 0 2 1
output:
68F82AC1898AF4BFACDCBB49543233A61773093A OK Passed using 7 operation(s): scoring 1.000 1.0000000000
result:
ok Passed using 7 operation(s): scoring 1.000
Test #3:
score: 5
Accepted
time: 0ms
memory: 4060kb
input:
3 0 2 1
output:
68F82AC1898AF4BFACDCBB49543233A61773093A OK Passed using 11 operation(s): scoring 1.000 1.0000000000
result:
ok Passed using 11 operation(s): scoring 1.000
Test #4:
score: 5
Accepted
time: 0ms
memory: 3828kb
input:
10 0 2 8 9 1 5 6 3 4 7
output:
68F82AC1898AF4BFACDCBB49543233A61773093A OK Passed using 54 operation(s): scoring 1.000 1.0000000000
result:
ok Passed using 54 operation(s): scoring 1.000
Test #5:
score: 5
Accepted
time: 0ms
memory: 3916kb
input:
10 1 8 3 2 6 0 7 9 5 4
output:
68F82AC1898AF4BFACDCBB49543233A61773093A OK Passed using 54 operation(s): scoring 1.000 1.0000000000
result:
ok Passed using 54 operation(s): scoring 1.000
Test #6:
score: 5
Accepted
time: 0ms
memory: 3920kb
input:
10 9 7 0 8 3 5 2 6 1 4
output:
68F82AC1898AF4BFACDCBB49543233A61773093A OK Passed using 54 operation(s): scoring 1.000 1.0000000000
result:
ok Passed using 54 operation(s): scoring 1.000
Test #7:
score: 5
Accepted
time: 0ms
memory: 3916kb
input:
10 0 1 2 3 4 5 6 7 8 9
output:
68F82AC1898AF4BFACDCBB49543233A61773093A OK Passed using 54 operation(s): scoring 1.000 1.0000000000
result:
ok Passed using 54 operation(s): scoring 1.000
Test #8:
score: 5
Accepted
time: 0ms
memory: 3992kb
input:
10 9 8 7 6 5 4 3 2 1 0
output:
68F82AC1898AF4BFACDCBB49543233A61773093A OK Passed using 76 operation(s): scoring 1.000 1.0000000000
result:
ok Passed using 76 operation(s): scoring 1.000
Test #9:
score: 5
Accepted
time: 1ms
memory: 3940kb
input:
2 0 1
output:
68F82AC1898AF4BFACDCBB49543233A61773093A OK Passed using 5 operation(s): scoring 1.000 1.0000000000
result:
ok Passed using 5 operation(s): scoring 1.000
Test #10:
score: 5
Accepted
time: 0ms
memory: 3848kb
input:
2 1 0
output:
68F82AC1898AF4BFACDCBB49543233A61773093A OK Passed using 8 operation(s): scoring 1.000 1.0000000000
result:
ok Passed using 8 operation(s): scoring 1.000
Test #11:
score: 5
Accepted
time: 0ms
memory: 3872kb
input:
4 2 3 0 1
output:
68F82AC1898AF4BFACDCBB49543233A61773093A OK Passed using 14 operation(s): scoring 1.000 1.0000000000
result:
ok Passed using 14 operation(s): scoring 1.000
Test #12:
score: 5
Accepted
time: 0ms
memory: 3988kb
input:
4 1 2 0 3
output:
68F82AC1898AF4BFACDCBB49543233A61773093A OK Passed using 19 operation(s): scoring 1.000 1.0000000000
result:
ok Passed using 19 operation(s): scoring 1.000
Test #13:
score: 5
Accepted
time: 1ms
memory: 3992kb
input:
4 1 3 0 2
output:
68F82AC1898AF4BFACDCBB49543233A61773093A OK Passed using 14 operation(s): scoring 1.000 1.0000000000
result:
ok Passed using 14 operation(s): scoring 1.000
Test #14:
score: 5
Accepted
time: 0ms
memory: 3920kb
input:
5 0 3 4 2 1
output:
68F82AC1898AF4BFACDCBB49543233A61773093A OK Passed using 17 operation(s): scoring 1.000 1.0000000000
result:
ok Passed using 17 operation(s): scoring 1.000
Test #15:
score: 5
Accepted
time: 0ms
memory: 3924kb
input:
5 0 2 3 4 1
output:
68F82AC1898AF4BFACDCBB49543233A61773093A OK Passed using 23 operation(s): scoring 1.000 1.0000000000
result:
ok Passed using 23 operation(s): scoring 1.000
Test #16:
score: 5
Accepted
time: 0ms
memory: 3820kb
input:
5 3 0 2 4 1
output:
68F82AC1898AF4BFACDCBB49543233A61773093A OK Passed using 23 operation(s): scoring 1.000 1.0000000000
result:
ok Passed using 23 operation(s): scoring 1.000
Test #17:
score: 5
Accepted
time: 0ms
memory: 3924kb
input:
5 1 4 3 2 0
output:
68F82AC1898AF4BFACDCBB49543233A61773093A OK Passed using 23 operation(s): scoring 1.000 1.0000000000
result:
ok Passed using 23 operation(s): scoring 1.000
Test #18:
score: 5
Accepted
time: 0ms
memory: 3920kb
input:
5 3 4 2 0 1
output:
68F82AC1898AF4BFACDCBB49543233A61773093A OK Passed using 23 operation(s): scoring 1.000 1.0000000000
result:
ok Passed using 23 operation(s): scoring 1.000
Test #19:
score: 5
Accepted
time: 0ms
memory: 3844kb
input:
5 0 1 2 3 4
output:
68F82AC1898AF4BFACDCBB49543233A61773093A OK Passed using 29 operation(s): scoring 1.000 1.0000000000
result:
ok Passed using 29 operation(s): scoring 1.000
Test #20:
score: 5
Accepted
time: 0ms
memory: 3904kb
input:
5 4 3 2 1 0
output:
68F82AC1898AF4BFACDCBB49543233A61773093A OK Passed using 23 operation(s): scoring 1.000 1.0000000000
result:
ok Passed using 23 operation(s): scoring 1.000
Test #21:
score: 5
Accepted
time: 0ms
memory: 3868kb
input:
6 2 4 5 3 1 0
output:
68F82AC1898AF4BFACDCBB49543233A61773093A OK Passed using 20 operation(s): scoring 1.000 1.0000000000
result:
ok Passed using 20 operation(s): scoring 1.000
Test #22:
score: 5
Accepted
time: 0ms
memory: 4056kb
input:
6 4 5 0 2 1 3
output:
68F82AC1898AF4BFACDCBB49543233A61773093A OK Passed using 27 operation(s): scoring 1.000 1.0000000000
result:
ok Passed using 27 operation(s): scoring 1.000
Test #23:
score: 5
Accepted
time: 0ms
memory: 3856kb
input:
6 5 0 2 3 1 4
output:
68F82AC1898AF4BFACDCBB49543233A61773093A OK Passed using 27 operation(s): scoring 1.000 1.0000000000
result:
ok Passed using 27 operation(s): scoring 1.000
Test #24:
score: 5
Accepted
time: 0ms
memory: 3872kb
input:
6 4 3 2 1 0 5
output:
68F82AC1898AF4BFACDCBB49543233A61773093A OK Passed using 34 operation(s): scoring 1.000 1.0000000000
result:
ok Passed using 34 operation(s): scoring 1.000
Test #25:
score: 5
Accepted
time: 0ms
memory: 3776kb
input:
6 0 1 2 3 4 5
output:
68F82AC1898AF4BFACDCBB49543233A61773093A OK Passed using 27 operation(s): scoring 1.000 1.0000000000
result:
ok Passed using 27 operation(s): scoring 1.000
Test #26:
score: 5
Accepted
time: 0ms
memory: 4000kb
input:
7 0 6 4 2 3 5 1
output:
68F82AC1898AF4BFACDCBB49543233A61773093A OK Passed using 31 operation(s): scoring 1.000 1.0000000000
result:
ok Passed using 31 operation(s): scoring 1.000
Test #27:
score: 5
Accepted
time: 0ms
memory: 3860kb
input:
7 3 0 5 4 1 6 2
output:
68F82AC1898AF4BFACDCBB49543233A61773093A OK Passed using 31 operation(s): scoring 1.000 1.0000000000
result:
ok Passed using 31 operation(s): scoring 1.000
Test #28:
score: 5
Accepted
time: 0ms
memory: 3864kb
input:
7 0 6 3 2 1 4 5
output:
68F82AC1898AF4BFACDCBB49543233A61773093A OK Passed using 23 operation(s): scoring 1.000 1.0000000000
result:
ok Passed using 23 operation(s): scoring 1.000
Test #29:
score: 5
Accepted
time: 0ms
memory: 3988kb
input:
7 0 1 2 3 4 5 6
output:
68F82AC1898AF4BFACDCBB49543233A61773093A OK Passed using 23 operation(s): scoring 1.000 1.0000000000
result:
ok Passed using 23 operation(s): scoring 1.000
Test #30:
score: 5
Accepted
time: 0ms
memory: 3996kb
input:
7 6 5 4 3 2 1 0
output:
68F82AC1898AF4BFACDCBB49543233A61773093A OK Passed using 31 operation(s): scoring 1.000 1.0000000000
result:
ok Passed using 31 operation(s): scoring 1.000
Test #31:
score: 5
Accepted
time: 0ms
memory: 4060kb
input:
8 0 1 2 3 4 5 6 7
output:
68F82AC1898AF4BFACDCBB49543233A61773093A OK Passed using 53 operation(s): scoring 1.000 1.0000000000
result:
ok Passed using 53 operation(s): scoring 1.000
Test #32:
score: 5
Accepted
time: 0ms
memory: 3904kb
input:
9 0 1 2 3 4 5 6 7 8
output:
68F82AC1898AF4BFACDCBB49543233A61773093A OK Passed using 49 operation(s): scoring 1.000 1.0000000000
result:
ok Passed using 49 operation(s): scoring 1.000
Test #33:
score: 5
Accepted
time: 0ms
memory: 3876kb
input:
8 7 6 5 4 3 2 1 0
output:
68F82AC1898AF4BFACDCBB49543233A61773093A OK Passed using 35 operation(s): scoring 1.000 1.0000000000
result:
ok Passed using 35 operation(s): scoring 1.000
Test #34:
score: 5
Accepted
time: 0ms
memory: 3944kb
input:
9 8 7 6 5 4 3 2 1 0
output:
68F82AC1898AF4BFACDCBB49543233A61773093A OK Passed using 49 operation(s): scoring 1.000 1.0000000000
result:
ok Passed using 49 operation(s): scoring 1.000
Test #35:
score: 5
Accepted
time: 0ms
memory: 3904kb
input:
8 5 3 2 1 6 7 0 4
output:
68F82AC1898AF4BFACDCBB49543233A61773093A OK Passed using 44 operation(s): scoring 1.000 1.0000000000
result:
ok Passed using 44 operation(s): scoring 1.000
Test #36:
score: 5
Accepted
time: 0ms
memory: 3908kb
input:
8 6 0 3 4 2 7 1 5
output:
68F82AC1898AF4BFACDCBB49543233A61773093A OK Passed using 53 operation(s): scoring 1.000 1.0000000000
result:
ok Passed using 53 operation(s): scoring 1.000
Test #37:
score: 5
Accepted
time: 0ms
memory: 3868kb
input:
9 2 5 4 8 6 0 3 1 7
output:
68F82AC1898AF4BFACDCBB49543233A61773093A OK Passed using 39 operation(s): scoring 1.000 1.0000000000
result:
ok Passed using 39 operation(s): scoring 1.000
Test #38:
score: 5
Accepted
time: 0ms
memory: 3984kb
input:
9 6 0 4 2 7 3 5 8 1
output:
68F82AC1898AF4BFACDCBB49543233A61773093A OK Passed using 39 operation(s): scoring 1.000 1.0000000000
result:
ok Passed using 39 operation(s): scoring 1.000
Test #39:
score: 5
Accepted
time: 0ms
memory: 3868kb
input:
9 2 6 4 0 5 7 1 3 8
output:
68F82AC1898AF4BFACDCBB49543233A61773093A OK Passed using 49 operation(s): scoring 1.000 1.0000000000
result:
ok Passed using 49 operation(s): scoring 1.000
Test #40:
score: 5
Accepted
time: 0ms
memory: 3992kb
input:
10 0 7 2 8 5 9 6 3 4 1
output:
68F82AC1898AF4BFACDCBB49543233A61773093A OK Passed using 65 operation(s): scoring 1.000 1.0000000000
result:
ok Passed using 65 operation(s): scoring 1.000
Test #41:
score: 5
Accepted
time: 0ms
memory: 3824kb
input:
10 0 9 1 8 6 7 4 3 5 2
output:
68F82AC1898AF4BFACDCBB49543233A61773093A OK Passed using 54 operation(s): scoring 1.000 1.0000000000
result:
ok Passed using 54 operation(s): scoring 1.000
Test #42:
score: 5
Accepted
time: 0ms
memory: 4072kb
input:
10 0 7 4 5 8 6 1 3 9 2
output:
68F82AC1898AF4BFACDCBB49543233A61773093A OK Passed using 65 operation(s): scoring 1.000 1.0000000000
result:
ok Passed using 65 operation(s): scoring 1.000
Subtask #2:
score: 10
Accepted
Dependency #1:
100%
Accepted
Test #43:
score: 10
Accepted
time: 0ms
memory: 3984kb
input:
70 44 64 19 37 17 65 8 53 6 36 3 30 35 24 34 60 29 56 18 45 1 51 13 23 41 28 49 50 9 21 54 68 27 46 32 57 43 25 67 63 52 47 15 20 58 16 42 39 11 7 4 31 38 69 26 33 2 59 40 66 55 22 0 12 10 48 62 14 5 61
output:
68F82AC1898AF4BFACDCBB49543233A61773093A OK Passed using 922 operation(s): scoring 1.000 1.0000000000
result:
ok Passed using 922 operation(s): scoring 1.000
Test #44:
score: 10
Accepted
time: 0ms
memory: 3840kb
input:
70 0 30 46 54 34 42 60 23 31 65 11 58 20 3 14 12 40 44 29 10 22 5 50 4 52 49 21 38 53 24 41 37 28 32 59 6 61 9 19 25 35 69 33 64 55 27 17 36 2 67 26 51 8 56 48 43 13 62 63 16 1 15 68 45 39 47 66 18 7 57
output:
68F82AC1898AF4BFACDCBB49543233A61773093A OK Passed using 993 operation(s): scoring 1.000 1.0000000000
result:
ok Passed using 993 operation(s): scoring 1.000
Test #45:
score: 10
Accepted
time: 0ms
memory: 4004kb
input:
11 4 9 10 1 0 8 7 3 6 5 2
output:
68F82AC1898AF4BFACDCBB49543233A61773093A OK Passed using 71 operation(s): scoring 1.000 1.0000000000
result:
ok Passed using 71 operation(s): scoring 1.000
Test #46:
score: 10
Accepted
time: 0ms
memory: 3920kb
input:
14 13 3 9 11 2 6 0 5 10 1 12 8 4 7
output:
68F82AC1898AF4BFACDCBB49543233A61773093A OK Passed using 89 operation(s): scoring 1.000 1.0000000000
result:
ok Passed using 89 operation(s): scoring 1.000
Test #47:
score: 10
Accepted
time: 0ms
memory: 3828kb
input:
45 34 32 14 35 18 3 1 42 25 8 37 44 31 15 21 39 0 29 30 40 9 17 10 33 5 4 20 12 38 36 6 23 27 16 41 19 43 2 11 24 22 13 26 28 7
output:
68F82AC1898AF4BFACDCBB49543233A61773093A OK Passed using 413 operation(s): scoring 1.000 1.0000000000
result:
ok Passed using 413 operation(s): scoring 1.000
Test #48:
score: 10
Accepted
time: 0ms
memory: 3864kb
input:
51 14 15 16 46 1 25 35 0 19 24 8 49 29 44 11 38 23 34 28 4 40 6 9 17 22 5 36 41 13 47 27 45 33 10 48 2 30 32 39 20 50 31 43 7 42 26 21 12 18 37 3
output:
68F82AC1898AF4BFACDCBB49543233A61773093A OK Passed using 675 operation(s): scoring 1.000 1.0000000000
result:
ok Passed using 675 operation(s): scoring 1.000
Test #49:
score: 10
Accepted
time: 0ms
memory: 3872kb
input:
14 5 0 9 2 8 6 10 1 3 7 13 4 12 11
output:
68F82AC1898AF4BFACDCBB49543233A61773093A OK Passed using 74 operation(s): scoring 1.000 1.0000000000
result:
ok Passed using 74 operation(s): scoring 1.000
Test #50:
score: 10
Accepted
time: 0ms
memory: 3780kb
input:
20 9 11 1 18 7 12 19 3 0 4 17 5 14 8 16 6 10 2 15 13
output:
68F82AC1898AF4BFACDCBB49543233A61773093A OK Passed using 188 operation(s): scoring 1.000 1.0000000000
result:
ok Passed using 188 operation(s): scoring 1.000
Test #51:
score: 10
Accepted
time: 1ms
memory: 3984kb
input:
30 19 4 15 13 22 14 3 5 28 10 26 20 7 2 16 27 11 8 9 12 6 25 24 29 21 17 1 0 18 23
output:
68F82AC1898AF4BFACDCBB49543233A61773093A OK Passed using 278 operation(s): scoring 1.000 1.0000000000
result:
ok Passed using 278 operation(s): scoring 1.000
Test #52:
score: 10
Accepted
time: 0ms
memory: 3904kb
input:
40 11 17 35 10 16 28 12 1 7 3 18 21 31 14 20 0 33 2 32 15 4 13 27 29 5 38 19 37 39 25 30 36 23 8 26 34 9 24 22 6
output:
68F82AC1898AF4BFACDCBB49543233A61773093A OK Passed using 491 operation(s): scoring 1.000 1.0000000000
result:
ok Passed using 491 operation(s): scoring 1.000
Test #53:
score: 10
Accepted
time: 0ms
memory: 3904kb
input:
50 32 1 29 42 19 37 26 10 49 28 5 3 12 0 40 47 9 33 8 21 31 16 24 34 6 7 36 46 45 15 2 20 27 48 4 13 23 30 17 41 38 18 44 39 11 22 25 43 14 35
output:
68F82AC1898AF4BFACDCBB49543233A61773093A OK Passed using 611 operation(s): scoring 1.000 1.0000000000
result:
ok Passed using 611 operation(s): scoring 1.000
Test #54:
score: 10
Accepted
time: 1ms
memory: 4004kb
input:
60 50 39 25 0 47 28 27 14 4 34 54 56 5 32 35 40 6 8 51 45 59 37 24 49 10 53 41 21 31 16 29 20 1 13 57 55 12 36 58 18 38 15 46 23 2 33 26 48 7 9 22 43 52 42 17 11 30 44 3 19
output:
68F82AC1898AF4BFACDCBB49543233A61773093A OK Passed using 853 operation(s): scoring 1.000 1.0000000000
result:
ok Passed using 853 operation(s): scoring 1.000
Test #55:
score: 10
Accepted
time: 0ms
memory: 3944kb
input:
70 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69
output:
68F82AC1898AF4BFACDCBB49543233A61773093A OK Passed using 1064 operation(s): scoring 1.000 1.0000000000
result:
ok Passed using 1064 operation(s): scoring 1.000
Test #56:
score: 10
Accepted
time: 0ms
memory: 3928kb
input:
70 69 68 67 66 65 64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
output:
68F82AC1898AF4BFACDCBB49543233A61773093A OK Passed using 1135 operation(s): scoring 1.000 1.0000000000
result:
ok Passed using 1135 operation(s): scoring 1.000
Test #57:
score: 10
Accepted
time: 0ms
memory: 3872kb
input:
70 0 69 68 67 66 65 64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1
output:
68F82AC1898AF4BFACDCBB49543233A61773093A OK Passed using 851 operation(s): scoring 1.000 1.0000000000
result:
ok Passed using 851 operation(s): scoring 1.000
Test #58:
score: 10
Accepted
time: 0ms
memory: 4004kb
input:
70 5 11 49 41 36 1 38 31 54 20 6 33 39 9 22 52 21 61 17 7 26 40 57 48 65 58 28 30 55 13 18 56 4 14 50 27 42 16 67 15 47 12 64 51 19 44 8 69 35 45 24 62 63 34 53 29 37 46 68 60 23 59 2 10 32 66 43 25 0 3
output:
68F82AC1898AF4BFACDCBB49543233A61773093A OK Passed using 1206 operation(s): scoring 1.000 1.0000000000
result:
ok Passed using 1206 operation(s): scoring 1.000
Test #59:
score: 10
Accepted
time: 0ms
memory: 3920kb
input:
70 59 69 24 43 44 48 32 63 31 57 54 9 50 62 66 17 28 46 11 16 61 33 49 13 35 8 37 6 56 47 58 23 3 36 51 20 10 40 5 55 7 0 68 21 12 65 14 27 64 4 39 30 22 34 15 38 45 53 26 67 2 60 41 1 18 29 25 19 52 42
output:
68F82AC1898AF4BFACDCBB49543233A61773093A OK Passed using 1277 operation(s): scoring 1.000 1.0000000000
result:
ok Passed using 1277 operation(s): scoring 1.000
Test #60:
score: 10
Accepted
time: 0ms
memory: 3924kb
input:
70 69 2 19 37 49 11 26 4 34 24 33 31 29 57 51 32 30 58 9 15 64 63 46 0 67 53 48 3 27 62 38 36 6 5 45 56 10 39 1 17 59 21 13 7 41 14 8 55 28 66 25 23 68 65 50 22 12 60 54 61 43 40 35 42 52 44 18 47 16 20
output:
68F82AC1898AF4BFACDCBB49543233A61773093A OK Passed using 1064 operation(s): scoring 1.000 1.0000000000
result:
ok Passed using 1064 operation(s): scoring 1.000
Test #61:
score: 10
Accepted
time: 0ms
memory: 3868kb
input:
70 4 51 11 69 24 35 17 36 26 50 67 39 19 2 47 56 59 18 32 40 5 21 57 12 14 42 27 62 63 58 30 38 13 68 3 54 55 64 9 22 66 23 20 34 1 10 31 0 46 41 65 28 52 43 16 60 49 7 44 25 29 61 6 45 53 48 8 33 37 15
output:
68F82AC1898AF4BFACDCBB49543233A61773093A OK Passed using 922 operation(s): scoring 1.000 1.0000000000
result:
ok Passed using 922 operation(s): scoring 1.000
Test #62:
score: 10
Accepted
time: 0ms
memory: 3920kb
input:
70 47 44 13 34 0 20 62 57 66 38 45 2 23 32 24 69 54 6 17 12 42 21 39 41 4 59 8 26 51 60 30 46 18 67 43 5 7 68 31 11 19 49 25 53 58 63 48 14 65 56 9 1 52 64 35 36 15 22 29 16 55 61 27 28 37 50 40 10 33 3
output:
68F82AC1898AF4BFACDCBB49543233A61773093A OK Passed using 1064 operation(s): scoring 1.000 1.0000000000
result:
ok Passed using 1064 operation(s): scoring 1.000
Test #63:
score: 10
Accepted
time: 0ms
memory: 3992kb
input:
69 4 51 11 15 24 35 17 36 26 50 67 39 19 2 47 56 59 18 32 40 5 21 57 12 14 42 27 62 63 58 30 38 13 68 3 54 55 64 9 22 66 23 20 34 1 10 31 0 46 41 65 28 52 43 16 60 49 7 44 25 29 61 6 45 53 48 8 33 37
output:
68F82AC1898AF4BFACDCBB49543233A61773093A OK Passed using 1259 operation(s): scoring 1.000 1.0000000000
result:
ok Passed using 1259 operation(s): scoring 1.000
Test #64:
score: 10
Accepted
time: 0ms
memory: 3928kb
input:
69 47 44 13 34 0 20 62 57 66 38 45 2 23 32 24 3 54 6 17 12 42 21 39 41 4 59 8 26 51 60 30 46 18 67 43 5 7 68 31 11 19 49 25 53 58 63 48 14 65 56 9 1 52 64 35 36 15 22 29 16 55 61 27 28 37 50 40 10 33
output:
68F82AC1898AF4BFACDCBB49543233A61773093A OK Passed using 1119 operation(s): scoring 1.000 1.0000000000
result:
ok Passed using 1119 operation(s): scoring 1.000
Subtask #3:
score: 15
Accepted
Dependency #2:
100%
Accepted
Test #65:
score: 15
Accepted
time: 1ms
memory: 3872kb
input:
900 768 779 241 777 723 135 339 840 870 593 715 269 517 362 516 312 773 188 839 508 887 91 798 518 435 370 51 486 725 520 833 716 304 636 628 408 681 663 363 237 784 10 131 570 97 431 205 752 629 803 299 866 642 258 196 806 823 307 634 274 800 138 96 595 538 134 667 66 682 157 364 164 283 421 545 77...
output:
68F82AC1898AF4BFACDCBB49543233A61773093A OK Passed using 52257 operation(s): scoring 1.000 1.0000000000
result:
ok Passed using 52257 operation(s): scoring 1.000
Test #66:
score: 15
Accepted
time: 1ms
memory: 3876kb
input:
900 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 10...
output:
68F82AC1898AF4BFACDCBB49543233A61773093A OK Passed using 51356 operation(s): scoring 1.000 1.0000000000
result:
ok Passed using 51356 operation(s): scoring 1.000
Test #67:
score: 15
Accepted
time: 1ms
memory: 3932kb
input:
900 899 898 897 896 895 894 893 892 891 890 889 888 887 886 885 884 883 882 881 880 879 878 877 876 875 874 873 872 871 870 869 868 867 866 865 864 863 862 861 860 859 858 857 856 855 854 853 852 851 850 849 848 847 846 845 844 843 842 841 840 839 838 837 836 835 834 833 832 831 830 829 828 827 826 ...
output:
68F82AC1898AF4BFACDCBB49543233A61773093A OK Passed using 50455 operation(s): scoring 1.000 1.0000000000
result:
ok Passed using 50455 operation(s): scoring 1.000
Test #68:
score: 15
Accepted
time: 1ms
memory: 3872kb
input:
900 110 290 701 69 560 468 706 896 164 350 795 322 361 2 567 792 602 846 643 720 589 826 420 578 363 192 551 852 104 797 352 427 543 585 396 114 639 715 201 280 66 672 803 574 879 176 106 798 882 270 723 165 750 43 391 202 49 105 149 318 387 389 141 408 486 740 717 33 557 702 25 781 710 633 82 434 5...
output:
68F82AC1898AF4BFACDCBB49543233A61773093A OK Passed using 52257 operation(s): scoring 1.000 1.0000000000
result:
ok Passed using 52257 operation(s): scoring 1.000
Test #69:
score: 15
Accepted
time: 1ms
memory: 3928kb
input:
900 872 621 13 634 849 524 778 673 717 201 338 854 494 273 637 310 391 887 360 83 324 888 170 80 309 70 211 551 881 171 512 659 825 67 172 256 762 564 344 814 357 628 452 53 85 217 401 245 111 56 135 290 828 837 325 402 281 420 258 400 202 112 728 661 441 316 40 115 288 3 196 481 469 569 122 582 228...
output:
68F82AC1898AF4BFACDCBB49543233A61773093A OK Passed using 46851 operation(s): scoring 1.000 1.0000000000
result:
ok Passed using 46851 operation(s): scoring 1.000
Test #70:
score: 15
Accepted
time: 0ms
memory: 3928kb
input:
900 11 3 4 24 16 14 23 46 28 33 10 0 9 7 20 69 13 32 6 53 1 56 55 2 5 27 78 45 59 54 34 76 18 37 41 26 30 73 48 67 8 17 49 66 31 29 35 93 88 42 39 58 101 22 70 12 43 84 92 19 85 21 68 90 65 77 81 57 15 50 100 38 52 98 135 74 72 87 95 79 71 89 47 119 97 75 36 51 126 132 114 113 91 96 63 64 103 25 62 ...
output:
68F82AC1898AF4BFACDCBB49543233A61773093A OK Passed using 50455 operation(s): scoring 1.000 1.0000000000
result:
ok Passed using 50455 operation(s): scoring 1.000
Test #71:
score: 15
Accepted
time: 0ms
memory: 3996kb
input:
900 141 85 25 118 6 26 48 83 24 128 18 34 125 60 97 99 73 1 42 27 64 38 11 9 40 16 3 108 100 19 4 37 2 126 65 14 32 30 54 36 28 56 0 103 22 29 8 162 113 124 107 33 13 46 5 59 84 227 89 179 51 35 145 121 58 17 153 109 139 57 106 62 53 112 79 45 44 63 156 130 173 191 31 93 66 41 10 183 7 80 114 23 187...
output:
68F82AC1898AF4BFACDCBB49543233A61773093A OK Passed using 47752 operation(s): scoring 1.000 1.0000000000
result:
ok Passed using 47752 operation(s): scoring 1.000
Test #72:
score: 15
Accepted
time: 1ms
memory: 3872kb
input:
900 138 15 132 59 276 230 72 117 65 118 119 176 108 11 68 129 145 45 51 109 87 115 91 69 52 146 61 125 137 73 29 49 47 201 135 157 249 326 200 153 40 62 82 234 38 44 293 111 169 34 164 5 7 83 122 136 23 50 8 33 313 112 218 168 131 150 66 28 30 124 144 182 14 12 142 309 270 213 48 107 120 114 70 80 1...
output:
68F82AC1898AF4BFACDCBB49543233A61773093A OK Passed using 52257 operation(s): scoring 1.000 1.0000000000
result:
ok Passed using 52257 operation(s): scoring 1.000
Test #73:
score: 15
Accepted
time: 1ms
memory: 3928kb
input:
900 835 56 592 297 662 36 806 860 676 651 426 68 97 291 194 546 416 239 57 106 10 79 642 706 514 450 320 723 113 366 553 133 38 290 203 252 281 182 103 430 158 445 656 199 769 7 627 172 480 135 324 243 494 70 249 549 663 489 329 475 525 287 811 227 803 260 139 53 9 229 482 48 884 122 548 722 488 555...
output:
68F82AC1898AF4BFACDCBB49543233A61773093A OK Passed using 48653 operation(s): scoring 1.000 1.0000000000
result:
ok Passed using 48653 operation(s): scoring 1.000
Test #74:
score: 15
Accepted
time: 0ms
memory: 3868kb
input:
100 84 45 54 73 43 11 57 52 33 44 3 63 78 49 93 67 96 31 29 8 89 82 98 72 19 9 99 51 66 39 68 0 20 46 42 74 61 18 13 50 69 40 86 41 88 79 37 64 21 22 38 56 77 24 1 27 34 4 47 80 58 26 7 53 6 14 83 32 97 76 12 30 55 25 62 71 81 5 16 36 2 85 28 10 15 94 23 91 59 65 87 92 95 75 90 60 70 17 48 35
output:
68F82AC1898AF4BFACDCBB49543233A61773093A OK Passed using 2120 operation(s): scoring 1.000 1.0000000000
result:
ok Passed using 2120 operation(s): scoring 1.000
Test #75:
score: 15
Accepted
time: 0ms
memory: 3916kb
input:
200 163 115 52 121 117 157 156 43 2 153 96 198 56 159 69 182 193 66 162 67 122 112 25 175 30 51 170 48 151 133 90 38 0 5 82 91 12 135 93 21 4 110 78 109 148 185 167 178 19 75 191 49 166 118 165 35 186 77 64 94 72 97 103 17 53 139 45 15 101 150 13 149 47 107 95 125 34 28 60 10 6 87 8 177 116 26 7 1 7...
output:
68F82AC1898AF4BFACDCBB49543233A61773093A OK Passed using 5225 operation(s): scoring 1.000 1.0000000000
result:
ok Passed using 5225 operation(s): scoring 1.000
Test #76:
score: 15
Accepted
time: 0ms
memory: 3848kb
input:
400 80 160 306 121 154 375 171 200 352 68 137 195 379 15 215 267 82 145 3 167 39 232 393 116 210 330 197 285 298 348 4 32 217 6 13 295 83 313 190 138 346 290 10 5 78 63 42 91 192 353 221 0 97 319 40 45 243 283 166 182 126 342 189 84 88 314 233 349 281 289 275 391 338 87 380 141 17 128 110 326 96 339...
output:
68F82AC1898AF4BFACDCBB49543233A61773093A OK Passed using 15237 operation(s): scoring 1.000 1.0000000000
result:
ok Passed using 15237 operation(s): scoring 1.000
Test #77:
score: 15
Accepted
time: 1ms
memory: 3928kb
input:
600 419 135 560 216 155 159 137 503 7 41 241 394 286 593 139 75 535 102 171 354 24 367 40 69 5 318 224 428 74 346 187 502 258 287 376 13 114 375 170 160 590 204 275 476 327 237 153 411 330 156 122 161 27 345 357 131 322 424 541 292 196 164 585 525 264 526 87 499 195 457 307 260 323 588 572 418 15 14...
output:
68F82AC1898AF4BFACDCBB49543233A61773093A OK Passed using 22837 operation(s): scoring 1.000 1.0000000000
result:
ok Passed using 22837 operation(s): scoring 1.000
Test #78:
score: 15
Accepted
time: 1ms
memory: 3868kb
input:
800 603 487 641 673 9 702 167 303 214 557 639 669 528 227 199 365 52 455 721 211 93 299 253 726 97 156 707 335 206 48 725 29 50 279 59 62 768 699 165 339 89 261 12 289 231 608 55 292 438 749 280 88 71 505 123 680 395 740 652 87 517 708 7 582 483 551 638 606 795 2 397 342 378 330 599 340 30 628 160 3...
output:
68F82AC1898AF4BFACDCBB49543233A61773093A OK Passed using 42452 operation(s): scoring 1.000 1.0000000000
result:
ok Passed using 42452 operation(s): scoring 1.000
Test #79:
score: 15
Accepted
time: 1ms
memory: 3880kb
input:
888 365 739 465 537 177 334 210 644 398 236 21 138 873 661 167 419 401 322 571 582 545 252 416 137 710 373 59 263 624 851 871 174 275 5 825 667 666 550 352 690 28 101 755 375 130 815 493 400 296 573 581 58 621 711 747 610 165 246 768 359 343 840 415 222 278 29 430 300 142 366 809 25 721 397 372 444 ...
output:
68F82AC1898AF4BFACDCBB49543233A61773093A OK Passed using 50672 operation(s): scoring 1.000 1.0000000000
result:
ok Passed using 50672 operation(s): scoring 1.000
Test #80:
score: 15
Accepted
time: 1ms
memory: 3932kb
input:
900 535 1 12 818 855 550 626 618 213 736 864 294 570 208 649 239 56 249 803 394 745 812 90 97 415 573 340 218 716 648 148 77 451 112 36 154 323 582 730 679 122 781 597 606 214 426 741 806 13 841 783 413 470 14 725 858 452 37 338 445 713 630 29 467 259 41 689 425 254 512 366 755 489 220 411 588 508 2...
output:
68F82AC1898AF4BFACDCBB49543233A61773093A OK Passed using 46851 operation(s): scoring 1.000 1.0000000000
result:
ok Passed using 46851 operation(s): scoring 1.000
Test #81:
score: 15
Accepted
time: 1ms
memory: 3920kb
input:
900 726 839 261 363 543 68 191 20 564 359 607 873 436 11 830 625 534 818 816 146 139 127 315 791 369 785 373 860 89 889 445 671 499 526 856 32 581 568 220 187 186 443 141 114 674 635 595 306 588 132 24 52 786 50 846 164 872 285 500 446 434 362 821 582 520 509 46 391 130 297 798 59 29 351 848 435 503...
output:
68F82AC1898AF4BFACDCBB49543233A61773093A OK Passed using 49554 operation(s): scoring 1.000 1.0000000000
result:
ok Passed using 49554 operation(s): scoring 1.000
Test #82:
score: 15
Accepted
time: 1ms
memory: 4000kb
input:
900 0 899 898 897 896 895 894 893 892 891 890 889 888 887 886 885 884 883 882 881 880 879 878 877 876 875 874 873 872 871 870 869 868 867 866 865 864 863 862 861 860 859 858 857 856 855 854 853 852 851 850 849 848 847 846 845 844 843 842 841 840 839 838 837 836 835 834 833 832 831 830 829 828 827 82...
output:
68F82AC1898AF4BFACDCBB49543233A61773093A OK Passed using 49554 operation(s): scoring 1.000 1.0000000000
result:
ok Passed using 49554 operation(s): scoring 1.000
Test #83:
score: 15
Accepted
time: 1ms
memory: 3912kb
input:
899 872 621 13 634 849 524 778 673 717 201 338 854 494 273 637 310 391 887 360 83 324 888 170 80 309 70 211 551 881 171 512 659 825 67 172 256 762 564 344 814 357 628 452 53 85 217 401 245 111 56 135 290 828 837 325 402 281 420 258 400 202 112 728 661 441 316 40 115 288 3 196 481 469 569 122 582 228...
output:
68F82AC1898AF4BFACDCBB49543233A61773093A OK Passed using 49499 operation(s): scoring 1.000 1.0000000000
result:
ok Passed using 49499 operation(s): scoring 1.000
Subtask #4:
score: 10
Accepted
Test #84:
score: 10
Accepted
time: 4ms
memory: 4096kb
input:
5000 0 4022 1149 1576 2995 1809 3803 4188 1400 1251 4042 2830 766 4811 1622 4002 4474 1003 1152 130 4794 1902 1292 968 4673 3459 1795 3812 531 2335 1660 4968 3632 4047 353 4448 2515 1581 4259 1389 3628 3760 1381 2527 2353 4323 2807 386 1731 1973 1209 1982 232 747 2904 897 4375 2921 3384 457 1050 936...
output:
68F82AC1898AF4BFACDCBB49543233A61773093A OK Passed using 720143 operation(s): scoring 1.000 1.0000000000
result:
ok Passed using 720143 operation(s): scoring 1.000
Test #85:
score: 10
Accepted
time: 4ms
memory: 3972kb
input:
5000 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 1...
output:
68F82AC1898AF4BFACDCBB49543233A61773093A OK Passed using 685136 operation(s): scoring 1.000 1.0000000000
result:
ok Passed using 685136 operation(s): scoring 1.000
Test #86:
score: 10
Accepted
time: 0ms
memory: 4028kb
input:
5000 0 4999 4998 4997 4996 4995 4994 4993 4992 4991 4990 4989 4988 4987 4986 4985 4984 4983 4982 4981 4980 4979 4978 4977 4976 4975 4974 4973 4972 4971 4970 4969 4968 4967 4966 4965 4964 4963 4962 4961 4960 4959 4958 4957 4956 4955 4954 4953 4952 4951 4950 4949 4948 4947 4946 4945 4944 4943 4942 494...
output:
68F82AC1898AF4BFACDCBB49543233A61773093A OK Passed using 660131 operation(s): scoring 1.000 1.0000000000
result:
ok Passed using 660131 operation(s): scoring 1.000
Test #87:
score: 10
Accepted
time: 4ms
memory: 3980kb
input:
5000 0 206 472 204 527 84 134 30 801 61 100 138 695 340 228 259 31 157 218 266 352 231 500 80 362 99 189 77 168 344 475 223 111 626 161 282 96 368 434 91 165 230 479 621 215 269 37 116 433 425 166 182 505 22 553 40 526 14 125 65 17 524 58 252 57 673 90 508 365 42 88 72 25 565 609 150 651 200 86 546 ...
output:
68F82AC1898AF4BFACDCBB49543233A61773093A OK Passed using 685136 operation(s): scoring 1.000 1.0000000000
result:
ok Passed using 685136 operation(s): scoring 1.000
Test #88:
score: 10
Accepted
time: 4ms
memory: 4104kb
input:
5000 0 1918 435 1484 391 600 3475 951 1459 2753 516 1512 1121 1064 893 1355 1675 114 909 550 566 548 1081 933 157 78 789 264 230 1010 61 57 514 1016 118 964 925 1199 915 226 1019 505 408 997 773 547 35 1229 286 3645 1876 1210 487 1209 182 1424 859 611 1138 1038 719 532 546 2514 1607 1230 1296 2271 7...
output:
68F82AC1898AF4BFACDCBB49543233A61773093A OK Passed using 680135 operation(s): scoring 1.000 1.0000000000
result:
ok Passed using 680135 operation(s): scoring 1.000
Test #89:
score: 10
Accepted
time: 4ms
memory: 4032kb
input:
5000 0 2684 3226 1101 1223 1375 2678 800 656 582 494 3141 326 4523 2100 301 2233 1802 2722 748 4318 3192 842 2049 185 1882 779 925 725 3950 4766 3570 3964 2297 4513 1147 4732 889 3925 4508 1066 4444 3340 3216 2739 3806 2457 2903 4350 2376 1595 4257 3921 4618 3573 1564 1825 4770 1010 2662 214 961 709...
output:
68F82AC1898AF4BFACDCBB49543233A61773093A OK Passed using 670133 operation(s): scoring 1.000 1.0000000000
result:
ok Passed using 670133 operation(s): scoring 1.000
Test #90:
score: 10
Accepted
time: 0ms
memory: 3888kb
input:
1004 0 94 823 206 67 75 150 792 825 803 790 176 433 457 147 362 622 266 445 467 596 251 530 778 122 582 2 992 789 409 946 555 834 47 11 488 30 570 830 366 874 828 452 900 766 371 620 141 98 334 262 952 279 311 9 172 363 795 203 401 257 137 181 323 48 642 886 244 458 945 890 866 66 249 835 722 551 94...
output:
68F82AC1898AF4BFACDCBB49543233A61773093A OK Passed using 58289 operation(s): scoring 1.000 1.0000000000
result:
ok Passed using 58289 operation(s): scoring 1.000
Test #91:
score: 10
Accepted
time: 1ms
memory: 3848kb
input:
2003 0 1419 488 1442 1638 1036 121 530 1101 158 1622 1743 852 1556 739 1201 545 1969 1753 1140 1230 1923 1382 1792 1258 1967 1495 538 1244 644 1680 1811 464 1388 877 1355 911 1675 759 624 341 1100 796 1886 1568 1487 1236 605 1316 1337 315 689 1922 1227 1120 435 1260 1213 1152 1905 956 925 1542 1064 ...
output:
68F82AC1898AF4BFACDCBB49543233A61773093A OK Passed using 160319 operation(s): scoring 1.000 1.0000000000
result:
ok Passed using 160319 operation(s): scoring 1.000
Test #92:
score: 10
Accepted
time: 2ms
memory: 3992kb
input:
3002 0 167 2914 131 2383 2275 1603 2009 2637 2085 1605 215 1119 1032 1352 799 2681 2622 1876 1400 202 931 2996 800 1958 108 263 2490 1812 2940 1860 508 286 1042 299 2581 1223 594 2414 2256 1120 1604 1833 2967 572 2807 1554 1048 1151 350 1830 2593 823 2582 1600 409 1382 2276 1698 281 1863 1208 1894 2...
output:
68F82AC1898AF4BFACDCBB49543233A61773093A OK Passed using 300299 operation(s): scoring 1.000 1.0000000000
result:
ok Passed using 300299 operation(s): scoring 1.000
Test #93:
score: 10
Accepted
time: 3ms
memory: 3904kb
input:
4001 0 3751 2983 1519 958 3118 2231 3295 1730 1660 264 3509 3252 2342 3573 977 422 642 1551 2058 1177 1704 1502 516 1685 244 2752 1789 119 1274 509 1316 1569 2621 3083 974 1895 1865 1057 1015 779 1082 3915 3889 124 160 2433 338 3048 1295 592 708 1665 2895 3806 3868 3183 2357 3390 1449 1811 1448 3578...
output:
68F82AC1898AF4BFACDCBB49543233A61773093A OK Passed using 468233 operation(s): scoring 1.000 1.0000000000
result:
ok Passed using 468233 operation(s): scoring 1.000
Test #94:
score: 10
Accepted
time: 0ms
memory: 3868kb
input:
10 0 3 2 1 5 4 6 9 8 7
output:
68F82AC1898AF4BFACDCBB49543233A61773093A OK Passed using 54 operation(s): scoring 1.000 1.0000000000
result:
ok Passed using 54 operation(s): scoring 1.000
Test #95:
score: 10
Accepted
time: 0ms
memory: 3988kb
input:
10 0 8 1 3 6 9 5 2 4 7
output:
68F82AC1898AF4BFACDCBB49543233A61773093A OK Passed using 76 operation(s): scoring 1.000 1.0000000000
result:
ok Passed using 76 operation(s): scoring 1.000
Test #96:
score: 10
Accepted
time: 0ms
memory: 3988kb
input:
10 0 8 4 9 6 2 1 5 3 7
output:
68F82AC1898AF4BFACDCBB49543233A61773093A OK Passed using 54 operation(s): scoring 1.000 1.0000000000
result:
ok Passed using 54 operation(s): scoring 1.000
Test #97:
score: 10
Accepted
time: 0ms
memory: 3876kb
input:
70 0 35 22 19 46 16 44 39 21 40 34 20 24 56 60 61 5 43 38 4 25 13 41 54 7 29 42 65 8 12 55 52 11 18 67 50 36 10 49 59 51 1 9 62 23 33 37 69 3 45 66 28 30 58 17 31 64 48 26 27 47 57 53 68 2 6 32 63 14 15
output:
68F82AC1898AF4BFACDCBB49543233A61773093A OK Passed using 1064 operation(s): scoring 1.000 1.0000000000
result:
ok Passed using 1064 operation(s): scoring 1.000
Test #98:
score: 10
Accepted
time: 1ms
memory: 3936kb
input:
900 0 899 898 897 896 895 894 893 892 891 890 889 888 887 886 885 884 883 882 881 880 879 878 877 876 875 874 873 872 871 870 869 868 867 866 865 864 863 862 861 860 859 858 857 856 855 854 853 852 851 850 849 848 847 846 845 844 843 842 841 840 839 838 837 836 835 834 833 832 831 830 829 828 827 82...
output:
68F82AC1898AF4BFACDCBB49543233A61773093A OK Passed using 50455 operation(s): scoring 1.000 1.0000000000
result:
ok Passed using 50455 operation(s): scoring 1.000
Test #99:
score: 10
Accepted
time: 0ms
memory: 3868kb
input:
1 0
output:
68F82AC1898AF4BFACDCBB49543233A61773093A OK Passed using 3 operation(s): scoring 1.000 1.0000000000
result:
ok Passed using 3 operation(s): scoring 1.000
Test #100:
score: 10
Accepted
time: 0ms
memory: 3920kb
input:
2 0 1
output:
68F82AC1898AF4BFACDCBB49543233A61773093A OK Passed using 8 operation(s): scoring 1.000 1.0000000000
result:
ok Passed using 8 operation(s): scoring 1.000
Test #101:
score: 10
Accepted
time: 0ms
memory: 4004kb
input:
3 0 1 2
output:
68F82AC1898AF4BFACDCBB49543233A61773093A OK Passed using 7 operation(s): scoring 1.000 1.0000000000
result:
ok Passed using 7 operation(s): scoring 1.000
Test #102:
score: 10
Accepted
time: 0ms
memory: 3996kb
input:
4 0 3 2 1
output:
68F82AC1898AF4BFACDCBB49543233A61773093A OK Passed using 14 operation(s): scoring 1.000 1.0000000000
result:
ok Passed using 14 operation(s): scoring 1.000
Test #103:
score: 10
Accepted
time: 0ms
memory: 3992kb
input:
5 0 1 2 3 4
output:
68F82AC1898AF4BFACDCBB49543233A61773093A OK Passed using 17 operation(s): scoring 1.000 1.0000000000
result:
ok Passed using 17 operation(s): scoring 1.000
Test #104:
score: 10
Accepted
time: 0ms
memory: 4064kb
input:
10 0 1 2 3 4 5 6 7 8 9
output:
68F82AC1898AF4BFACDCBB49543233A61773093A OK Passed using 54 operation(s): scoring 1.000 1.0000000000
result:
ok Passed using 54 operation(s): scoring 1.000
Test #105:
score: 10
Accepted
time: 0ms
memory: 3784kb
input:
49 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48
output:
68F82AC1898AF4BFACDCBB49543233A61773093A OK Passed using 599 operation(s): scoring 1.000 1.0000000000
result:
ok Passed using 599 operation(s): scoring 1.000
Test #106:
score: 10
Accepted
time: 0ms
memory: 3868kb
input:
123 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 10...
output:
68F82AC1898AF4BFACDCBB49543233A61773093A OK Passed using 2231 operation(s): scoring 1.000 1.0000000000
result:
ok Passed using 2231 operation(s): scoring 1.000
Test #107:
score: 10
Accepted
time: 0ms
memory: 3944kb
input:
4992 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 1...
output:
68F82AC1898AF4BFACDCBB49543233A61773093A OK Passed using 669061 operation(s): scoring 1.000 1.0000000000
result:
ok Passed using 669061 operation(s): scoring 1.000
Test #108:
score: 10
Accepted
time: 4ms
memory: 3968kb
input:
4999 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 1...
output:
68F82AC1898AF4BFACDCBB49543233A61773093A OK Passed using 704999 operation(s): scoring 1.000 1.0000000000
result:
ok Passed using 704999 operation(s): scoring 1.000
Test #109:
score: 10
Accepted
time: 3ms
memory: 4092kb
input:
4929 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 1...
output:
68F82AC1898AF4BFACDCBB49543233A61773093A OK Passed using 635969 operation(s): scoring 1.000 1.0000000000
result:
ok Passed using 635969 operation(s): scoring 1.000
Subtask #5:
score: 60
Accepted
Dependency #3:
100%
Accepted
Dependency #4:
100%
Accepted
Test #110:
score: 60
Accepted
time: 4ms
memory: 4032kb
input:
5000 3186 1190 3593 4442 2400 468 706 3754 164 3912 3879 4335 361 3238 4648 3337 1416 1194 643 2973 1575 2755 420 2318 1185 1982 3140 1687 4473 4680 3168 912 4683 2255 3122 3671 4895 1269 3053 3446 66 672 3268 4493 3278 3136 106 4535 3900 270 1268 1311 4764 4623 4860 202 1386 1441 2471 3596 4955 389...
output:
68F82AC1898AF4BFACDCBB49543233A61773093A OK Passed using 635126 operation(s): scoring 1.000 1.0000000000
result:
ok Passed using 635126 operation(s): scoring 1.000
Test #111:
score: 60
Accepted
time: 4ms
memory: 3968kb
input:
5000 4812 1613 1841 3179 4168 2142 2545 2653 717 2282 4227 2577 2308 3308 637 1300 391 4907 3716 1894 4980 4377 3458 2792 1904 70 1003 2852 881 2215 1076 4771 1573 67 1228 4195 762 2081 1135 4122 3802 2024 1699 1612 85 217 2260 1720 111 4975 1216 4160 1942 2664 4615 402 4184 1460 2478 3986 202 112 7...
output:
68F82AC1898AF4BFACDCBB49543233A61773093A OK Passed using 665132 operation(s): scoring 1.000 1.0000000000
result:
ok Passed using 665132 operation(s): scoring 1.000
Test #112:
score: 60
Accepted
time: 4ms
memory: 4112kb
input:
4999 3186 1190 3593 4442 2400 468 706 3754 164 3912 3879 4335 361 3238 4648 3337 1416 1194 643 2973 1575 2755 420 2318 1185 1982 3140 1687 4473 4680 3168 912 4683 2255 3122 3671 4895 1269 3053 3446 66 672 3268 4493 3278 3136 106 4535 3900 270 1268 1311 4764 4623 4860 202 1386 1441 2471 3596 4955 389...
output:
68F82AC1898AF4BFACDCBB49543233A61773093A OK Passed using 694999 operation(s): scoring 1.000 1.0000000000
result:
ok Passed using 694999 operation(s): scoring 1.000
Test #113:
score: 60
Accepted
time: 4ms
memory: 4032kb
input:
4999 4812 1613 1841 3179 4168 2142 2545 2653 717 2282 4227 2577 2308 3308 637 1300 391 4907 3716 1894 4980 4377 3458 2792 1904 70 1003 2852 881 2215 1076 4771 1573 67 1228 4195 762 2081 1135 4122 3802 2024 1699 1612 85 217 2260 1720 111 4975 1216 4160 1942 2664 4615 402 4184 1460 2478 3986 202 112 7...
output:
68F82AC1898AF4BFACDCBB49543233A61773093A OK Passed using 674999 operation(s): scoring 1.000 1.0000000000
result:
ok Passed using 674999 operation(s): scoring 1.000
Test #114:
score: 60
Accepted
time: 4ms
memory: 3928kb
input:
4998 3186 1190 3593 4442 2400 468 706 3754 164 3912 3879 4335 361 3238 4648 3337 1416 1194 643 2973 1575 2755 420 2318 1185 1982 3140 1687 4473 4680 3168 912 4683 2255 3122 3671 4895 1269 3053 3446 66 672 3268 4493 3278 3136 106 4535 3900 270 1268 1311 4764 4623 4860 202 1386 1441 2471 3596 4955 389...
output:
68F82AC1898AF4BFACDCBB49543233A61773093A OK Passed using 659867 operation(s): scoring 1.000 1.0000000000
result:
ok Passed using 659867 operation(s): scoring 1.000
Test #115:
score: 60
Accepted
time: 4ms
memory: 3972kb
input:
4998 4812 1613 1841 3179 4168 2142 2545 2653 717 2282 4227 2577 2308 3308 637 1300 391 4907 3716 1894 4980 4377 3458 2792 1904 70 1003 2852 881 2215 1076 4771 1573 67 1228 4195 762 2081 1135 4122 3802 2024 1699 1612 85 217 2260 1720 111 4975 1216 4160 1942 2664 4615 402 4184 1460 2478 3986 202 112 7...
output:
68F82AC1898AF4BFACDCBB49543233A61773093A OK Passed using 699859 operation(s): scoring 1.000 1.0000000000
result:
ok Passed using 699859 operation(s): scoring 1.000
Test #116:
score: 60
Accepted
time: 4ms
memory: 3976kb
input:
5000 350 701 4668 1557 578 2704 1145 643 4119 2216 4785 4858 4279 362 2179 2517 4249 1204 561 4027 4137 4308 2309 3467 4910 759 2848 4381 1646 4388 3740 1981 1510 3033 3831 2662 895 4245 535 3966 3956 2387 2221 4461 4667 1373 680 2920 1978 4347 2125 4814 4304 4932 721 4282 4064 1728 2448 805 668 363...
output:
68F82AC1898AF4BFACDCBB49543233A61773093A OK Passed using 650129 operation(s): scoring 1.000 1.0000000000
result:
ok Passed using 650129 operation(s): scoring 1.000
Test #117:
score: 60
Accepted
time: 4ms
memory: 3956kb
input:
5000 3361 1707 1634 3972 1800 719 1167 206 1176 4164 1627 3794 4688 2729 1305 4696 1540 2033 2200 2684 133 325 712 4415 503 1889 2558 48 1505 1675 4435 2233 474 3300 4015 4977 217 2149 3664 4514 3984 3233 3527 951 4579 2402 4881 976 717 1590 3171 637 1736 2167 4815 1303 3403 2076 2953 2073 2816 2045...
output:
68F82AC1898AF4BFACDCBB49543233A61773093A OK Passed using 690137 operation(s): scoring 1.000 1.0000000000
result:
ok Passed using 690137 operation(s): scoring 1.000
Test #118:
score: 60
Accepted
time: 4ms
memory: 4032kb
input:
5000 1 710 4666 4305 851 2751 1822 125 3818 878 351 4310 2842 303 1681 4865 3195 2805 2545 2526 277 3362 2769 4313 2061 546 892 1449 4265 4765 4563 586 2446 2560 1170 4178 3220 3921 1989 2567 2534 2551 313 438 4329 610 3798 2113 1299 3475 33 4187 3336 2728 2822 4888 4798 1381 3754 1202 1766 3382 131...
output:
68F82AC1898AF4BFACDCBB49543233A61773093A OK Passed using 705140 operation(s): scoring 1.000 1.0000000000
result:
ok Passed using 705140 operation(s): scoring 1.000
Test #119:
score: 60
Accepted
time: 4ms
memory: 4108kb
input:
5000 1320 280 2888 194 3732 3292 3084 600 1418 1659 3037 4132 960 3625 1259 3530 1645 3699 1821 4756 4052 1956 2365 1693 4418 4736 2918 3303 4867 3033 4886 1609 2561 3173 751 444 1613 216 4276 3212 127 2663 864 1858 35 348 803 3432 3675 2673 2506 239 761 77 1174 3044 816 3957 1989 49 2471 2958 3333 ...
output:
68F82AC1898AF4BFACDCBB49543233A61773093A OK Passed using 665132 operation(s): scoring 1.000 1.0000000000
result:
ok Passed using 665132 operation(s): scoring 1.000
Test #120:
score: 60
Accepted
time: 4ms
memory: 4008kb
input:
5000 4469 1588 3798 4972 2164 4632 1993 939 239 177 776 4543 2519 3239 1943 1154 3033 2198 707 30 3981 4097 387 1587 3726 3754 3785 4806 3742 980 3137 3675 2244 1995 3495 4101 3391 3159 2126 860 3168 3865 4575 3249 841 1659 184 4407 1077 1285 4548 3831 951 320 2466 4978 4789 258 2034 2024 2536 1142 ...
output:
68F82AC1898AF4BFACDCBB49543233A61773093A OK Passed using 700139 operation(s): scoring 1.000 1.0000000000
result:
ok Passed using 700139 operation(s): scoring 1.000
Test #121:
score: 60
Accepted
time: 4ms
memory: 3968kb
input:
5000 234 855 3325 1874 204 1041 4049 495 3060 141 4257 463 3647 226 3694 3795 4640 2054 45 2618 4450 248 2176 4130 4012 3039 3511 3880 2227 1588 4859 2624 1204 2243 4607 4896 3691 1031 1297 645 4860 2925 1418 2777 488 3326 905 92 2629 1902 1772 3999 3674 2926 739 490 3788 908 1579 2202 2679 4929 337...
output:
68F82AC1898AF4BFACDCBB49543233A61773093A OK Passed using 675134 operation(s): scoring 1.000 1.0000000000
result:
ok Passed using 675134 operation(s): scoring 1.000
Test #122:
score: 60
Accepted
time: 1ms
memory: 4096kb
input:
5000 30 9 96 4 87 159 33 42 128 166 29 122 20 38 94 71 25 68 117 85 65 10 215 28 98 207 97 275 60 138 82 89 184 202 103 132 226 108 64 113 134 34 11 43 238 101 15 141 271 189 84 31 142 136 148 86 59 312 14 347 67 151 44 53 91 234 76 174 26 2 165 188 35 153 209 12 256 257 107 125 32 74 123 190 139 13...
output:
68F82AC1898AF4BFACDCBB49543233A61773093A OK Passed using 675134 operation(s): scoring 1.000 1.0000000000
result:
ok Passed using 675134 operation(s): scoring 1.000
Test #123:
score: 60
Accepted
time: 0ms
memory: 4164kb
input:
5000 177 584 261 53 791 202 92 698 725 3 481 430 22 406 221 68 586 67 557 389 767 151 1128 364 383 829 608 192 379 983 291 54 285 292 231 603 111 46 75 166 575 867 182 81 686 1306 93 419 841 439 9 320 350 244 1328 512 523 650 849 318 773 426 870 770 510 129 216 268 257 118 607 1016 14 116 184 670 56...
output:
68F82AC1898AF4BFACDCBB49543233A61773093A OK Passed using 675134 operation(s): scoring 1.000 1.0000000000
result:
ok Passed using 675134 operation(s): scoring 1.000
Test #124:
score: 60
Accepted
time: 4ms
memory: 3960kb
input:
5000 898 2321 1368 3870 605 393 1236 3222 3976 2073 322 259 242 2571 4260 4509 731 1033 3474 330 442 1408 1314 1531 51 389 556 85 152 558 3971 1973 787 681 1983 1350 3119 3522 1768 1090 1918 956 1772 2326 1001 354 4784 1196 1841 1508 150 2140 800 225 1293 2018 1603 530 4971 1648 540 1633 4941 2213 1...
output:
68F82AC1898AF4BFACDCBB49543233A61773093A OK Passed using 685136 operation(s): scoring 1.000 1.0000000000
result:
ok Passed using 685136 operation(s): scoring 1.000
Test #125:
score: 60
Accepted
time: 4ms
memory: 4008kb
input:
5000 2832 4006 4570 983 2529 1688 2787 1137 105 4569 2447 234 1402 2402 2075 535 1517 3275 1802 2291 681 196 372 653 2942 4555 46 3024 927 1432 2171 2967 4456 321 579 3572 3442 2178 2989 1285 666 3488 2521 2857 1728 4121 2493 3755 1733 3907 2534 1521 595 805 2228 1534 3172 973 3227 201 591 1039 2516...
output:
68F82AC1898AF4BFACDCBB49543233A61773093A OK Passed using 665132 operation(s): scoring 1.000 1.0000000000
result:
ok Passed using 665132 operation(s): scoring 1.000
Test #126:
score: 60
Accepted
time: 4ms
memory: 4004kb
input:
5000 860 2497 3452 4289 2124 828 4378 4417 2661 62 3875 503 4459 1338 45 1351 2619 919 4734 4248 4942 1284 721 4203 3075 1807 101 275 3888 1813 4402 2551 3445 4738 4556 3049 4620 2173 156 2380 694 3568 4653 2453 1440 1025 3184 3906 1908 2621 4913 2586 1341 432 3671 2931 1965 650 120 3601 2004 700 48...
output:
68F82AC1898AF4BFACDCBB49543233A61773093A OK Passed using 660131 operation(s): scoring 1.000 1.0000000000
result:
ok Passed using 660131 operation(s): scoring 1.000
Test #127:
score: 60
Accepted
time: 1ms
memory: 3892kb
input:
1024 153 353 533 24 609 217 873 57 326 1020 748 475 867 851 344 770 959 300 668 322 129 957 759 400 920 44 351 840 56 202 109 1006 282 522 408 314 934 816 561 607 104 6 645 753 404 999 994 29 389 43 795 996 156 77 144 46 627 182 214 336 622 801 570 118 506 79 115 719 116 824 306 724 371 527 632 760 ...
output:
68F82AC1898AF4BFACDCBB49543233A61773093A OK Passed using 59449 operation(s): scoring 1.000 1.0000000000
result:
ok Passed using 59449 operation(s): scoring 1.000
Test #128:
score: 60
Accepted
time: 1ms
memory: 3872kb
input:
2048 856 1332 974 866 648 877 999 2001 564 374 1242 1829 1301 1813 1486 127 1625 1763 537 398 639 1968 1058 1485 1805 879 1749 1350 1918 899 1358 608 812 363 757 379 1299 340 568 2030 1429 795 1232 1534 1049 1962 1161 1410 1163 259 446 1624 1825 1361 1005 1972 1627 1333 192 1227 555 1119 1637 60 168...
output:
68F82AC1898AF4BFACDCBB49543233A61773093A OK Passed using 184409 operation(s): scoring 1.000 1.0000000000
result:
ok Passed using 184409 operation(s): scoring 1.000
Test #129:
score: 60
Accepted
time: 2ms
memory: 3976kb
input:
3072 94 557 314 720 234 9 368 383 302 47 86 669 117 131 207 191 286 293 92 91 548 498 59 375 679 509 164 543 70 490 182 271 89 745 623 128 388 2 140 142 10 210 22 310 122 18 339 361 464 335 459 121 705 316 340 1 290 451 497 387 69 648 596 309 259 549 158 200 237 153 281 636 507 34 67 80 78 573 217 1...
output:
68F82AC1898AF4BFACDCBB49543233A61773093A OK Passed using 338029 operation(s): scoring 1.000 1.0000000000
result:
ok Passed using 338029 operation(s): scoring 1.000
Test #130:
score: 60
Accepted
time: 3ms
memory: 4084kb
input:
4096 790 1873 1096 921 2781 2204 3470 377 1495 1308 2256 1711 2700 2263 2860 228 3659 791 3314 2683 3065 1332 2042 1803 2500 2586 1783 3608 3734 432 2308 2395 1465 1110 2304 419 3035 2075 3026 1479 1670 281 1212 974 1434 3924 3425 3933 3095 3763 1560 2089 3704 2293 2216 408 884 3437 1687 3353 2470 2...
output:
68F82AC1898AF4BFACDCBB49543233A61773093A OK Passed using 495736 operation(s): scoring 1.000 1.0000000000
result:
ok Passed using 495736 operation(s): scoring 1.000
Test #131:
score: 60
Accepted
time: 3ms
memory: 3924kb
input:
4577 114 160 54 168 85 71 17 20 113 19 52 66 9 29 13 46 39 65 111 0 18 131 102 32 70 82 45 23 68 63 38 49 36 67 120 53 30 28 10 22 3 25 146 91 62 56 104 132 148 11 40 165 97 81 37 201 96 143 24 93 27 59 107 90 60 99 139 87 8 47 34 210 16 117 121 12 77 79 58 64 31 14 7 57 103 50 6 106 4 118 1 84 137 ...
output:
68F82AC1898AF4BFACDCBB49543233A61773093A OK Passed using 599717 operation(s): scoring 1.000 1.0000000000
result:
ok Passed using 599717 operation(s): scoring 1.000
Test #132:
score: 60
Accepted
time: 3ms
memory: 3976kb
input:
4999 4998 4997 4996 4995 4994 4993 4992 4991 4990 4989 4988 4987 4986 4985 4984 4983 4982 4981 4980 4979 4978 4977 4976 4975 4974 4973 4972 4971 4970 4969 4968 4967 4966 4965 4964 4963 4962 4961 4960 4959 4958 4957 4956 4955 4954 4953 4952 4951 4950 4949 4948 4947 4946 4945 4944 4943 4942 4941 4940 ...
output:
68F82AC1898AF4BFACDCBB49543233A61773093A OK Passed using 659999 operation(s): scoring 1.000 1.0000000000
result:
ok Passed using 659999 operation(s): scoring 1.000
Test #133:
score: 60
Accepted
time: 4ms
memory: 3928kb
input:
4999 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 1...
output:
68F82AC1898AF4BFACDCBB49543233A61773093A OK Passed using 669999 operation(s): scoring 1.000 1.0000000000
result:
ok Passed using 669999 operation(s): scoring 1.000
Test #134:
score: 60
Accepted
time: 4ms
memory: 4024kb
input:
4999 79 164 214 177 109 320 212 318 107 21 319 10 295 46 258 134 245 282 204 301 355 78 60 413 9 326 26 281 92 94 118 97 263 150 56 260 167 384 71 292 41 183 147 38 23 620 133 179 128 222 199 186 161 24 19 221 80 42 52 72 139 172 99 188 299 100 508 227 163 68 313 229 314 108 470 53 286 66 331 208 22...
output:
68F82AC1898AF4BFACDCBB49543233A61773093A OK Passed using 674999 operation(s): scoring 1.000 1.0000000000
result:
ok Passed using 674999 operation(s): scoring 1.000