QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#487586#6661. 야유회Rafi22#69 589ms32672kbC++201.8kb2024-07-23 00:21:022024-07-23 00:21:02

Judging History

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

  • [2024-07-23 00:21:02]
  • 评测
  • 测评结果:69
  • 用时:589ms
  • 内存:32672kb
  • [2024-07-23 00:21:02]
  • 提交

answer

#include "workshop.h"
#include <bits/stdc++.h>

using namespace std;

#ifdef DEBUG
auto&operator<<(auto&o,pair<auto,auto>p){return o<<"("<<p.first<<", "<<p.second<<")";}
auto operator<<(auto&o,auto x)->decltype(x.end(),o){o<<"{";int i=0;for(auto e:x)o<<","+!i++<<e;return o<<"}";}
#define debug(X...)cerr<<"["#X"]: ",[](auto...$){((cerr<<$<<"; "),...)<<endl;}(X)
#else
#define debug(...){}
#endif

#define ll long long
#define ld long double
#define endl '\n'
#define st first
#define nd second
#define pb push_back
#define sz(x) (int)(x).size()
#define all(x) (x).begin(), (x).end()
#define FOR(i,l,r) for(int i=(l);i<=(r);i++)
#define ROF(i,r,l) for(int i=(r);i>=(l);i--)
int inf=1000000007;
ll infl=1000000000000000007;
ll mod=1000000007;
ll mod1=998244353;

const int K=5,N=9999999;

int w[N];

void init()
{
	mt19937 mt;
	mt.seed(112137);
	FOR(i,0,N-1) w[i]=mt()%1000000000;
}

int morning(int x,int r)
{
	x=w[x]%N;
	if(w[x]%2==1) return w[x]%N;
	else 
	{
		int ban=-1;
		if(w[r]%2==1) ban=w[w[w[r]%N]%N]%K;
		while(w[w[x]%N]%K==ban) x=w[x]%N;
		return w[x]%N;
	}
}

int get_val(int x)
{
	int ban=w[x]%K;
	while(w[x]%K==ban) x=w[x]%N;
	return x;
}

int afternoon(int l,int x,int r) 
{
	if(w[l]%K==w[x]%K&&w[r]%K==w[x]%K) 
	{
		if(w[x]%2==1) return get_val(x);
		else
		{
			int ban=w[x]%K,ban1=-1,ban2=-1;
			if(w[l]%2==1) ban1=w[get_val(l)]%K;
			if(w[r]%2==1) ban2=w[get_val(r)]%K;
			while(w[x]%K==ban||w[x]%K==ban1||w[x]%K==ban2) x=w[x]%N;
			return x;
		}
	}
	else return x;
}

int evening(int l,int x,int r)
{
	int T=x;
	x=w[x]%K;
	l=w[l]%K;
	r=w[r]%K;
	if(l==x&&r==x) return (x+1+T%(K-3))%K;
	else if(r==x) 
	{
		if(l==(x-1+K)%K) return (x-2+K)%K;
		else return (x-1+K)%K;
	}
	else return x;
}

详细

Subtask #1:

score: 5
Accepted

Test #1:

score: 5
Accepted
time: 60ms = 59ms + 1ms

input:

2dc2b1d4-8de2-INPUT-bcd3-aa55b691fdb3
1
2
40 40
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 40
0 3 1 5 7 9 6 4 2 10 8 23 21 25 27 29 26 24 22 30 28 13 11 15 17 19 16 14 12 20 18 33 31 35 37 39 36 34 32 38

output:

dd180566-1d37-PIPE-b85d-c176ae85727d
5 2
28 28 28 28
89 88 8b 8a 8d 8c 8f 8e 81 80 83 82 85 84 87 86 99 98 9b 9a 9d 9c 9f 9e 91 90 93 92 95 94 97 96 a9 a8 ab aa ad ac af ae 
007aa7ef 0038b699 007d58d5 001cb989 002c13f0 00104015 004923f9 008bbaf8 0044793e 0084e498 0072c100 00479218 007177bd 001d5a05 ...

input:

dd180566-1d37-PIPE-b85d-c176ae85727d
5 2
28 28 28 28
89 88 8b 8a 8d 8c 8f 8e 81 80 83 82 85 84 87 86 99 98 9b 9a 9d 9c 9f 9e 91 90 93 92 95 94 97 96 a9 a8 ab aa ad ac af ae 
007aa7ef 0038b699 007d58d5 001cb989 002c13f0 00104015 004923f9 008bbaf8 0044793e 0084e498 0072c100 00479218 007177bd 001d5a05 ...

output:

4468cc07-dabe-OUTPUT-ba95-7ddd49645c94
5

result:

ok Correct, m = 5

Test #2:

score: 5
Accepted
time: 75ms = 74ms + 1ms

input:

2dc2b1d4-8de2-INPUT-bcd3-aa55b691fdb3
1
2
40 7
6 9 4 2 1 5 7
40 10
6 9 4 2 0 1 5 7 3 8

output:

dd180566-1d37-PIPE-b85d-c176ae85727d
5 2
7 6 4 2
8f 80 8d 8b 88 8c 8e 
004923f9 0084e498 002c13f0 007d58d5 002dd587 00104015 
0084e498 002c13f0 007d58d5 002dd587 
8a 8d 
a 9 7 5
8f 80 8d 8b 89 88 8c 8e 8a 81 
004923f9 0084e498 002c13f0 007d58d5 007aa7ef 002dd587 00104015 008bbaf8 001cb989 
0084e498 ...

input:

dd180566-1d37-PIPE-b85d-c176ae85727d
5 2
7 6 4 2
8f 80 8d 8b 88 8c 8e 
004923f9 0084e498 002c13f0 007d58d5 002dd587 00104015 
0084e498 002c13f0 007d58d5 002dd587 
8a 8d 
a 9 7 5
8f 80 8d 8b 89 88 8c 8e 8a 81 
004923f9 0084e498 002c13f0 007d58d5 007aa7ef 002dd587 00104015 008bbaf8 001cb989 
0084e498 ...

output:

4468cc07-dabe-OUTPUT-ba95-7ddd49645c94
5

result:

ok Correct, m = 5

Test #3:

score: 5
Accepted
time: 463ms = 461ms + 2ms

input:

2dc2b1d4-8de2-INPUT-bcd3-aa55b691fdb3
1
25000
40 40
12 4 16 7 26 21 10 20 0 32 15 3 33 37 23 8 34 38 13 1 29 18 17 25 39 35 31 24 36 28 30 9 14 5 19 22 2 27 11 6
40 40
3 34 21 38 36 7 33 39 26 15 2 13 22 20 5 25 10 12 30 35 0 31 24 17 11 37 32 18 9 28 6 16 23 27 1 4 8 14 19 29
40 40
18 34 29 31 22 3...

output:

dd180566-1d37-PIPE-b85d-c176ae85727d
5 25000
28 28 28 28
85 8d 99 8e 93 9c 83 9d 89 a9 86 8a a8 ac 9e 81 ab af 84 88 94 9b 98 90 ae aa 96 91 ad 95 97 80 87 8c 9a 9f 8b 92 82 8f 
007177bd 002c13f0 00889f66 008bbaf8 0057c7d0 00836bb3 0072c100 006e8679 007aa7ef 000559d8 000a6efb 001cb989 000bfe01 00661...

input:

dd180566-1d37-PIPE-b85d-c176ae85727d
5 25000
28 28 28 28
85 8d 99 8e 93 9c 83 9d 89 a9 86 8a a8 ac 9e 81 ab af 84 88 94 9b 98 90 ae aa 96 91 ad 95 97 80 87 8c 9a 9f 8b 92 82 8f 
007177bd 002c13f0 00889f66 008bbaf8 0057c7d0 00836bb3 0072c100 006e8679 007aa7ef 000559d8 000a6efb 001cb989 000bfe01 00661...

output:

4468cc07-dabe-OUTPUT-ba95-7ddd49645c94
5

result:

ok Correct, m = 5

Test #4:

score: 5
Accepted
time: 79ms = 78ms + 1ms

input:

2dc2b1d4-8de2-INPUT-bcd3-aa55b691fdb3
1
2
10 7
6 9 4 2 1 5 7
10 10
6 9 4 2 0 1 5 7 3 8

output:

dd180566-1d37-PIPE-b85d-c176ae85727d
5 2
7 6 4 2
8f 80 8d 8b 88 8c 8e 
004923f9 0084e498 002c13f0 007d58d5 002dd587 00104015 
0084e498 002c13f0 007d58d5 002dd587 
8a 8d 
a a a a
8f 80 8d 8b 89 88 8c 8e 8a 81 
004923f9 0084e498 002c13f0 007d58d5 007aa7ef 002dd587 00104015 008bbaf8 001cb989 0044793e 
...

input:

dd180566-1d37-PIPE-b85d-c176ae85727d
5 2
7 6 4 2
8f 80 8d 8b 88 8c 8e 
004923f9 0084e498 002c13f0 007d58d5 002dd587 00104015 
0084e498 002c13f0 007d58d5 002dd587 
8a 8d 
a a a a
8f 80 8d 8b 89 88 8c 8e 8a 81 
004923f9 0084e498 002c13f0 007d58d5 007aa7ef 002dd587 00104015 008bbaf8 001cb989 0044793e 
...

output:

4468cc07-dabe-OUTPUT-ba95-7ddd49645c94
5

result:

ok Correct, m = 5

Test #5:

score: 5
Accepted
time: 552ms = 550ms + 2ms

input:

2dc2b1d4-8de2-INPUT-bcd3-aa55b691fdb3
1
100000
10 10
4 8 3 7 1 0 2 5 6 9
10 10
3 7 9 4 5 6 0 1 8 2
10 10
9 3 6 1 0 4 2 7 8 5
10 10
2 8 6 3 1 5 0 4 9 7
10 10
1 7 5 3 4 0 6 9 8 2
10 10
2 1 0 7 5 9 3 6 4 8
10 10
5 2 9 3 6 0 1 7 8 4
10 10
3 6 8 2 1 5 9 7 4 0
10 10
6 4 2 8 3 0 7 1 9 5
10 10
9 2 6 0 4 7 1...

output:

dd180566-1d37-PIPE-b85d-c176ae85727d
5 100000
a a a a
8d 81 8a 8e 88 89 8b 8c 8f 80 
002c13f0 0044793e 001cb989 008bbaf8 0038b699 007aa7ef 007d58d5 00104015 004923f9 0084e498 
0044793e 001cb989 008bbaf8 0038b699 0074c25f 007e0d67 00104015 004923f9 0084e498 002c13f0 
8b 8a 8d 88 8b 8d 89 88 8a 89 
a ...

input:

dd180566-1d37-PIPE-b85d-c176ae85727d
5 100000
a a a a
8d 81 8a 8e 88 89 8b 8c 8f 80 
002c13f0 0044793e 001cb989 008bbaf8 0038b699 007aa7ef 007d58d5 00104015 004923f9 0084e498 
0044793e 001cb989 008bbaf8 0038b699 0074c25f 007e0d67 00104015 004923f9 0084e498 002c13f0 
8b 8a 8d 88 8b 8d 89 88 8a 89 
a ...

output:

4468cc07-dabe-OUTPUT-ba95-7ddd49645c94
5

result:

ok Correct, m = 5

Test #6:

score: 5
Accepted
time: 460ms = 458ms + 2ms

input:

2dc2b1d4-8de2-INPUT-bcd3-aa55b691fdb3
1
128929
10 10
4 8 3 7 1 0 2 5 6 9
10 9
8 0 6 7 5 2 4 3 1
10 8
5 9 3 8 2 6 7 1
10 10
0 1 4 5 7 2 9 8 6 3
10 7
1 3 5 0 2 4 8
10 7
2 4 7 6 1 9 0
10 9
5 9 6 3 1 4 7 0 8
10 9
1 5 4 6 8 0 9 2 3
10 7
7 4 6 9 2 8 0
10 10
8 4 6 5 0 9 2 3 1 7
10 9
0 9 6 4 2 3 1 8 7
10 10...

output:

dd180566-1d37-PIPE-b85d-c176ae85727d
5 128929
a a a a
8d 81 8a 8e 88 89 8b 8c 8f 80 
002c13f0 0044793e 001cb989 008bbaf8 0038b699 007aa7ef 007d58d5 00104015 004923f9 0084e498 
0044793e 001cb989 008bbaf8 0038b699 0074c25f 007e0d67 00104015 004923f9 0084e498 002c13f0 
8b 8a 8d 88 8b 8d 89 88 8a 89 
9 ...

input:

dd180566-1d37-PIPE-b85d-c176ae85727d
5 128929
a a a a
8d 81 8a 8e 88 89 8b 8c 8f 80 
002c13f0 0044793e 001cb989 008bbaf8 0038b699 007aa7ef 007d58d5 00104015 004923f9 0084e498 
0044793e 001cb989 008bbaf8 0038b699 0074c25f 007e0d67 00104015 004923f9 0084e498 002c13f0 
8b 8a 8d 88 8b 8d 89 88 8a 89 
9 ...

output:

4468cc07-dabe-OUTPUT-ba95-7ddd49645c94
5

result:

ok Correct, m = 5

Test #7:

score: 5
Accepted
time: 474ms = 472ms + 2ms

input:

2dc2b1d4-8de2-INPUT-bcd3-aa55b691fdb3
1
44333
40 40
12 4 16 7 26 21 10 20 0 32 15 3 33 37 23 8 34 38 13 1 29 18 17 25 39 35 31 24 36 28 30 9 14 5 19 22 2 27 11 6
40 31
10 24 13 28 30 27 31 29 20 37 34 35 19 36 25 12 21 9 0 32 22 26 4 38 3 17 2 23 33 16 15
40 23
6 8 19 2 3 24 25 7 23 12 0 13 31 17 39...

output:

dd180566-1d37-PIPE-b85d-c176ae85727d
5 44333
28 28 28 28
85 8d 99 8e 93 9c 83 9d 89 a9 86 8a a8 ac 9e 81 ab af 84 88 94 9b 98 90 ae aa 96 91 ad 95 97 80 87 8c 9a 9f 8b 92 82 8f 
007177bd 002c13f0 00889f66 008bbaf8 0057c7d0 00836bb3 0072c100 006e8679 007aa7ef 000559d8 000a6efb 001cb989 000bfe01 00661...

input:

dd180566-1d37-PIPE-b85d-c176ae85727d
5 44333
28 28 28 28
85 8d 99 8e 93 9c 83 9d 89 a9 86 8a a8 ac 9e 81 ab af 84 88 94 9b 98 90 ae aa 96 91 ad 95 97 80 87 8c 9a 9f 8b 92 82 8f 
007177bd 002c13f0 00889f66 008bbaf8 0057c7d0 00836bb3 0072c100 006e8679 007aa7ef 000559d8 000a6efb 001cb989 000bfe01 00661...

output:

4468cc07-dabe-OUTPUT-ba95-7ddd49645c94
5

result:

ok Correct, m = 5

Subtask #2:

score: 64
Acceptable Answer

Test #8:

score: 64
Acceptable Answer
time: 77ms = 76ms + 1ms

input:

2dc2b1d4-8de2-INPUT-bcd3-aa55b691fdb3
2
2
40 40
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 40
0 3 1 5 7 9 6 4 2 10 8 23 21 25 27 29 26 24 22 30 28 13 11 15 17 19 16 14 12 20 18 33 31 35 37 39 36 34 32 38

output:

dd180566-1d37-PIPE-b85d-c176ae85727d
5 2
28 28 28 28
89 88 8b 8a 8d 8c 8f 8e 81 80 83 82 85 84 87 86 99 98 9b 9a 9d 9c 9f 9e 91 90 93 92 95 94 97 96 a9 a8 ab aa ad ac af ae 
007aa7ef 0038b699 007d58d5 001cb989 002c13f0 00104015 004923f9 008bbaf8 0044793e 0084e498 0072c100 00479218 007177bd 001d5a05 ...

input:

dd180566-1d37-PIPE-b85d-c176ae85727d
5 2
28 28 28 28
89 88 8b 8a 8d 8c 8f 8e 81 80 83 82 85 84 87 86 99 98 9b 9a 9d 9c 9f 9e 91 90 93 92 95 94 97 96 a9 a8 ab aa ad ac af ae 
007aa7ef 0038b699 007d58d5 001cb989 002c13f0 00104015 004923f9 008bbaf8 0044793e 0084e498 0072c100 00479218 007177bd 001d5a05 ...

output:

4468cc07-dabe-OUTPUT-ba95-7ddd49645c94
5

result:

points 0.67368421050 Incorrect, m = 5

Test #9:

score: 64
Acceptable Answer
time: 79ms = 78ms + 1ms

input:

2dc2b1d4-8de2-INPUT-bcd3-aa55b691fdb3
2
2
40 7
6 9 4 2 1 5 7
40 10
6 9 4 2 0 1 5 7 3 8

output:

dd180566-1d37-PIPE-b85d-c176ae85727d
5 2
7 6 4 2
8f 80 8d 8b 88 8c 8e 
004923f9 0084e498 002c13f0 007d58d5 002dd587 00104015 
0084e498 002c13f0 007d58d5 002dd587 
8a 8d 
a 9 7 5
8f 80 8d 8b 89 88 8c 8e 8a 81 
004923f9 0084e498 002c13f0 007d58d5 007aa7ef 002dd587 00104015 008bbaf8 001cb989 
0084e498 ...

input:

dd180566-1d37-PIPE-b85d-c176ae85727d
5 2
7 6 4 2
8f 80 8d 8b 88 8c 8e 
004923f9 0084e498 002c13f0 007d58d5 002dd587 00104015 
0084e498 002c13f0 007d58d5 002dd587 
8a 8d 
a 9 7 5
8f 80 8d 8b 89 88 8c 8e 8a 81 
004923f9 0084e498 002c13f0 007d58d5 007aa7ef 002dd587 00104015 008bbaf8 001cb989 
0084e498 ...

output:

4468cc07-dabe-OUTPUT-ba95-7ddd49645c94
5

result:

points 0.67368421050 Incorrect, m = 5

Test #10:

score: 64
Acceptable Answer
time: 487ms = 485ms + 2ms

input:

