QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#118478#6661. 야유회vme505 1356ms6492kbC++17787b2023-07-03 16:30:552023-07-03 16:30:58

Judging History

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

  • [2023-08-10 23:21:45]
  • System Update: QOJ starts to keep a history of the judgings of all the submissions.
  • [2023-07-03 16:30:58]
  • 评测
  • 测评结果:5
  • 用时:1356ms
  • 内存:6492kb
  • [2023-07-03 16:30:55]
  • 提交

answer

#include "workshop.h"
#include <bits/stdc++.h>
using namespace std;
#define N 100005
#define rdm(l,r) uniform_int_distribution<int>(l,r)(rand1)
const int n=1e5,m=6;int a[N];
void init() {mt19937 rand1(0);for(int i=0;i<n;++i) a[i]=rdm(0,1e9);}
int get(int x)
{
	int t=x;mt19937 rand1(x);
	while(t%m==x%m) t=rdm(0,1e9);return t;
}
int morning(int x1,int x2)
{x1=a[x1];x2=a[x2];if(x1%m!=x2%m) return x1;return get(x1);}
int afternoon(int x1,int x2,int x3)
{
	if(x2%m!=x3%m) return x2;
	int t=x3;mt19937 rand1(x2);if(x1==x2) x1=get(x1);
	while(t%m==x1%m || t%m==x2%m) t=rdm(0,1e9);return t;
}
int evening(int x1,int x2,int x3)
{
	if(x2%m!=x3%m) return x2%m;
	int t=x3;mt19937 rand1(x2);if(x1==x2) x1=get(x1);
	while(t%m==x1%m || t%m==x2%m) t=rdm(0,1e9);return t%m;
}

Details

Tip: Click on the bar to expand more detailed information

Subtask #1:

score: 5
Accepted

Test #1:

score: 5
Accepted
time: 2ms = 1ms + 1ms
memory: 4052kb,3764kb

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
6 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 
0f26a28f 235617c1 2aa0ecfc 32527999 12f5da8b 3323369d 207a4160 32800993 19407504 267f8f6a 16e93385 1a150d83 11bc0404 352760c3 ...

input:

dd180566-1d37-PIPE-b85d-c176ae85727d
6 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 
0f26a28f 235617c1 2aa0ecfc 32527999 12f5da8b 3323369d 207a4160 32800993 19407504 267f8f6a 16e93385 1a150d83 11bc0404 352760c3 ...

output:

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

result:

ok Correct, m = 6

Test #2:

score: 5
Accepted
time: 3ms = 2ms + 1ms
memory: 4096kb,3824kb

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 
207a4160 267f8f6a 23ed70e3 2aa0ecfc 235617c1 3323369d 
267f8f6a 23ed70e3 2aa0ecfc 235617c1 
8d 8a 
a 9 7 5
8f 80 8d 8b 89 88 8c 8e 8a 81 
207a4160 267f8f6a 23ed70e3 2aa0ecfc 0f26a28f 235617c1 3323369d 32800993 32527999 
267f8f6a ...

input:

dd180566-1d37-PIPE-b85d-c176ae85727d
5 2
7 6 4 2
8f 80 8d 8b 88 8c 8e 
207a4160 267f8f6a 23ed70e3 2aa0ecfc 235617c1 3323369d 
267f8f6a 23ed70e3 2aa0ecfc 235617c1 
8d 8a 
a 9 7 5
8f 80 8d 8b 89 88 8c 8e 8a 81 
207a4160 267f8f6a 23ed70e3 2aa0ecfc 0f26a28f 235617c1 3323369d 32800993 32527999 
267f8f6a ...

output:

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

result:

ok Correct, m = 5

Test #3:

score: 5
Accepted
time: 1121ms = 1119ms + 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
6 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 
11bc0404 23ed70e3 16dadaf8 32800993 141c4148 10a33cfa 16e93385 1c9bde5a 20b63a37 2e61ba5c 1040672f 32527999 085d95b0 1c3aa...

input:

dd180566-1d37-PIPE-b85d-c176ae85727d
6 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 
11bc0404 23ed70e3 16dadaf8 32800993 141c4148 10a33cfa 16e93385 1c9bde5a 20b63a37 2e61ba5c 1040672f 32527999 085d95b0 1c3aa...

output:

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

result:

ok Correct, m = 6

Test #4:

score: 5
Accepted
time: 1ms = 0ms + 1ms
memory: 4044kb,3756kb

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
6 2
7 6 4 2
8f 80 8d 8b 88 8c 8e 
207a4160 267f8f6a 23ed70e3 2aa0ecfc 235617c1 3323369d 
267f8f6a 23ed70e3 2aa0ecfc 235617c1 
8d 8a 
a a a a
8f 80 8d 8b 89 88 8c 8e 8a 81 
207a4160 267f8f6a 23ed70e3 2aa0ecfc 0f26a28f 235617c1 3323369d 32800993 32527999 159a8bf3 
...

input:

dd180566-1d37-PIPE-b85d-c176ae85727d
6 2
7 6 4 2
8f 80 8d 8b 88 8c 8e 
207a4160 267f8f6a 23ed70e3 2aa0ecfc 235617c1 3323369d 
267f8f6a 23ed70e3 2aa0ecfc 235617c1 
8d 8a 
a a a a
8f 80 8d 8b 89 88 8c 8e 8a 81 
207a4160 267f8f6a 23ed70e3 2aa0ecfc 0f26a28f 235617c1 3323369d 32800993 32527999 159a8bf3 
...

output:

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

result:

ok Correct, m = 6

Test #5:

score: 5
Accepted
time: 819ms = 817ms + 2ms
memory: 6492kb,5344kb

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
6 100000
a a a a
8d 81 8a 8e 88 89 8b 8c 8f 80 
23ed70e3 19407504 32527999 19d8a263 11cc652c 20b63a37 2aa0ecfc 3323369d 207a4160 267f8f6a 
19407504 32527999 19d8a263 11cc652c 20b63a37 2aa0ecfc 3323369d 207a4160 267f8f6a 23ed70e3 
8b 8d 88 89 8a 8d 8c 88 8d 8c 
a ...

input:

dd180566-1d37-PIPE-b85d-c176ae85727d
6 100000
a a a a
8d 81 8a 8e 88 89 8b 8c 8f 80 
23ed70e3 19407504 32527999 19d8a263 11cc652c 20b63a37 2aa0ecfc 3323369d 207a4160 267f8f6a 
19407504 32527999 19d8a263 11cc652c 20b63a37 2aa0ecfc 3323369d 207a4160 267f8f6a 23ed70e3 
8b 8d 88 89 8a 8d 8c 88 8d 8c 
a ...

output:

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

result:

ok Correct, m = 6

Test #6:

score: 5
Accepted
time: 774ms = 771ms + 3ms
memory: 5248kb,5312kb

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
6 128929
a a a a
8d 81 8a 8e 88 89 8b 8c 8f 80 
23ed70e3 19407504 32527999 19d8a263 11cc652c 20b63a37 2aa0ecfc 3323369d 207a4160 267f8f6a 
19407504 32527999 19d8a263 11cc652c 20b63a37 2aa0ecfc 3323369d 207a4160 267f8f6a 23ed70e3 
8b 8d 88 89 8a 8d 8c 88 8d 8c 
9 ...

input:

dd180566-1d37-PIPE-b85d-c176ae85727d
6 128929
a a a a
8d 81 8a 8e 88 89 8b 8c 8f 80 
23ed70e3 19407504 32527999 19d8a263 11cc652c 20b63a37 2aa0ecfc 3323369d 207a4160 267f8f6a 
19407504 32527999 19d8a263 11cc652c 20b63a37 2aa0ecfc 3323369d 207a4160 267f8f6a 23ed70e3 
8b 8d 88 89 8a 8d 8c 88 8d 8c 
9 ...

output:

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

result:

ok Correct, m = 6

Test #7:

score: 5
Accepted
time: 1106ms = 1103ms + 3ms

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
6 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 
11bc0404 23ed70e3 16dadaf8 32800993 141c4148 10a33cfa 16e93385 1c9bde5a 20b63a37 2e61ba5c 1040672f 32527999 085d95b0 1c3aa...

input:

dd180566-1d37-PIPE-b85d-c176ae85727d
6 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 
11bc0404 23ed70e3 16dadaf8 32800993 141c4148 10a33cfa 16e93385 1c9bde5a 20b63a37 2e61ba5c 1040672f 32527999 085d95b0 1c3aa...

output:

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

result:

ok Correct, m = 6

Subtask #2:

score: 0
Wrong Answer

Test #8:

score: 52
Acceptable Answer
time: 5ms = 5ms + 0ms
memory: 4048kb,3932kb

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
6 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 
0f26a28f 235617c1 2aa0ecfc 32527999 12f5da8b 3323369d 207a4160 32800993 19407504 267f8f6a 16e93385 1a150d83 11bc0404 352760c3 ...

input:

dd180566-1d37-PIPE-b85d-c176ae85727d
6 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 
0f26a28f 235617c1 2aa0ecfc 32527999 12f5da8b 3323369d 207a4160 32800993 19407504 267f8f6a 16e93385 1a150d83 11bc0404 352760c3 ...