2dc2b1d4-8de2-INPUT-bcd3-aa55b691fdb3
2
25000
40 40
8 20 9 10 28 26 23 38 21 15 0 12 24 5 17 33 19 27 16 35 36 1 13 39 6 25 2 7 22 3 32 29 14 31 34 30 18 4 37 11
40 40
22 39 8 4 38 5 24 12 20 33 15 37 28 0 19 36 13 26 25 34 27 35 14 16 18 10 3 7 23 29 9 31 1 30 17 2 21 32 11 6
40 40
23 7 33 4 16 15 ...

output:

dd180566-1d37-PIPE-b85d-c176ae85727d
5 25000
28 28 28 28
81 9d 80 83 95 93 9e af 9c 86 89 85 91 8c 98 a8 9a 92 99 aa ad 88 84 ae 8f 90 8b 8e 9f 8a a9 94 87 96 ab 97 9b 8d ac 82 
0044793e 006e8679 0084e498 0072c100 00667ab2 0057c7d0 000dfbe3 0003e68b 000cd7d1 000a6efb 007aa7ef 007177bd 00841471 00104...

input:

dd180566-1d37-PIPE-b85d-c176ae85727d
5 25000
28 28 28 28
81 9d 80 83 95 93 9e af 9c 86 89 85 91 8c 98 a8 9a 92 99 aa ad 88 84 ae 8f 90 8b 8e 9f 8a a9 94 87 96 ab 97 9b 8d ac 82 
0044793e 006e8679 0084e498 0072c100 00667ab2 0057c7d0 000dfbe3 0003e68b 000cd7d1 000a6efb 007aa7ef 007177bd 00841471 00104...

output:

4468cc07-dabe-OUTPUT-ba95-7ddd49645c94
5

result:

points 0.67368421050 Incorrect, m = 5

Test #11:

score: 64
Acceptable Answer
time: 555ms = 553ms + 2ms

input:

2dc2b1d4-8de2-INPUT-bcd3-aa55b691fdb3
2
10
100000 100000
30835 54902 6031 39780 48892 41112 10655 59793 82131 11690 46738 17357 71191 42943 59375 29187 13113 60681 52635 78884 28768 26173 64156 46178 687 70180 721 91640 72042 76284 56999 69796 75841 24470 47874 87966 9206 57028 69773 82741 61206 949...

output:

dd180566-1d37-PIPE-b85d-c176ae85727d
5 10
186a0 186a0 186a0 186a0
78fa d6ff 1706 9bed be75 a011 2916 e918 1405a 2d23 b61b 4344 1169e a736 e766 728a 33b0 ed80 cd12 134ad 70e9 66b4 fa15 b4eb 226 112ad 258 16571 119e3 12975 de2e 1102d 128c8 5f1f bb8b 15717 237f de4d 11004 143bc ef9f 17246 1f98 fd83 c18...

input:

dd180566-1d37-PIPE-b85d-c176ae85727d
5 10
186a0 186a0 186a0 186a0
78fa d6ff 1706 9bed be75 a011 2916 e918 1405a 2d23 b61b 4344 1169e a736 e766 728a 33b0 ed80 cd12 134ad 70e9 66b4 fa15 b4eb 226 112ad 258 16571 119e3 12975 de2e 1102d 128c8 5f1f bb8b 15717 237f de4d 11004 143bc ef9f 17246 1f98 fd83 c18...

output:

4468cc07-dabe-OUTPUT-ba95-7ddd49645c94
5

result:

points 0.67368421050 Incorrect, m = 5

Test #12:

score: 64
Acceptable Answer
time: 528ms = 527ms + 1ms
memory: 32600kb,5528kb

input:

2dc2b1d4-8de2-INPUT-bcd3-aa55b691fdb3
2
10
100000 100000
88851 25433 51845 79408 40941 31163 60757 55069 34140 32190 44722 40747 23732 89836 86611 47711 49975 64281 70439 65875 65902 25801 91559 8426 44823 22054 75184 91728 47315 77067 63066 33263 75407 10551 63423 80478 61597 55593 78421 20453 5047...

output:

dd180566-1d37-PIPE-b85d-c176ae85727d
5 10
186a0 186a0 186a0 186a0
15b9a 63d0 ca0c 136b9 9f64 7932 eddc d794 85d5 7d37 ae3b 9fa2 5c3d 15e65 152da bad6 c3be fb90 113ae 101da 101e7 6440 1652e 2063 af9e 56af 12539 166d9 b85a 12d82 f6d3 8166 12606 29be f736 13ad7 f014 d9a0 132dc 4f6c c5a3 688a d24d 10c9f...

input:

dd180566-1d37-PIPE-b85d-c176ae85727d
5 10
186a0 186a0 186a0 186a0
15b9a 63d0 ca0c 136b9 9f64 7932 eddc d794 85d5 7d37 ae3b 9fa2 5c3d 15e65 152da bad6 c3be fb90 113ae 101da 101e7 6440 1652e 2063 af9e 56af 12539 166d9 b85a 12d82 f6d3 8166 12606 29be f736 13ad7 f014 d9a0 132dc 4f6c c5a3 688a d24d 10c9f...

output:

4468cc07-dabe-OUTPUT-ba95-7ddd49645c94
5

result:

points 0.67368421050 Incorrect, m = 5

Test #13:

score: 64
Acceptable Answer
time: 534ms = 532ms + 2ms
memory: 32372kb,5336kb

input:

2dc2b1d4-8de2-INPUT-bcd3-aa55b691fdb3
2
10
100000 100000
93904 42512 36692 28091 63857 16127 84174 11185 57922 75025 11139 92714 25644 3297 24200 90563 66712 37532 28484 95352 54655 58328 5708 19794 10394 6627 4990 91948 20596 98516 84901 83661 40392 11203 73298 45024 59155 92781 52782 10324 56104 1...

output:

dd180566-1d37-PIPE-b85d-c176ae85727d
5 10
186a0 186a0 186a0 186a0
16e59 a699 8fdd 6d32 f9f8 3e76 14847 2b38 e2cb 12598 2b0a 16aa3 64a5 c68 5e01 1614a 10411 9215 6fcd 174f1 d5f6 e351 16c5 4ddb 2813 196a 13f7 167a5 50fd 1805d 14b2c 14644 9d41 2b4a 11edb af69 e79a 16ae4 cea7 28dd dba1 2755 11ae3 7591 4...

input:

dd180566-1d37-PIPE-b85d-c176ae85727d
5 10
186a0 186a0 186a0 186a0
16e59 a699 8fdd 6d32 f9f8 3e76 14847 2b38 e2cb 12598 2b0a 16aa3 64a5 c68 5e01 1614a 10411 9215 6fcd 174f1 d5f6 e351 16c5 4ddb 2813 196a 13f7 167a5 50fd 1805d 14b2c 14644 9d41 2b4a 11edb af69 e79a 16ae4 cea7 28dd dba1 2755 11ae3 7591 4...

output:

4468cc07-dabe-OUTPUT-ba95-7ddd49645c94
5

result:

points 0.67368421050 Incorrect, m = 5

Test #14:

score: 64
Acceptable Answer
time: 533ms = 532ms + 1ms

input:

2dc2b1d4-8de2-INPUT-bcd3-aa55b691fdb3
2
10
100000 100000
72498 17573 41867 90993 59089 56699 95139 46897 85563 19084 79301 48957 69264 3163 98768 48434 63362 64061 12262 85943 27962 4050 88821 820 61357 32821 38882 31382 94598 63968 54668 87094 67951 23744 18039 17469 87133 81621 67273 14728 30853 5...

output:

dd180566-1d37-PIPE-b85d-c176ae85727d
5 10
186a0 186a0 186a0 186a0
11bbb 442c a302 163f8 e658 ddf2 1732a b7b8 14eb2 4a05 1354c bfb4 10e19 cd2 18159 bdbb f70b fab4 2f6f 14f3e 6db3 f5b 15a7c 3bd ef24 80bc 976b 7a1f 1710f f969 d505 154bf 109e6 5c49 46fe 44b4 154d4 13e5c 10640 3901 780c ce0e 12bc7 181db ...

input:

dd180566-1d37-PIPE-b85d-c176ae85727d
5 10
186a0 186a0 186a0 186a0
11bbb 442c a302 163f8 e658 ddf2 1732a b7b8 14eb2 4a05 1354c bfb4 10e19 cd2 18159 bdbb f70b fab4 2f6f 14f3e 6db3 f5b 15a7c 3bd ef24 80bc 976b 7a1f 1710f f969 d505 154bf 109e6 5c49 46fe 44b4 154d4 13e5c 10640 3901 780c ce0e 12bc7 181db ...

output:

4468cc07-dabe-OUTPUT-ba95-7ddd49645c94
5

result:

points 0.67368421050 Incorrect, m = 5

Test #15:

score: 64
Acceptable Answer
time: 74ms = 73ms + 1ms

input:

2dc2b1d4-8de2-INPUT-bcd3-aa55b691fdb3
2
2
10 7
6 9 4 2 1 5 7
10 10
6 9 4 2 0 1 5 7 3 8

output:

dd180566-1d37-PIPE-b85d-c176ae85727d
5 2
7 6 4 2
8f 80 8d 8b 88 8c 8e 
004923f9 0084e498 002c13f0 007d58d5 002dd587 00104015 
0084e498 002c13f0 007d58d5 002dd587 
8a 8d 
a a a a
8f 80 8d 8b 89 88 8c 8e 8a 81 
004923f9 0084e498 002c13f0 007d58d5 007aa7ef 002dd587 00104015 008bbaf8 001cb989 0044793e 
...