output:

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

result:

points 0.54736842110 Incorrect, m = 6

Test #9:

score: 64
Acceptable Answer
time: 4ms = 2ms + 2ms
memory: 4056kb,3828kb

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 
207a4160 267f8f6a 23ed70e3 2aa0ecfc 235617c1 3323369d 
267f8f6a 23ed70e3 2aa0ecfc 235617c1 
8d 8a 
a 9 7 5
8f 80 8d 8b 89 88 8c 8e 8a 81 
207a4160 267f8f6a 23ed70e3 2aa0ecfc 0f26a28f 235617c1 3323369d 32800993 32527999 
267f8f6a ...

input:

dd180566-1d37-PIPE-b85d-c176ae85727d
5 2
7 6 4 2
8f 80 8d 8b 88 8c 8e 
207a4160 267f8f6a 23ed70e3 2aa0ecfc 235617c1 3323369d 
267f8f6a 23ed70e3 2aa0ecfc 235617c1 
8d 8a 
a 9 7 5
8f 80 8d 8b 89 88 8c 8e 8a 81 
207a4160 267f8f6a 23ed70e3 2aa0ecfc 0f26a28f 235617c1 3323369d 32800993 32527999 
267f8f6a ...

output:

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

result:

points 0.67368421050 Incorrect, m = 5

Test #10:

score: 52
Acceptable Answer
time: 1106ms = 1104ms + 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
6 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 
19407504 188bc8d8 267f8f6a 16e93385 01348296 141c4148 372b7b53 0cc635b2 21dbac9d 1040672f 20b63a37 11bc0404 31d58c38 33233...

input:

dd180566-1d37-PIPE-b85d-c176ae85727d
6 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 
19407504 188bc8d8 267f8f6a 16e93385 01348296 141c4148 372b7b53 0cc635b2 21dbac9d 1040672f 20b63a37 11bc0404 31d58c38 33233...

output:

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

result:

points 0.54736842110 Incorrect, m = 6

Test #11:

score: 52
Acceptable Answer
time: 1356ms = 1355ms + 1ms

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
6 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
6 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
6

result:

points 0.54736842110 Incorrect, m = 6

Test #12:

score: 52
Acceptable Answer
time: 1337ms = 1335ms + 2ms

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
6 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
6 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
6

result:

points 0.54736842110 Incorrect, m = 6

Test #13:

score: 52
Acceptable Answer
time: 1333ms = 1331ms + 2ms

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
6 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
6 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
6

result:

points 0.54736842110 Incorrect, m = 6

Test #14:

score: 52
Acceptable Answer
time: 1347ms = 1346ms + 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
6 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
6 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
6

result:

points 0.54736842110 Incorrect, m = 6

Test #15:

score: 52
Acceptable Answer
time: 2ms = 0ms + 2ms
memory: 4100kb,3928kb

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
6 2
7 6 4 2
8f 80 8d 8b 88 8c 8e 
207a4160 267f8f6a 23ed70e3 2aa0ecfc 235617c1 3323369d 
267f8f6a 23ed70e3 2aa0ecfc 235617c1 
8d 8a 
a a a a
8f 80 8d 8b 89 88 8c 8e 8a 81 
207a4160 267f8f6a 23ed70e3 2aa0ecfc 0f26a28f 235617c1 3323369d 32800993 32527999 159a8bf3 
...

input:

dd180566-1d37-PIPE-b85d-c176ae85727d
6 2
7 6 4 2
8f 80 8d 8b 88 8c 8e 
207a4160 267f8f6a 23ed70e3 2aa0ecfc 235617c1 3323369d 
267f8f6a 23ed70e3 2aa0ecfc 235617c1 
8d 8a 
a a a a
8f 80 8d 8b 89 88 8c 8e 8a 81 
207a4160 267f8f6a 23ed70e3 2aa0ecfc 0f26a28f 235617c1 3323369d 32800993 32527999 159a8bf3 
...

output:

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

result:

points 0.54736842110 Incorrect, m = 6

Test #16:

score: 52
Acceptable Answer
time: 1332ms = 1329ms + 3ms

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
6 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
6 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
6

result:

points 0.54736842110 Incorrect, m = 6

Test #17:

score: 0
Wrong Answer
time: 1136ms = 1135ms + 1ms

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:

64be09ab-d709-ERROR-82bc-c23f6124dd26
Wrong Answer [4]

input:

64be09ab-d709-ERROR-82bc-c23f6124dd26
Wrong Answer [4]

output:

64be09ab-d709-ERROR-82bc-c23f6124dd26
Wrong Answer [4]

result:

wrong answer Wrong Answer [4]