input:

dd180566-1d37-PIPE-b85d-c176ae85727d
5 2
7 6 4 2
8f 80 8d 8b 88 8c 8e 
004923f9 0084e498 002c13f0 007d58d5 002dd587 00104015 
0084e498 002c13f0 007d58d5 002dd587 
8a 8d 
a a a a
8f 80 8d 8b 89 88 8c 8e 8a 81 
004923f9 0084e498 002c13f0 007d58d5 007aa7ef 002dd587 00104015 008bbaf8 001cb989 0044793e 
...

output:

4468cc07-dabe-OUTPUT-ba95-7ddd49645c94
5

result:

points 0.67368421050 Incorrect, m = 5

Test #16:

score: 64
Acceptable Answer
time: 518ms = 516ms + 2ms

input:

2dc2b1d4-8de2-INPUT-bcd3-aa55b691fdb3
2
10
100000 100000
5087 82803 9264 9551 12747 54247 86602 50046 30793 90100 45345 29580 30767 18339 81465 73196 28411 98238 99701 53742 94369 92692 91756 91042 65835 42566 17234 33893 76727 9278 41446 45059 53472 70403 2006 69996 58333 17402 94587 70071 70239 93...

output:

dd180566-1d37-PIPE-b85d-c176ae85727d
5 10
186a0 186a0 186a0 186a0
1356 143fa 24b9 25c6 3142 d36e 152c3 c3f7 78c0 15f7d b1a8 7305 78a6 472a 13eb0 11d65 6e72 17f37 185fc d167 17028 16a9d 166e5 1632b 101a2 a6cf 43db 84ec 12b3e 24b7 a16f b08a d069 1138a 75f 111e5 e354 4373 171f2 1113e 112d6 16bf3 2a6c e...

input:

dd180566-1d37-PIPE-b85d-c176ae85727d
5 10
186a0 186a0 186a0 186a0
1356 143fa 24b9 25c6 3142 d36e 152c3 c3f7 78c0 15f7d b1a8 7305 78a6 472a 13eb0 11d65 6e72 17f37 185fc d167 17028 16a9d 166e5 1632b 101a2 a6cf 43db 84ec 12b3e 24b7 a16f b08a d069 1138a 75f 111e5 e354 4373 171f2 1113e 112d6 16bf3 2a6c e...

output:

4468cc07-dabe-OUTPUT-ba95-7ddd49645c94
5

result:

points 0.67368421050 Incorrect, m = 5

Test #17:

score: 64
Acceptable Answer
time: 523ms = 522ms + 1ms
memory: 32672kb,5552kb

input:

2dc2b1d4-8de2-INPUT-bcd3-aa55b691fdb3
2
10
100000 100000
59675 99436 38030 62563 21716 57107 39552 23678 6025 62075 22897 64826 39557 84965 8097 91980 62767 46465 77845 50579 65317 41736 89842 61743 36945 64450 32575 51883 7328 38795 8160 77764 99617 82100 80565 13974 49260 4400 67543 2445 78742 380...

output:

dd180566-1d37-PIPE-b85d-c176ae85727d
5 10
186a0 186a0 186a0 186a0
e992 184e5 9407 f4ea 545d df9a 9a09 5cf7 1700 f2f2 59f8 fdb3 9a0c 14b6c 1f28 167c5 f5a6 b508 1309c c51a ffac a381 15e7b f1a6 90d8 fb4b 7fb6 ca22 1c29 9702 1f69 12f4d 185a8 1403d 13a3c 361f c0e5 11b9 1075e 904 1331f 944c 14a01 3d18 b0c...

input:

dd180566-1d37-PIPE-b85d-c176ae85727d
5 10
186a0 186a0 186a0 186a0
e992 184e5 9407 f4ea 545d df9a 9a09 5cf7 1700 f2f2 59f8 fdb3 9a0c 14b6c 1f28 167c5 f5a6 b508 1309c c51a ffac a381 15e7b f1a6 90d8 fb4b 7fb6 ca22 1c29 9702 1f69 12f4d 185a8 1403d 13a3c 361f c0e5 11b9 1075e 904 1331f 944c 14a01 3d18 b0c...

output:

4468cc07-dabe-OUTPUT-ba95-7ddd49645c94
5

result:

points 0.67368421050 Incorrect, m = 5

Test #18:

score: 64
Acceptable Answer
time: 551ms = 549ms + 2ms
memory: 32212kb,5320kb

input:

2dc2b1d4-8de2-INPUT-bcd3-aa55b691fdb3
2
15
65537 65537
15239 9914 29076 13208 17449 28475 24795 31000 37537 41441 45424 30356 11907 40526 12404 37846 50507 6387 5148 9887 21330 26613 6274 22959 27650 54752 32116 38027 2369 4873 3131 3408 7765 11779 41436 19901 29281 25632 11810 9575 48471 8634 12949...

output:

dd180566-1d37-PIPE-b85d-c176ae85727d
5 15
10001 10001 10001 10001
3b0e 2633 711d 3311 44a0 6fb2 6052 7991 9228 a168 b1f9 761d 2e0a 9ec7 30fd 935f c5c2 187a 1495 2616 53db 677c 180b 5926 6c8b d569 7dfd 9402 9c8 1380 cb2 dd9 1edc 2e8a a155 4d34 72e8 64a9 2eab 25ee bdde 2133 321c b755 2d53 ee69 958f ff...

input:

dd180566-1d37-PIPE-b85d-c176ae85727d
5 15
10001 10001 10001 10001
3b0e 2633 711d 3311 44a0 6fb2 6052 7991 9228 a168 b1f9 761d 2e0a 9ec7 30fd 935f c5c2 187a 1495 2616 53db 677c 180b 5926 6c8b d569 7dfd 9402 9c8 1380 cb2 dd9 1edc 2e8a a155 4d34 72e8 64a9 2eab 25ee bdde 2133 321c b755 2d53 ee69 958f ff...

output:

4468cc07-dabe-OUTPUT-ba95-7ddd49645c94
5

result:

points 0.67368421050 Incorrect, m = 5

Test #19:

score: 64
Acceptable Answer
time: 513ms = 513ms + 0ms
memory: 32300kb,5468kb

input:

2dc2b1d4-8de2-INPUT-bcd3-aa55b691fdb3
2
15
65537 65537
18277 44588 28699 37686 55109 16861 12859 19192 2714 25719 44315 21619 23117 55918 61994 34310 57095 30802 6520 33810 19758 59075 14946 56829 33450 59319 31288 40867 25643 61072 1975 49024 48882 2082 26665 63168 62537 35226 31628 52952 2355 5072...

output:

dd180566-1d37-PIPE-b85d-c176ae85727d
5 15
10001 10001 10001 10001
47ec aea5 7092 93bf d7cc 4154 32b2 4a71 a13 64fe ad92 54fa 5ac4 dae7 f2a3 868f df8e 78db 19f1 849b 4da7 e64a 3aeb dd74 8223 e73e 7ab1 9f2a 64a2 ee19 73e bf09 be7b 8ab 68a0 f649 f4c0 8913 7b05 ce51 9ba c6aa 2ea8 8d18 21a0 4aee 57c9 ad9...

input:

dd180566-1d37-PIPE-b85d-c176ae85727d
5 15
10001 10001 10001 10001
47ec aea5 7092 93bf d7cc 4154 32b2 4a71 a13 64fe ad92 54fa 5ac4 dae7 f2a3 868f df8e 78db 19f1 849b 4da7 e64a 3aeb dd74 8223 e73e 7ab1 9f2a 64a2 ee19 73e bf09 be7b 8ab 68a0 f649 f4c0 8913 7b05 ce51 9ba c6aa 2ea8 8d18 21a0 4aee 57c9 ad9...

output:

4468cc07-dabe-OUTPUT-ba95-7ddd49645c94
5

result:

points 0.67368421050 Incorrect, m = 5

Test #20:

score: 64
Acceptable Answer
time: 483ms = 483ms + 0ms

input:

2dc2b1d4-8de2-INPUT-bcd3-aa55b691fdb3
2
100000
10 10
4 7 0 3 6 2 1 9 5 8
10 10
4 5 3 6 2 9 0 1 8 7
10 10
9 8 7 5 4 3 1 2 6 0
10 10
2 6 1 8 0 3 9 5 4 7
10 10
0 5 8 9 7 1 4 6 3 2
10 10
5 7 3 6 4 8 0 2 9 1
10 10
5 3 6 4 1 0 9 2 7 8
10 10
2 5 8 6 1 3 0 9 7 4
10 10
5 3 8 6 1 9 0 7 2 4
10 10
8 0 2 5 9 3 7...

output:

dd180566-1d37-PIPE-b85d-c176ae85727d
5 100000
a a a a
8d 8e 89 8a 8f 8b 88 80 8c 81 
002c13f0 008bbaf8 007aa7ef 001cb989 004923f9 007d58d5 0038b699 0084e498 00104015 0044793e 
008bbaf8 007aa7ef 001cb989 004923f9 007d58d5 0038b699 0084e498 00104015 0044793e 002c13f0 
8d 8b 88 8a 8d 88 8d 89 8b 8a 
a ...

input:

dd180566-1d37-PIPE-b85d-c176ae85727d
5 100000
a a a a
8d 8e 89 8a 8f 8b 88 80 8c 81 
002c13f0 008bbaf8 007aa7ef 001cb989 004923f9 007d58d5 0038b699 0084e498 00104015 0044793e 
008bbaf8 007aa7ef 001cb989 004923f9 007d58d5 0038b699 0084e498 00104015 0044793e 002c13f0 
8d 8b 88 8a 8d 88 8d 89 8b 8a 
a ...

output:

4468cc07-dabe-OUTPUT-ba95-7ddd49645c94
5

result:

points 0.67368421050 Incorrect, m = 5

Test #21:

score: 64
Acceptable Answer
time: 412ms = 411ms + 1ms

input:

2dc2b1d4-8de2-INPUT-bcd3-aa55b691fdb3
2
124257
100000 100000
30768 67178 37168 15003 2789 12905 4620 6704 10054 93425 80692 71724 9557 95706 68463 36443 83975 27799 98774 18020 91328 31280 54055 31391 57506 37190 26777 71534 5729 16154 77311 55046 82099 3105 235 84618 85281 76906 57332 81620 49189 2...

output:

dd180566-1d37-PIPE-b85d-c176ae85727d
5 124257
186a0 186a0 186a0 186a0
78b9 106e3 91b9 3a12 a6c 32e0 1285 1ab9 27cf 16c78 13bbd 118a5 25dc 17553 10be6 8ed2 1488e 6c1e 1815f 46ed 16449 7ab9 d3ae 7a16 e02b 91cf 6810 117e7 16e8 3f93 12d76 d78f 1403a ca8 62 14a03 14da8 12ce3 df7d 13e5d c0ac 6197 11982 91...

input:

dd180566-1d37-PIPE-b85d-c176ae85727d
5 124257
186a0 186a0 186a0 186a0
78b9 106e3 91b9 3a12 a6c 32e0 1285 1ab9 27cf 16c78 13bbd 118a5 25dc 17553 10be6 8ed2 1488e 6c1e 1815f 46ed 16449 7ab9 d3ae 7a16 e02b 91cf 6810 117e7 16e8 3f93 12d76 d78f 1403a ca8 62 14a03 14da8 12ce3 df7d 13e5d c0ac 6197 11982 91...

output:

4468cc07-dabe-OUTPUT-ba95-7ddd49645c94
5

result:

points 0.67368421050 Incorrect, m = 5

Test #22:

score: 64
Acceptable Answer
time: 440ms = 438ms + 2ms

input:

2dc2b1d4-8de2-INPUT-bcd3-aa55b691fdb3
2
124257
100000 100000
10794 34910 97301 71770 97121 7259 22595 86167 58668 22968 51566 77787 13364 21544 79642 89036 15316 96004 17273 46907 13033 14593 34357 3619 39228 61757 10230 10068 23457 76722 65989 52437 2140 34459 97793 20914 2904 93570 68344 67032 913...

output:

dd180566-1d37-PIPE-b85d-c176ae85727d
5 124257
186a0 186a0 186a0 186a0
2aa3 88d7 17c9c 118d3 17be8 1cd2 58ca 1501e e5a5 5931 c9e7 12f52 34bd 54a1 13793 15b45 3b5d 1778d 43f0 b7b2 3260 3988 86bc eaa 99b5 f1b4 277f 27dd 5b28 12b3b 1014c cc5c 8d5 8612 17e88 513b bd1 16d0b 10a71 10551 1645c 996d 4bc3 327...

input:

dd180566-1d37-PIPE-b85d-c176ae85727d
5 124257
186a0 186a0 186a0 186a0
2aa3 88d7 17c9c 118d3 17be8 1cd2 58ca 1501e e5a5 5931 c9e7 12f52 34bd 54a1 13793 15b45 3b5d 1778d 43f0 b7b2 3260 3988 86bc eaa 99b5 f1b4 277f 27dd 5b28 12b3b 1014c cc5c 8d5 8612 17e88 513b bd1 16d0b 10a71 10551 1645c 996d 4bc3 327...

output:

4468cc07-dabe-OUTPUT-ba95-7ddd49645c94
5

result:

points 0.67368421050 Incorrect, m = 5

Test #23:

score: 64
Acceptable Answer
time: 453ms = 451ms + 2ms

input:

2dc2b1d4-8de2-INPUT-bcd3-aa55b691fdb3
2
128523
100000 100000
40093 28411 88008 40790 95511 99931 60256 62940 83720 34158 78891 92495 12724 24114 81359 71088 38296 87392 44234 30567 82632 36436 2257 2110 99550 59192 33988 24851 89907 67903 62260 92420 18188 33554 49781 80251 4746 10082 39257 57741 64...

output:

dd180566-1d37-PIPE-b85d-c176ae85727d
5 128523
186a0 186a0 186a0 186a0
9c14 6e72 15741 9fdf 1759e 186d2 ebe9 f555 14781 85e7 134a2 169c6 313d 5ebb 13d46 11539 9511 155e9 ac43 77ee 14241 8edd 858 8b7 18457 e7b1 844d 619a 15fba 109b6 f3bd 1698d 4785 839b c2fc 139f2 1203 27eb 99d0 e104 fcf5 a8fa 12d26 1...

input:

dd180566-1d37-PIPE-b85d-c176ae85727d
5 128523
186a0 186a0 186a0 186a0
9c14 6e72 15741 9fdf 1759e 186d2 ebe9 f555 14781 85e7 134a2 169c6 313d 5ebb 13d46 11539 9511 155e9 ac43 77ee 14241 8edd 858 8b7 18457 e7b1 844d 619a 15fba 109b6 f3bd 1698d 4785 839b c2fc 139f2 1203 27eb 99d0 e104 fcf5 a8fa 12d26 1...

output:

4468cc07-dabe-OUTPUT-ba95-7ddd49645c94
5

result:

points 0.67368421050 Incorrect, m = 5

Test #24:

score: 64
Acceptable Answer
time: 450ms = 448ms + 2ms

input:

2dc2b1d4-8de2-INPUT-bcd3-aa55b691fdb3
2
128523
100000 100000
88383 24054 76238 37132 97987 34905 69810 30754 71132 45030 60872 58566 43586 25476 77312 96771 1707 5611 75280 16839 60937 55227 98696 87141 90576 47365 95797 24333 94678 32140 16039 32602 88667 25714 8606 84626 60183 77742 3543 87747 398...

output:

dd180566-1d37-PIPE-b85d-c176ae85727d
5 128523
186a0 186a0 186a0 186a0
159b6 5d7f 12947 9185 17e4a 88d0 1103b 78ab 11555 af6f ed41 e44f aacb 630d 12e89 17a8a 622 1562 12699 414e ee80 d732 18101 154ec 16159 b98c 176bc 5f84 1715f 7d05 3e2e 7fd3 15ad2 64fb 2117 14a1b eb9e 12f27 d5e 1564a 9b48 dea7 ffb5 ...

input:

dd180566-1d37-PIPE-b85d-c176ae85727d
5 128523
186a0 186a0 186a0 186a0
159b6 5d7f 12947 9185 17e4a 88d0 1103b 78ab 11555 af6f ed41 e44f aacb 630d 12e89 17a8a 622 1562 12699 414e ee80 d732 18101 154ec 16159 b98c 176bc 5f84 1715f 7d05 3e2e 7fd3 15ad2 64fb 2117 14a1b eb9e 12f27 d5e 1564a 9b48 dea7 ffb5 ...

output:

4468cc07-dabe-OUTPUT-ba95-7ddd49645c94
5

result:

points 0.67368421050 Incorrect, m = 5

Test #25:

score: 64
Acceptable Answer
time: 510ms = 508ms + 2ms

input:

2dc2b1d4-8de2-INPUT-bcd3-aa55b691fdb3
2
128957
10 10
4 7 0 3 6 2 1 9 5 8
10 10
7 6 9 2 8 4 3 0 1 5
10 7
0 3 9 4 6 8 5
10 7
1 7 5 4 6 0 8
10 10
9 0 1 3 2 5 6 8 4 7
10 7
8 0 2 5 4 7 3
10 8
5 9 0 4 6 3 1 8
10 10
3 0 2 8 9 1 4 5 7 6
10 8
9 4 5 0 8 3 6 2
10 10
5 1 6 4 3 2 7 0 9 8
10 10
2 5 6 4 3 8 7 0 1 ...

output:

dd180566-1d37-PIPE-b85d-c176ae85727d
5 128957
a a a a
8d 8e 89 8a 8f 8b 88 80 8c 81 
002c13f0 008bbaf8 007aa7ef 001cb989 004923f9 007d58d5 0038b699 0084e498 00104015 0044793e 
008bbaf8 007aa7ef 001cb989 004923f9 007d58d5 0038b699 0084e498 00104015 0044793e 002c13f0 
8d 8b 88 8a 8d 88 8d 89 8b 8a 
a ...

input:

dd180566-1d37-PIPE-b85d-c176ae85727d
5 128957
a a a a
8d 8e 89 8a 8f 8b 88 80 8c 81 
002c13f0 008bbaf8 007aa7ef 001cb989 004923f9 007d58d5 0038b699 0084e498 00104015 0044793e 
008bbaf8 007aa7ef 001cb989 004923f9 007d58d5 0038b699 0084e498 00104015 0044793e 002c13f0 
8d 8b 88 8a 8d 88 8d 89 8b 8a 
a ...

output:

4468cc07-dabe-OUTPUT-ba95-7ddd49645c94
5

result:

points 0.67368421050 Incorrect, m = 5

Test #26:

score: 64
Acceptable Answer
time: 472ms = 470ms + 2ms

input:

2dc2b1d4-8de2-INPUT-bcd3-aa55b691fdb3
2
44450
40 40
8 20 9 10 28 26 23 38 21 15 0 12 24 5 17 33 19 27 16 35 36 1 13 39 6 25 2 7 22 3 32 29 14 31 34 30 18 4 37 11
40 25
17 16 26 33 36 11 25 38 7 14 20 29 13 1 9 6 31 30 37 10 18 21 24 34 0
40 8
22 14 31 3 9 1 2 36
40 7
7 25 3 10 4 28 9
40 14
26 32 5 1...

output:

dd180566-1d37-PIPE-b85d-c176ae85727d
5 44450
28 28 28 28
81 9d 80 83 95 93 9e af 9c 86 89 85 91 8c 98 a8 9a 92 99 aa ad 88 84 ae 8f 90 8b 8e 9f 8a a9 94 87 96 ab 97 9b 8d ac 82 
0044793e 006e8679 0084e498 0072c100 00667ab2 0057c7d0 000dfbe3 0003e68b 000cd7d1 000a6efb 007aa7ef 007177bd 00841471 00104...

input:

dd180566-1d37-PIPE-b85d-c176ae85727d
5 44450
28 28 28 28
81 9d 80 83 95 93 9e af 9c 86 89 85 91 8c 98 a8 9a 92 99 aa ad 88 84 ae 8f 90 8b 8e 9f 8a a9 94 87 96 ab 97 9b 8d ac 82 
0044793e 006e8679 0084e498 0072c100 00667ab2 0057c7d0 000dfbe3 0003e68b 000cd7d1 000a6efb 007aa7ef 007177bd 00841471 00104...

output:

4468cc07-dabe-OUTPUT-ba95-7ddd49645c94
5

result:

points 0.67368421050 Incorrect, m = 5

Test #27:

score: 64
Acceptable Answer
time: 445ms = 443ms + 2ms

input:

2dc2b1d4-8de2-INPUT-bcd3-aa55b691fdb3
2
44527
100 100
38 95 76 59 78 30 71 53 89 99 49 10 9 69 43 56 8 26 61 14 17 85 66 0 33 41 24 25 11 45 6 37 98 3 28 42 72 18 22 23 47 80 7 96 94 44 57 62 20 34 93 52 65 5 2 63 83 21 35 75 88 74 87 32 51 40 58 97 12 67 15 36 31 70 84 50 90 13 82 92 1 68 48 46 16 ...

output:

dd180566-1d37-PIPE-b85d-c176ae85727d
5 44527
64 64 64 64
af d6 c5 b2 c7 97 ce bc d0 ea b8 83 80 cc a2 b1 81 93 b4 87 98 dc cb 89 a8 a0 91 90 82 a4 8f ac eb 8a 95 a3 c1 9b 9f 9e a6 d9 8e e9 d7 a5 b0 b7 9d ab d4 bd c8 8c 8b b6 da 9c aa c2 d1 c3 de a9 ba a1 b3 e8 85 ca 86 ad 96 cf dd bb d3 84 db d5 88 ...

input:

dd180566-1d37-PIPE-b85d-c176ae85727d
5 44527
64 64 64 64
af d6 c5 b2 c7 97 ce bc d0 ea b8 83 80 cc a2 b1 81 93 b4 87 98 dc cb 89 a8 a0 91 90 82 a4 8f ac eb 8a 95 a3 c1 9b 9f 9e a6 d9 8e e9 d7 a5 b0 b7 9d ab d4 bd c8 8c 8b b6 da 9c aa c2 d1 c3 de a9 ba a1 b3 e8 85 ca 86 ad 96 cf dd bb d3 84 db d5 88 ...

output:

4468cc07-dabe-OUTPUT-ba95-7ddd49645c94
5

result:

points 0.67368421050 Incorrect, m = 5

Test #28:

score: 64
Acceptable Answer
time: 433ms = 431ms + 2ms

input:

2dc2b1d4-8de2-INPUT-bcd3-aa55b691fdb3
2
44527
100 100
88 33 56 42 97 75 2 29 37 83 17 8 69 49 23 81 26 51 82 18 24 76 96 16 41 50 73 62 32 44 99 93 84 67 63 30 21 77 9 58 98 11 20 14 4 3 31 52 10 6 36 61 66 39 43 28 80 87 85 0 59 40 48 94 54 60 57 55 89 19 22 64 25 65 53 95 13 79 71 86 1 74 68 15 12...

output:

dd180566-1d37-PIPE-b85d-c176ae85727d
5 44527
64 64 64 64
d1 a8 b1 a3 e8 c2 8b 94 ac da 98 81 cc b8 9e d8 93 ba db 9b 91 c5 e9 99 a0 bb c0 b7 a9 a5 ea d4 dd ca b6 97 9c c4 80 b3 eb 82 9d 87 8d 8a 96 bd 83 8f ad b4 cb ae a2 95 d9 de dc 89 b2 a1 b9 d7 bf b5 b0 be d0 9a 9f c9 90 c8 bc d6 84 c6 ce df 88 ...

input:

dd180566-1d37-PIPE-b85d-c176ae85727d
5 44527
64 64 64 64
d1 a8 b1 a3 e8 c2 8b 94 ac da 98 81 cc b8 9e d8 93 ba db 9b 91 c5 e9 99 a0 bb c0 b7 a9 a5 ea d4 dd ca b6 97 9c c4 80 b3 eb 82 9d 87 8d 8a 96 bd 83 8f ad b4 cb ae a2 95 d9 de dc 89 b2 a1 b9 d7 bf b5 b0 be d0 9a 9f c9 90 c8 bc d6 84 c6 ce df 88 ...

output:

4468cc07-dabe-OUTPUT-ba95-7ddd49645c94
5

result:

points 0.67368421050 Incorrect, m = 5

Test #29:

score: 64
Acceptable Answer
time: 492ms = 491ms + 1ms

input:

2dc2b1d4-8de2-INPUT-bcd3-aa55b691fdb3
2
44460
400 400
293 57 17 180 136 361 189 82 179 274 323 110 51 368 331 251 27 198 299 155 203 242 182 395 165 230 135 224 22 64 387 120 343 390 355 89 104 341 216 117 345 286 132 386 128 388 268 306 141 290 222 29 384 102 151 250 276 188 33 339 209 183 185 282 ...

output:

dd180566-1d37-PIPE-b85d-c176ae85727d
5 44460
190 190 190 190
1ac b0 98 3d 1 1e0 34 db 3a 19b 1ca e7 ba 1f9 1c2 72 92 4f 1a2 12 42 7b 3f 102 2c 6f e 69 9f c9 10a f1 1de 10f 1ea d0 e1 1dc 51 fc 1d0 197 d 10b 9 10d 185 1bb 4 1ab 57 94 109 ef 1e 73 19d 35 a8 1da 58 3e 30 193 fb 2e c 7d 1c4 ad 1b1 a 2b 1...

input:

dd180566-1d37-PIPE-b85d-c176ae85727d
5 44460
190 190 190 190
1ac b0 98 3d 1 1e0 34 db 3a 19b 1ca e7 ba 1f9 1c2 72 92 4f 1a2 12 42 7b 3f 102 2c 6f e 69 9f c9 10a f1 1de 10f 1ea d0 e1 1dc 51 fc 1d0 197 d 10b 9 10d 185 1bb 4 1ab 57 94 109 ef 1e 73 19d 35 a8 1da 58 3e 30 193 fb 2e c 7d 1c4 ad 1b1 a 2b 1...

output:

4468cc07-dabe-OUTPUT-ba95-7ddd49645c94
5

result:

points 0.67368421050 Incorrect, m = 5

Test #30:

score: 64
Acceptable Answer
time: 484ms = 483ms + 1ms

input:

2dc2b1d4-8de2-INPUT-bcd3-aa55b691fdb3
2
44348
400 400
397 91 240 330 389 107 172 392 282 272 71 12 164 244 174 266 242 54 371 142 44 167 268 36 309 273 171 64 226 5 53 189 80 82 17 109 186 76 319 160 181 217 310 103 114 45 129 139 27 48 362 230 40 316 363 150 61 50 127 75 28 238 60 122 7 354 360 353...

output:

dd180566-1d37-PIPE-b85d-c176ae85727d
5 44348
190 190 190 190
104 d2 79 1c3 10c e2 25 101 193 199 ce 85 2d 7d 27 183 7b bf 1fa 7 a5 2e 185 ad 1bc 198 22 c9 6b 8c bc 34 d9 db 98 e4 33 c5 1b6 29 3c 50 1bf ee fb a4 8 2 92 b9 1e3 6f a1 1b5 1e2 1f b4 bb f6 c2 95 67 b5 f3 8e 1eb 1e1 1e8 f2 5f 18d 15 3 8a a...

input:

dd180566-1d37-PIPE-b85d-c176ae85727d
5 44348
190 190 190 190
104 d2 79 1c3 10c e2 25 101 193 199 ce 85 2d 7d 27 183 7b bf 1fa 7 a5 2e 185 ad 1bc 198 22 c9 6b 8c bc 34 d9 db 98 e4 33 c5 1b6 29 3c 50 1bf ee fb a4 8 2 92 b9 1e3 6f a1 1b5 1e2 1f b4 bb f6 c2 95 67 b5 f3 8e 1eb 1e1 1e8 f2 5f 18d 15 3 8a a...

output:

4468cc07-dabe-OUTPUT-ba95-7ddd49645c94
5

result:

points 0.67368421050 Incorrect, m = 5

Test #31:

score: 64
Acceptable Answer
time: 497ms = 495ms + 2ms

input:

2dc2b1d4-8de2-INPUT-bcd3-aa55b691fdb3
2
44426
1000 1000
975 976 163 985 967 218 999 97 855 839 303 239 738 666 859 521 902 417 700 267 852 973 619 129 639 900 203 780 179 474 868 653 68 710 217 146 972 563 782 657 777 46 42 950 698 95 886 290 567 507 479 104 889 846 503 252 356 938 918 746 438 812 2...

output:

dd180566-1d37-PIPE-b85d-c176ae85727d
5 44426
3e8 3e8 3e8 3e8
346 359 2a 350 34e 53 36e e8 3de 3ce 1a6 66 26b 213 3d2 280 30f 128 235 182 3dd 344 2e2 8 2f6 30d 42 385 3a 153 3ed 204 cd 24f 50 1b 345 2ba 387 218 380 a7 a3 33f 233 d6 3ff 1ab 2be 172 156 e1 3f0 3c7 17e 75 1ed 323 31f 263 13f 3a5 198 129...

input:

dd180566-1d37-PIPE-b85d-c176ae85727d
5 44426
3e8 3e8 3e8 3e8
346 359 2a 350 34e 53 36e e8 3de 3ce 1a6 66 26b 213 3d2 280 30f 128 235 182 3dd 344 2e2 8 2f6 30d 42 385 3a 153 3ed 204 cd 24f 50 1b 345 2ba 387 218 380 a7 a3 33f 233 d6 3ff 1ab 2be 172 156 e1 3f0 3c7 17e 75 1ed 323 31f 263 13f 3a5 198 129...

output:

4468cc07-dabe-OUTPUT-ba95-7ddd49645c94
5

result:

points 0.67368421050 Incorrect, m = 5

Test #32:

score: 64
Acceptable Answer
time: 477ms = 477ms + 0ms

input:

2dc2b1d4-8de2-INPUT-bcd3-aa55b691fdb3
2
44510
1000 1000
867 813 387 732 301 318 683 640 327 954 49 707 862 999 32 876 416 614 756 850 900 974 132 797 188 5 448 886 821 744 198 856 80 464 823 516 869 529 399 409 955 11 833 133 618 822 581 291 790 632 671 493 811 917 509 951 209 617 360 857 715 829 69...

output:

dd180566-1d37-PIPE-b85d-c176ae85727d
5 44510
3e8 3e8 3e8 3e8
3ea 3a4 10a 255 1a4 1b7 222 209 1ce 333 b8 24a 3d7 36e a9 3e5 129 2ef 27d 3db 30d 347 d 394 35 8c 149 3ff 3bc 261 4f 3d1 d9 159 3be 28d 3ec 298 106 110 332 82 3c8 c 2e3 3bf 2cc 1aa 39f 2f1 216 164 3a2 31c 174 33e 58 2e0 1e1 3d0 242 3b4 230...

input:

dd180566-1d37-PIPE-b85d-c176ae85727d
5 44510
3e8 3e8 3e8 3e8
3ea 3a4 10a 255 1a4 1b7 222 209 1ce 333 b8 24a 3d7 36e a9 3e5 129 2ef 27d 3db 30d 347 d 394 35 8c 149 3ff 3bc 261 4f 3d1 d9 159 3be 28d 3ec 298 106 110 332 82 3c8 c 2e3 3bf 2cc 1aa 39f 2f1 216 164 3a2 31c 174 33e 58 2e0 1e1 3d0 242 3b4 230...

output:

4468cc07-dabe-OUTPUT-ba95-7ddd49645c94
5

result:

points 0.67368421050 Incorrect, m = 5

Test #33:

score: 64
Acceptable Answer
time: 485ms = 483ms + 2ms

input:

2dc2b1d4-8de2-INPUT-bcd3-aa55b691fdb3
2
44143
4000 4000
176 3253 2633 1312 453 2904 428 879 1160 3059 3239 2139 3433 3570 2303 3887 43 3925 2622 950 2605 1709 2255 813 3986 1688 1485 1549 2476 3823 2932 2182 1777 3751 2590 1195 2998 1843 3171 987 144 2963 2708 2895 2673 2719 514 2352 59 534 3863 229...

output:

dd180566-1d37-PIPE-b85d-c176ae85727d
5 44143
fa0 fa0 fa0 fa0
39 c3c ac0 5a9 14c bd1 125 3e6 401 b7a c2e 8d2 de0 d7b 876 fa6 a2 fdc ab7 33f aa4 624 846 3a4 f1b 611 544 684 925 e66 bfd 80f 678 e2e a97 422 b3f 7ba cea 352 19 b1a a1d bc6 af8 a16 28b 9b9 b2 29f f9e 872 364 e81 578 976 490 70d d83 f81 de7...

input:

dd180566-1d37-PIPE-b85d-c176ae85727d
5 44143
fa0 fa0 fa0 fa0
39 c3c ac0 5a9 14c bd1 125 3e6 401 b7a c2e 8d2 de0 d7b 876 fa6 a2 fdc ab7 33f aa4 624 846 3a4 f1b 611 544 684 925 e66 bfd 80f 678 e2e a97 422 b3f 7ba cea 352 19 b1a a1d bc6 af8 a16 28b 9b9 b2 29f f9e 872 364 e81 578 976 490 70d d83 f81 de7...

output:

4468cc07-dabe-OUTPUT-ba95-7ddd49645c94
5

result:

points 0.67368421050 Incorrect, m = 5

Test #34:

score: 64
Acceptable Answer
time: 497ms = 495ms + 2ms

input:

2dc2b1d4-8de2-INPUT-bcd3-aa55b691fdb3
2
44306
4000 4000
3701 3188 2612 2141 1661 729 1201 1873 3736 2121 815 3930 1730 2804 2054 1678 3551 1084 2313 1797 3445 2093 1755 1749 1667 876 2685 1646 2691 3258 1671 3276 1033 51 3640 1007 3582 2419 1518 1982 514 3001 673 2819 1441 3174 1385 2322 923 3688 27...

output:

dd180566-1d37-PIPE-b85d-c176ae85727d
5 44306
fa0 fa0 fa0 fa0
efc cfd abd 8d4 6f4 250 438 7d8 e11 8c0 3a6 fd3 64b a7d 88f 607 d56 4b5 980 78c dfc 8a4 652 65c 60a 3e5 af4 6e7 a0a c33 60e c45 480 ba eb1 366 d77 9fa 567 737 28b b30 228 b8a 528 cef 5e0 99b 312 ee1 a52 788 82 b0d c08 766 91d bb7 ec3 f8e b...

input:

dd180566-1d37-PIPE-b85d-c176ae85727d
5 44306
fa0 fa0 fa0 fa0
efc cfd abd 8d4 6f4 250 438 7d8 e11 8c0 3a6 fd3 64b a7d 88f 607 d56 4b5 980 78c dfc 8a4 652 65c 60a 3e5 af4 6e7 a0a c33 60e c45 480 ba eb1 366 d77 9fa 567 737 28b b30 228 b8a 528 cef 5e0 99b 312 ee1 a52 788 82 b0d c08 766 91d bb7 ec3 f8e b...

output:

4468cc07-dabe-OUTPUT-ba95-7ddd49645c94
5

result:

points 0.67368421050 Incorrect, m = 5

Test #35:

score: 64
Acceptable Answer
time: 476ms = 475ms + 1ms

input:

2dc2b1d4-8de2-INPUT-bcd3-aa55b691fdb3
2
43975
10000 10000
9708 7475 1820 2904 1850 1901 5834 7073 4150 7615 9286 8625 2239 5890 5143 6422 3606 6860 2432 4119 7741 8751 1552 328 9120 9189 5145 8254 252 2205 813 2276 7022 6614 417 4073 8386 1802 4702 5404 745 690 9753 6201 6332 1677 3659 1588 658 2778...

output:

dd180566-1d37-PIPE-b85d-c176ae85727d
5 43975
2710 2710 2710 2710
2565 1dba 795 bd1 7b3 7e4 1643 1b28 10bf 1d36 24cf 2138 836 178b 149e 199f e9f 1a45 909 109e 1eb4 22a6 699 1c1 2329 236c 1490 20b7 75 814 3a4 86d 1be7 195f 128 f60 204b 783 12d7 1595 260 23b 2690 18b0 1835 604 ec2 6bd 21b a53 22fc 6b9 ...

input:

dd180566-1d37-PIPE-b85d-c176ae85727d
5 43975
2710 2710 2710 2710
2565 1dba 795 bd1 7b3 7e4 1643 1b28 10bf 1d36 24cf 2138 836 178b 149e 199f e9f 1a45 909 109e 1eb4 22a6 699 1c1 2329 236c 1490 20b7 75 814 3a4 86d 1be7 195f 128 f60 204b 783 12d7 1595 260 23b 2690 18b0 1835 604 ec2 6bd 21b a53 22fc 6b9 ...

output:

4468cc07-dabe-OUTPUT-ba95-7ddd49645c94
5

result:

points 0.67368421050 Incorrect, m = 5

Test #36:

score: 64
Acceptable Answer
time: 479ms = 478ms + 1ms

input:

2dc2b1d4-8de2-INPUT-bcd3-aa55b691fdb3
2
44115
10000 10000
3872 1748 9201 2609 9822 8829 9301 6751 7920 586 9824 460 1971 8339 7118 9491 7690 6044 8663 1459 5548 5764 2243 4111 129 9838 4432 2382 7826 5710 3420 2279 7739 8019 3402 2176 4330 6799 1401 6660 6646 8451 3856 6572 6508 9771 6478 111 6071 4...

output:

dd180566-1d37-PIPE-b85d-c176ae85727d
5 44115
2710 2710 2710 2710
fa9 65d 2378 ab8 26d7 22f4 24dc 1ad6 1e79 2c3 26e9 145 73a 201a 1b47 259a 1e83 1715 215e 53a 1525 160d 84a 1086 8 26e7 11d9 9c7 1e1b 16c7 dd5 86e 1eb2 1fda dc3 809 1063 1a06 5f0 1a8d 197f 218a f99 1925 19e5 26a2 19c7 e6 173e 1122 12a1 ...

input:

dd180566-1d37-PIPE-b85d-c176ae85727d
5 44115
2710 2710 2710 2710
fa9 65d 2378 ab8 26d7 22f4 24dc 1ad6 1e79 2c3 26e9 145 73a 201a 1b47 259a 1e83 1715 215e 53a 1525 160d 84a 1086 8 26e7 11d9 9c7 1e1b 16c7 dd5 86e 1eb2 1fda dc3 809 1063 1a06 5f0 1a8d 197f 218a f99 1925 19e5 26a2 19c7 e6 173e 1122 12a1 ...

output:

4468cc07-dabe-OUTPUT-ba95-7ddd49645c94
5

result:

points 0.67368421050 Incorrect, m = 5

Test #37:

score: 64
Acceptable Answer
time: 501ms = 499ms + 2ms

input:

2dc2b1d4-8de2-INPUT-bcd3-aa55b691fdb3
2
42712
40000 40000
10895 11350 29187 10537 17930 29698 11524 20370 16209 36648 3862 7207 39622 21745 15735 959 357 947 20307 35352 18193 26612 38311 30787 17036 34712 34400 11333 10889 26958 25561 36735 17995 32219 2404 29588 6257 12010 1301 24501 2740 11199 28...

output:

dd180566-1d37-PIPE-b85d-c176ae85727d
5 42712
9c40 9c40 9c40 9c40
2a06 2cdf 728a 29a0 4683 748b 2d8d 4f1b 3fd8 8fa1 f9f 1cae 9a4f 5478 3dfe 336 1ec 33a 4fda 8a91 4798 677d 952e 78ca 4205 8711 86e9 2ccc 2a00 69c7 6350 8ff6 46c2 7d52 9ed 731d 18f8 2e63 59c 5f3c a3d 2b36 6fe6 94dc 18db 4dfd 7cc0 5cb6 33...

input:

dd180566-1d37-PIPE-b85d-c176ae85727d
5 42712
9c40 9c40 9c40 9c40
2a06 2cdf 728a 29a0 4683 748b 2d8d 4f1b 3fd8 8fa1 f9f 1cae 9a4f 5478 3dfe 336 1ec 33a 4fda 8a91 4798 677d 952e 78ca 4205 8711 86e9 2ccc 2a00 69c7 6350 8ff6 46c2 7d52 9ed 731d 18f8 2e63 59c 5f3c a3d 2b36 6fe6 94dc 18db 4dfd 7cc0 5cb6 33...

output:

4468cc07-dabe-OUTPUT-ba95-7ddd49645c94
5

result:

points 0.67368421050 Incorrect, m = 5

Test #38:

score: 64
Acceptable Answer
time: 561ms = 559ms + 2ms

input:

2dc2b1d4-8de2-INPUT-bcd3-aa55b691fdb3
2
42578
40000 40000
28194 8849 29145 24604 30543 19234 35138 26938 6386 17310 34562 28051 24564 36389 3365 23066 22313 31197 38911 38668 7655 24370 29830 32501 10526 32404 39183 19628 9253 13457 19681 12344 27726 27126 36006 24354 9529 435 4455 3315 15486 22355 ...

output:

dd180566-1d37-PIPE-b85d-c176ae85727d
5 42578
9c40 9c40 9c40 9c40
6eab 2218 7150 6095 77c6 4bab 89cb 69b3 187b 4317 878b 6d1a 5f7d 8eac dac 5a93 57a0 7954 9776 9785 1d6e 5fbb 740f 7e7c 2997 7e1d 9986 4c25 24ac 3418 4c68 30b1 6cc7 697f 8c2f 5fab 25b0 13a 11ee c7a 3cf7 57da 77c4 5af8 24ba 4e5e 77a7 3a6...

input:

dd180566-1d37-PIPE-b85d-c176ae85727d
5 42578
9c40 9c40 9c40 9c40
6eab 2218 7150 6095 77c6 4bab 89cb 69b3 187b 4317 878b 6d1a 5f7d 8eac dac 5a93 57a0 7954 9776 9785 1d6e 5fbb 740f 7e7c 2997 7e1d 9986 4c25 24ac 3418 4c68 30b1 6cc7 697f 8c2f 5fab 25b0 13a 11ee c7a 3cf7 57da 77c4 5af8 24ba 4e5e 77a7 3a6...

output:

4468cc07-dabe-OUTPUT-ba95-7ddd49645c94
5

result:

points 0.67368421050 Incorrect, m = 5

Test #39:

score: 64
Acceptable Answer
time: 589ms = 587ms + 2ms

input:

2dc2b1d4-8de2-INPUT-bcd3-aa55b691fdb3
2
40083
100000 100000
30835 54902 6031 39780 48892 41112 10655 59793 82131 11690 46738 17357 71191 42943 59375 29187 13113 60681 52635 78884 28768 26173 64156 46178 687 70180 721 91640 72042 76284 56999 69796 75841 24470 47874 87966 9206 57028 69773 82741 61206 ...

output:

dd180566-1d37-PIPE-b85d-c176ae85727d
5 40083
186a0 186a0 186a0 186a0
78fa d6ff 1706 9bed be75 a011 2916 e918 1405a 2d23 b61b 4344 1169e a736 e766 728a 33b0 ed80 cd12 134ad 70e9 66b4 fa15 b4eb 226 112ad 258 16571 119e3 12975 de2e 1102d 128c8 5f1f bb8b 15717 237f de4d 11004 143bc ef9f 17246 1f98 fd83 ...

input:

dd180566-1d37-PIPE-b85d-c176ae85727d
5 40083
186a0 186a0 186a0 186a0
78fa d6ff 1706 9bed be75 a011 2916 e918 1405a 2d23 b61b 4344 1169e a736 e766 728a 33b0 ed80 cd12 134ad 70e9 66b4 fa15 b4eb 226 112ad 258 16571 119e3 12975 de2e 1102d 128c8 5f1f bb8b 15717 237f de4d 11004 143bc ef9f 17246 1f98 fd83 ...

output:

4468cc07-dabe-OUTPUT-ba95-7ddd49645c94
5

result:

points 0.67368421050 Incorrect, m = 5

Test #40:

score: 64
Acceptable Answer
time: 575ms = 573ms + 2ms

input:

2dc2b1d4-8de2-INPUT-bcd3-aa55b691fdb3
2
39891
100000 100000
88851 25433 51845 79408 40941 31163 60757 55069 34140 32190 44722 40747 23732 89836 86611 47711 49975 64281 70439 65875 65902 25801 91559 8426 44823 22054 75184 91728 47315 77067 63066 33263 75407 10551 63423 80478 61597 55593 78421 20453 5...

output:

dd180566-1d37-PIPE-b85d-c176ae85727d
5 39891
186a0 186a0 186a0 186a0
15b9a 63d0 ca0c 136b9 9f64 7932 eddc d794 85d5 7d37 ae3b 9fa2 5c3d 15e65 152da bad6 c3be fb90 113ae 101da 101e7 6440 1652e 2063 af9e 56af 12539 166d9 b85a 12d82 f6d3 8166 12606 29be f736 13ad7 f014 d9a0 132dc 4f6c c5a3 688a d24d 10...

input:

dd180566-1d37-PIPE-b85d-c176ae85727d
5 39891
186a0 186a0 186a0 186a0
15b9a 63d0 ca0c 136b9 9f64 7932 eddc d794 85d5 7d37 ae3b 9fa2 5c3d 15e65 152da bad6 c3be fb90 113ae 101da 101e7 6440 1652e 2063 af9e 56af 12539 166d9 b85a 12d82 f6d3 8166 12606 29be f736 13ad7 f014 d9a0 132dc 4f6c c5a3 688a d24d 10...

output:

4468cc07-dabe-OUTPUT-ba95-7ddd49645c94
5

result:

points 0.67368421050 Incorrect, m = 5