QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#48831#4675. Multiple Communicationszhangboju0 30ms3872kbC++171.3kb2022-09-16 12:02:242023-02-04 00:28:42

Judging History

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

  • [2023-08-10 23:21:45]
  • System Update: QOJ starts to keep a history of the judgings of all the submissions.
  • [2023-02-04 00:28:42]
  • 评测
  • 测评结果:0
  • 用时:30ms
  • 内存:3872kb
  • [2022-09-16 12:02:24]
  • 提交

answer

#include<bits/stdc++.h>
using namespace std;
template <typename T> inline void read(T &x)
{
	x=0;short f=1;char c=getchar();
	for(;c<'0'||c>'9';c=getchar()) if(c=='-') f=-1;
	for(;c>='0'&&c<='9';c=getchar()) x=(x<<1)+(x<<3)+(c^48);
	x*=f;return;
}
mt19937 rnd(time(0));
int pos[30][1005];
int val[30];
void init()
{
	for(int i=0;i<30;i++) 
		for(int j=0;j<1000;j++) 
			pos[i][j]=rnd()&1;
}
void encode()
{
	for(int i=0;i<100;i++)
	{
		string s; 
		cin>>s;
		for(int j=0;j<30;j++)
		{
			int c=0;
			for(int k=0;k<1000;k++) 
				c^=(s[k]-'0')&pos[j][k];
			putchar(c+'0');
		}
	}
	putchar('\n');
}
void decode()
{
	string A,B; 
	cin>>A>>B;
	int Q=100;
	while(Q--)
	{
		string s; 
		cin>>s;
		for(int j=0;j<30;j++)
		{
			int c=0;
			for(int k=0;k<1000;k++) 
				c^=(s[k]-'0')&pos[j][k];
			val[j]=c;
		}
		bool flag=0;
		for(int i=0;i<100;i++) 
		{
			for(int j=0;j<100;j++)
			{
				int ok=1;
				for(int k=0;k<30;k++)
				{
					int a=A[i*30+k]-'0',b=B[j*30+k]-'0';
					if(a^b^val[k]) ok=0;
				}
				if(ok) 
				{
					printf("%d %d\n",i+1,j+1);
					flag=1;
					break;
				}
			}
			if(flag) break;
		}
	}
}
int main()
{
	init();
	string opt; 
	cin>>opt;
	if(opt=="Alice"||opt=="Bob") encode();
	else decode();
	return 0;
}

詳細信息

Test #1:

score: 100
Accepted
time: 15ms
memory: 3872kb

First Run Input

Alice
111101001110010010001100100110111010100101011011100010101101001000010111100100110100000111101101111110010010000110000110111000111101010101011000000011011110000001000101110110101110010011110110110000100101110111000010010101010110011010001101100111001010100011001000100101100101010110000100001110...

First Run Output

001010111100110010000100101001001110111011110000101111110001000111110110000110001111000100011011100110010011000101101101100010110110001110001110000100110000011111011001100011100010011011111010010000110111101001110101101111000001100001001111100110011010100110000100000101100110001110101000110000100000...

Second Run Input

Bob
00000011100010001101011001011110011000101110001001000111010100011010001011101011100001110101110110110101111101110000110101010101000111101000110110001000010010100100100000110101000110110110111110100000101111101010100111000111100011000011111000000110000101101101001100111010001110110001101011101111...

Second Run Output

000010100001000111100100100010001001010011010011010001000000010000100011001100011101100011010100000111100101000100010111101111010001101011000001100101100001000011111111111111000101111011111000011011100110100111100001110110000010100010010111011010001101111000110101111000000110101010001011011111110101...

Third Run Input

Clara
001010111100110010000100101001001110111011110000101111110001000111110110000110001111000100011011100110010011000101101101100010110110001110001110000100110000011111011001100011100010011011111010010000110111101001110101101111000001100001001111100110011010100110000100000101100110001110101000110000...

Third Run Output

11 8
68 89
74 70
92 97
28 58
6 82
53 98
29 9
68 8
95 31
61 74
99 37
84 44
2 25
74 69
39 25
76 92
77 67
74 95
1 10
100 23
12 3
28 31
85 64
75 49
56 78
42 21
93 20
95 2
47 86
17 93
58 38
95 7
35 50
91 34
87 38
44 3
32 7
30 58
76 16
94 69
48 2
68 27
43 26
100 39
98 61
38 5
93 95
37 49
27 80
51 94
23 85...

Manager to Checker

OK
You answered 100 (out of 100) questions correctly

result:

ok OK

Test #2:

score: 100
Accepted
time: 17ms
memory: 3860kb

First Run Input

Alice
110011001011111111001010001110111101101011010010111100001110010000011100000010100100001110000000010001010111111110100111100101110000101110011101101001001101111010000011110011111011000010010010111111000010101111000010001101100110100010100100111011110000001110100100101000011110100001001001111011...

First Run Output

100110001111110101010111011111000110001101110100011001000101101000001100101111001010010110101101111100100110010110001100010101011110001010110110111011100101010001010010100010111100111101100010001100111100011110101100110111100111000100110100101101010001110000111001000101100100100010000111101000101101...

Second Run Input

Bob
01010101110011100011010110001001000000001100100000000011110100010001110110111000000001001000101010010100011101011010000110010110000000011000101101101101001111111110010101111010010111100100000100101101110011000011110001101001001001001110101100100100110000110100011100100001100110000000010011111101...

Second Run Output

000110010010010000011100010001010111010011001000011111101110111001001011101100110001000011000010110011001110010010000110011000001001001011001001110010110011111011001100110100000010011110110000100000001011111011110100110111010100101000111010111111000111001110000011001101100001111000100000101110111011...

Third Run Input

Clara
100110001111110101010111011111000110001101110100011001000101101000001100101111001010010110101101111100100110010110001100010101011110001010110110111011100101010001010010100010111100111101100010001100111100011110101100110111100111000100110100101101010001110000111001000101100100100010000111101000...

Third Run Output

82 32
36 96
69 8
55 17
38 1
73 22
46 5
31 21
8 63
19 84
68 65
25 49
37 18
80 28
43 13
54 82
27 3
2 25
27 6
50 40
72 28
49 9
45 67
49 5
32 46
37 78
56 19
34 22
47 91
77 19
62 85
38 23
71 26
58 13
95 51
34 36
57 66
6 41
32 55
56 78
19 25
58 95
11 30
66 34
41 51
29 13
62 70
75 72
34 66
19 63
62 31
66 8...

Manager to Checker

OK
You answered 100 (out of 100) questions correctly

result:

ok OK

Test #3:

score: 100
Accepted
time: 20ms
memory: 3732kb

First Run Input

Alice
001000011000111111000111100101001100110110010111010010010010001110100100011010001100001110101111000111001010001111101100001011011011110110100101111111101011010010100001011100111000111001110111000010111000001011010010001101010101110011100101110010110100001111101001011001000010110010011010011100...

First Run Output

011110000111000010111001000101110010101101001011110110001011100101001111001111101111010101111101000001101010001001010011111100011010001101001011010100011111000000011010010111110011111100111011001011000001000100101111101010011000011101001000100010011010101111111111111001011110101001011000111010101111...

Second Run Input

Bob
10101010011110101101100000011001110001111110010001100000100100000000100001100011101011011110010010001011000101111000111011101010001010101001101001000011011101110100100001101100011011111000111011100101000101010000010001001101000010010101010111000000101100010000100010010110001000010100110001001111...

Second Run Output

001000101010011000100011110110010100111101000011101001010110011111110011100101010111010110101000100010110010010111101010111101010001011100000000101111010010011001001100101110101010101010010111001111001001100001110110001001010000100011110111110110001110110010110011011000101010001010111101100101011011...

Third Run Input

Clara
011110000111000010111001000101110010101101001011110110001011100101001111001111101111010101111101000001101010001001010011111100011010001101001011010100011111000000011010010111110011111100111011001011000001000100101111101010011000011101001000100010011010101111111111111001011110101001011000111010...

Third Run Output

77 52
95 72
63 51
68 14
100 99
84 13
72 18
69 95
71 33
19 22
96 58
3 84
10 54
53 100
24 98
42 76
32 29
2 55
74 86
95 52
34 5
33 61
15 86
45 37
8 21
94 76
71 50
9 90
40 27
9 88
56 57
28 83
46 5
8 53
20 56
13 3
73 22
6 69
39 13
6 67
1 34
11 62
69 9
68 56
45 71
7 27
31 76
40 22
71 8
29 76
10 39
1 83
54...

Manager to Checker

OK
You answered 100 (out of 100) questions correctly

result:

ok OK

Test #4:

score: 100
Accepted
time: 20ms
memory: 3704kb

First Run Input

Alice
000000000110111100010000100100010011010001001101010110100000001101111101001101111100111011101000000100001000101100011010000110011001101101001001010111111000001001110000101010110100101111010010011101001000100001000100010000110110010111000000100011001111111100100100101110110100000001101110110101...

First Run Output

010001011111110011001101011110110100101101111011110000011110010101011001110001100101101000100111100010111111000111001010100111011110111100011101111101000111011011111011000001001100101001010010101001011101000101101000000100000101100100110000101111101010000011011101100001010111100001011110001111110000...

Second Run Input

Bob
00000011001111111001100001110110000000001100010100001001100100110010011100010110000101101000110100110011010011011000001101110100110110100011000101011111000111110111000010100101010111100001100000001011010111101111111111100100101010010011001111110000100000000110001100000011011110001110010011110011...

Second Run Output

111101111100100110010000011010000001011110011101010100011110001000110101000111100010000000011000010110101101111011001001010001011010001111000010010111110000001011000100000111111111101000011100011100011101011001010001101111011111000011101000000001001101101000101001010111010001000011010101000111100011...

Third Run Input

Clara
010001011111110011001101011110110100101101111011110000011110010101011001110001100101101000100111100010111111000111001010100111011110111100011101111101000111011011111011000001001100101001010010101001011101000101101000000100000101100100110000101111101010000011011101100001010111100001011110001111...

Third Run Output

34 61
36 56
22 7
100 39
65 10
51 73
36 12
64 5
89 64
30 83
60 2
65 89
68 48
49 87
73 15
62 38
87 43
39 32
50 50
88 56
68 56
1 75
5 99
16 10
67 49
18 71
26 51
98 36
69 74
15 81
88 87
33 80
38 12
22 41
10 21
66 25
41 99
5 3
37 87
29 68
71 7
48 95
92 58
57 50
13 29
96 39
26 71
95 24
78 64
45 63
35 3
98...

Manager to Checker

OK
You answered 100 (out of 100) questions correctly

result:

ok OK

Test #5:

score: 100
Accepted
time: 21ms
memory: 3728kb

First Run Input

Alice
100001000101000000001001010101011111110000000111110110011111100101101101100000000001100000101111110111011011011111100100010100110100001101110111010100010000101101010100000010100100010011101111110111101101011111000001111001010000011001010000101011001111010011110010100111010000100111110110010001...

First Run Output

010010111011001101100110000010011010110101101110011001010111110101001011110100101110001101000010010000110100100011111111010110011001001110100000110110111110000110101111111001000001000001111001010011110100110100111110011111010101011100001001110011110100100011010100001010010011111001101010001110100100...

Second Run Input

Bob
00101010101010011010000110100111110000011011010010100110101000001111001111110000110000000010111110011110000000100101001110111011010011111100111111010101110101000100110101110111010100010110000110101111101100100010010111011111101100101100100011100100001010011011011111001001111010010100010011001000...

Second Run Output

110000110101111110101000001110001111011110100011101110001111111110101010010100010001011111011011100111111011011000010010110101001101110000111010001001010101001010010111001110111100011110101011100101110001010011011101110110101001010011101011011011001101000000101011111101001111000110110101100101001011...

Third Run Input

Clara
010010111011001101100110000010011010110101101110011001010111110101001011110100101110001101000010010000110100100011111111010110011001001110100000110110111110000110101111111001000001000001111001010011110100110100111110011111010101011100001001110011110100100011010100001010010011111001101010001110...

Third Run Output

82 39
94 70
90 50
38 100
47 20
56 9
88 52
32 77
49 71
78 14
65 95
24 7
63 16
62 58
22 10
30 18
21 9
30 61
54 11
58 59
25 67
55 68
3 59
86 68
96 42
72 55
37 62
99 69
27 89
12 31
57 72
40 68
16 76
91 7
70 7
72 32
47 23
1 39
29 68
50 55
54 39
85 54
60 1
32 78
3 15
16 51
97 63
32 66
90 46
89 50
69 6
27 ...

Manager to Checker

OK
You answered 100 (out of 100) questions correctly

result:

ok OK

Test #6:

score: 100
Accepted
time: 17ms
memory: 3728kb

First Run Input

Alice
000110011011010000110110000001010011011001110011000000001101100010111101111001110110101001110011111101101000011000100110001101101010010110010000111110001110111111010001101001101000011111110010011111001001111110101001001011000000010101100010111001101001101100111011100111110011101101000100011110...

First Run Output

011111000111011011110000111011000010001011001011001101111011001000001011100100011011000101110110000110101111111110000110100101100000001111000110101111001001111110011110110110001010101101100101000101101110000000110000000010010101010110010011100101110010001011001101001100011101110100010110011001111100...

Second Run Input

Bob
00110110101101100000010111111100000101100011111111100011011000001010100011011000001010001111010100110000011111000001000000100100110000010010111010100101001010100110010010001001011001000100111010110111011110010001000111011010001101101000110111100110000011000100111011001100010011011010001011101010...

Second Run Output

110010010101101100011100111010010100000011001010001100000011001110000110100010110011110001001111000011010110000111011101100010011010011001100111100011100101000110111101001001010010101100000001010110100100011010000010011110011010001101010111111100110000100011001010000111000101000100011100100000101111...

Third Run Input

Clara
011111000111011011110000111011000010001011001011001101111011001000001011100100011011000101110110000110101111111110000110100101100000001111000110101111001001111110011110110110001010101101100101000101101110000000110000000010010101010110010011100101110010001011001101001100011101110100010110011001...

Third Run Output

6 12
11 67
4 23
5 83
60 66
14 80
87 68
87 83
16 47
45 18
96 44
99 38
28 33
40 84
68 24
25 24
27 71
88 76
45 18
64 57
44 53
82 53
28 7
1 49
10 39
18 39
64 3
6 60
10 97
23 66
55 12
74 78
73 23
53 66
41 81
72 81
58 56
97 15
32 17
29 87
54 37
92 68
27 26
60 64
61 20
84 37
24 91
23 64
29 99
84 94
89 38
2...

Manager to Checker

OK
You answered 100 (out of 100) questions correctly

result:

ok OK

Test #7:

score: 100
Accepted
time: 17ms
memory: 3736kb

First Run Input

Alice
110011100001011110101111010010000100011111111100000111100010101101000101010101110100011001100010011111011000101000100001111000000001110011111000110001110110000110111100101000000100110101011011001011011011111111100000001000010001101000010101111110010010001000001010001001111100000100111000100100...

First Run Output

111010001110001110110001011011111111111010010000001001100101101011011001000101100011110110100110101000100011101011000001001110011111100100111101011011111010011100110100011101010001000110001100011101111000010010111001000101100000110001111000111011001000000101000011011111000100101001101101000111110001...

Second Run Input

Bob
11101101001000111010100111001010111000010111010010100011001000101011111101000000110111001111001010101000100011010101000001001000010000001111101110111010000000100011101000101001110001101010111111101111111010011101110110001010101000011011110001111010101110111001111111110110011000011100011010100000...

Second Run Output

100011100110011011111100000011010111001100000100011110100000000001100011100010001010011000110000000011110010101100011000100000011011100010001001001100100011111010100000010010001111011100111011100101000111110010000101001111001110010011000111101100100011100000011000010010101011110001001110010111101000...

Third Run Input

Clara
111010001110001110110001011011111111111010010000001001100101101011011001000101100011110110100110101000100011101011000001001110011111100100111101011011111010011100110100011101010001000110001100011101111000010010111001000101100000110001111000111011001000000101000011011111000100101001101101000111...

Third Run Output

86 33
73 42
70 55
67 49
5 16
36 92
3 94
34 67
73 88
50 80
82 100
88 1
80 1
45 60
93 87
53 70
28 72
16 40
48 30
41 76
96 57
29 85
82 33
79 87
16 8
92 26
16 29
100 46
25 96
62 36
11 6
39 95
2 73
42 100
43 51
65 52
27 13
17 77
82 29
43 31
10 95
89 50
11 50
21 96
14 68
65 22
83 12
98 94
58 3
20 22
25 2
...

Manager to Checker

OK
You answered 100 (out of 100) questions correctly

result:

ok OK

Test #8:

score: 100
Accepted
time: 10ms
memory: 3864kb

First Run Input

Alice
001011110110011111111111110100101100111101100011110011000011101101101100000111010111101100001011010010100001000011000101111111000100100101010010111110101011111110010010100111001011110101101001101001101000010101011110101011001010011010100101010011110011010111011111110110110110100001000101011101...

First Run Output

101011010001100011100000111001010110001101010000110110110000100000100000010011100111111111010111101110010000010001010001001001101100000011011110100100110010111011101110110011101111010111100001101011001010111110011110110010011000000000001100011011101100100101000111011100001001100101011100110111001101...

Second Run Input

Bob
11000000110010101110010101111100000101011000100011011101101001111100011100010010001100100010111100101110110100101110001001011100110101000111101000001110001101001001010010111000001000000001101011000111010011101100100100110110000111100101011100010111011100100011111111001111101111100111110111111001...

Second Run Output

001010011010100100111110110100001001110110110000010101010111110000011111011001000110100100111110011111010000001100000010011001011110111010000110100010001001111110100011101110111011011000110110001110011101111101110110000011000000101010101101000010010011000101111010011110110111010011000000100110001101...

Third Run Input

Clara
101011010001100011100000111001010110001101010000110110110000100000100000010011100111111111010111101110010000010001010001001001101100000011011110100100110010111011101110110011101111010111100001101011001010111110011110110010011000000000001100011011101100100101000111011100001001100101011100110111...

Third Run Output

77 63
7 75
36 96
81 55
52 65
27 7
26 38
67 27
1 15
37 8
37 66
67 18
47 65
9 70
30 91
82 49
11 22
12 46
94 6
43 57
29 25
94 74
83 87
93 36
81 34
15 34
37 17
80 10
28 7
44 51
86 11
74 58
76 72
63 66
28 98
67 85
55 6
3 80
92 58
19 89
64 81
55 81
42 50
51 8
3 40
81 33
29 57
5 35
74 46
64 43
97 52
66 36
...

Manager to Checker

OK
You answered 100 (out of 100) questions correctly

result:

ok OK

Test #9:

score: 100
Accepted
time: 16ms
memory: 3856kb

First Run Input

Alice
100000111110010010110011110000010000100011011011110001110001001000100101001111101001001000101011101100111100100001100011001111011001011101100001100010001000000010110011101011101000011110111110011111110111111101110110110001111011111010110000100110110011001110010000000011000101101110000101011110...

First Run Output

101000001100110011001010001000110010001000100100101001011011000000111000001111011001000001000001000000110110110101010111001000001111111001111001001000101111000110111110000011001001001010101100111100000000000101010100101101101001111010010010001111001111101010100000000001011010100010001011000110010111...

Second Run Input

Bob
00111101110110010110011010111100000000011111110010110110111111101101101111001100011000100010011010101101001110100000110010011100110101010001001101111011110101110000101101111001000011000111000110001101011110011101000001101011101101111001111111111101011111100110110010110000011100010000110000011101...

Second Run Output

011101010001111110111011010101001110100111110100001001110110111011101100101000111001101001011101011000010110100111110011001100110001111100010000111000100011101010001110100011011101011111110100101000011011001101100010001110010100001101111110111111101001111010110101011100111101111100010011011000010101...

Third Run Input

Clara
101000001100110011001010001000110010001000100100101001011011000000111000001111011001000001000001000000110110110101010111001000001111111001111001001000101111000110111110000011001001001010101100111100000000000101010100101101101001111010010010001111001111101010100000000001011010100010001011000110...

Third Run Output

9 40
31 4
25 82
30 20
36 34
20 7
20 21
100 4
15 57
31 33
85 58
39 43
85 56
52 25
93 31
25 29
69 80
48 69
48 20
67 25
66 19
14 95
8 44
29 78
88 94
31 98
39 60
47 41
31 86
88 44
82 76
37 34
86 60
77 7
57 77
21 62
59 95
92 83
61 13
66 21
1 77
64 63
25 5
73 90
61 12
82 87
41 72
68 66
4 65
52 86
60 91
28...

Manager to Checker

OK
You answered 100 (out of 100) questions correctly

result:

ok OK

Test #10:

score: 100
Accepted
time: 20ms
memory: 3856kb

First Run Input

Alice
010101011111100111010011110011001110100000100001010110000111001001010101011110110100000001010010110011001001000100100111101101000000101101111001100100101110001000000101001000111010000100111010100001001111001101011010110111001101010100010101011111010011100100110110101101101111110000010110001000...

First Run Output

100100010100101011001100000011000100110010001111011101001101110011010101001100000010001111101101100101000000000001000110111001110111111000110010110100100100111001111011111011101110100100000111011101011110101110000110110101111111001000111101100010101010101111010000010110000011011000101111001110100011...

Second Run Input

Bob
00111001101110101101111001110100010110011000010110100100011111000111101011100100010001000111110110011010111000101001010111000011001001011101001111001110010110111110100001100111101110010010000111000010101101101000001001110101101111110000101011011011101011011000000111001001110100010100001001110100...

Second Run Output

110000010010111101011111011001000010111010010011110110001100110001000110010101010100111101100100100001100010101111101010010100101010111110100011110110001010101001011001100000001110010110100000010000010000110101100001101010111100111000010101011110010100001010101111001000100001001100100101000100011100...

Third Run Input

Clara
100100010100101011001100000011000100110010001111011101001101110011010101001100000010001111101101100101000000000001000110111001110111111000110010110100100100111001111011111011101110100100000111011101011110101110000110110101111111001000111101100010101010101111010000010110000011011000101111001110...

Third Run Output

99 87
20 86
69 95
71 71
8 89
72 98
21 82
16 52
100 39
66 25
58 61
11 9
41 53
99 32
54 40
50 26
44 25
64 28
49 75
20 96
49 79
34 15
31 50
40 94
41 69
10 83
60 35
28 86
89 45
7 80
89 13
33 30
58 32
91 56
7 53
58 40
4 14
20 13
35 34
15 61
98 79
50 26
40 39
42 73
21 67
58 26
84 1
29 73
7 37
40 74
34 87
...

Manager to Checker

OK
You answered 100 (out of 100) questions correctly

result:

ok OK

Test #11:

score: 100
Accepted
time: 16ms
memory: 3772kb

First Run Input

Alice
111010101110011110010001100011100100110100011110101100110010001011001110110100111110001000111011101110101110011011011110100110011101100010010100101110000110101111111010011110001110111110101011001000110110010000010011010000010011110101000110101000101001000110111001000110011101011110110100010110...

First Run Output

100101000100001111110011100010111011000101011110011010010111110111111100001001011110100110010000011110110100011011011101010100111110100010010111101001101111011111101111001001110101101001000111101110011001001100000110101001000010011001110010111011000010001010001111001111011000010111011010000100001111...

Second Run Input

Bob
11010111100001001001010011001110011001010101011101100100110110011010011110010110010000001011111110000000101000100101010111100011101111000100000100001011111100010111001101001101000110100000011111110111001001000100101101110000100010110000100101001110011101011011010011010110110011010101011000011111...

Second Run Output

101101011000001101100011101101000001100011011100110011011100101001011101010001010000100111001010100001010011101101011100111100100110011001010001101010100100111011100101111011001100100101111010011011100110011010010110101101110101000010100001101110010001000101110010010100110110011000110011001101000010...

Third Run Input

Clara
100101000100001111110011100010111011000101011110011010010111110111111100001001011110100110010000011110110100011011011101010100111110100010010111101001101111011111101111001001110101101001000111101110011001001100000110101001000010011001110010111011000010001010001111001111011000010111011010000100...

Third Run Output

18 62
67 16
78 60
27 82
82 12
1 71
98 36
65 37
99 68
73 19
89 91
30 14
30 66
38 99
3 79
84 13
45 15
99 34
21 77
46 60
6 37
6 48
40 64
43 42
28 82
43 37
57 74
87 62
72 24
51 74
35 67
5 95
30 21
27 9
54 85
40 81
65 23
60 3
57 76
9 71
20 2
100 19
72 54
53 94
69 55
78 26
74 20
49 29
77 42
78 84
72 49
78...

Manager to Checker

OK
You answered 100 (out of 100) questions correctly

result:

ok OK

Test #12:

score: 100
Accepted
time: 16ms
memory: 3692kb

First Run Input

Alice
011001100111001101011001000010001001000011000010010101011010011111100011100001100111100000011100010000101001101010101111100110010110000011100100100111100100111001110111000100000011001111001001101100000111000111101101011110000011011100100110001000001111001001100010000110010010110001100001011001...

First Run Output

101101000101100010001101110111000001000111110011000101100011110100011110111110010111100001011010111111010100010000100110100100010101110010111010000101011111010111101100111001101111110001001011101110011110110110000000110010001101010100100100000001101111110111010111100111100000000110011110011011001111...

Second Run Input

Bob
11011101001100001010010111110110011000011010011100111010111010111011101001110101010011111000100010010001001000111100100000111101100001111011101010110100001110101111011110000110111011011001011100101100010111010100101110001110001110000011001100001000111111101010011001101111101101111111001110111111...

Second Run Output

010111101000101110001011001111011100101011111000010100110001110000101101001110010001100111111001111001011110001110001010110000001101000100110110000000010000001000101101011110100011000101000001000111100011111101100010100100101011001110100100000111101011110010011110000011111000100011011111100101010010...

Third Run Input

Clara
101101000101100010001101110111000001000111110011000101100011110100011110111110010111100001011010111111010100010000100110100100010101110010111010000101011111010111101100111001101111110001001011101110011110110110000000110010001101010100100100000001101111110111010111100111100000000110011110011011...

Third Run Output

97 95
76 89
57 50
25 47
80 79
91 87
4 51
48 35
96 82
26 7
12 65
43 54
87 78
38 62
34 70
16 3
26 71
91 4
46 42
29 94
97 12
4 58
91 5
23 4
55 63
57 38
16 32
95 64
79 23
93 97
48 92
62 71
53 6
6 93
6 81
90 5
42 24
66 91
41 7
76 52
47 95
24 37
68 58
56 70
53 59
43 89
33 85
40 58
18 72
24 6
28 60
92 88
8...

Manager to Checker

OK
You answered 100 (out of 100) questions correctly

result:

ok OK

Test #13:

score: 100
Accepted
time: 17ms
memory: 3872kb

First Run Input

Alice
010000111000110000011000110100000111000110010111010011100100100001010100000101101001001011000011000010110011001001111001011101100010010101010011010000100101101100011010111110100100001000000101111101000100001100100111110110100000010100100111100011100111100110101100110111001100001010110100110010...

First Run Output

001110010100011011101001011100110110101110110011101001100010000010001111101110011100010011101010011011111011100111011001111001100011100101101000100100000000100011000011000000010100101111110100001100101110111111110010010111101110110101011100000001111111001101000100110101101010100110000001100110100011...

Second Run Input

Bob
11101001001011000001010000011010000101110010010010100100010110011000000011001100111010000011011011100110011000100101110111011110100011110001110100101010101111001100010011111110010011010001110110001000101111101010010111100101101111000100001110000010010101011010000111110110110010000111101101100001...

Second Run Output

100001011010010110110110111010010000000111110001111101000111000101010010000001100110001010101001101010000100001000010001100110101100001101010010001001101100010010000111011010101110010111011001110000110111011110000011101111010011101010010101011110000101001000101111100000100011101011101101111110110001...

Third Run Input

Clara
001110010100011011101001011100110110101110110011101001100010000010001111101110011100010011101010011011111011100111011001111001100011100101101000100100000000100011000011000000010100101111110100001100101110111111110010010111101110110101011100000001111111001101000100110101101010100110000001100110...

Third Run Output

56 26
38 7
17 3
28 84
14 42
25 9
45 48
12 29
13 6
30 31
71 65
79 62
62 52
27 89
82 52
79 26
65 21
17 11
94 38
21 51
64 43
98 30
76 99
32 70
80 26
79 96
54 3
24 18
95 47
32 27
66 78
61 75
18 18
60 80
43 80
3 1
18 77
59 56
23 88
41 79
58 33
28 99
46 8
28 19
96 73
2 97
74 34
63 25
78 47
18 26
72 30
21 ...

Manager to Checker

OK
You answered 100 (out of 100) questions correctly

result:

ok OK

Test #14:

score: 100
Accepted
time: 17ms
memory: 3672kb

First Run Input

Alice
111000001000111000111101111110011010110000010011100011111111010110111111010101100100111101100000101110000111110001010001101110101010010011110111000011111000111101001111110011011010011111011100111010010001001000101100111011001100110110000100101000111001100000110001101101111111111000111111111110...

First Run Output

011011000111111110110011000001010000001011000000011011001000100101110010010000000101100110011100100110110001010110111000110101001100110001101010100000011011011110111010101011101000000100001111010000011101100010000110001101100010000011100011110001111001110110010010101011100111100110101011111101101111...

Second Run Input

Bob
10100111001000111111001001101010101011000111011100110101001001101101100110111101001100111010001010001100110001011100111011011110100010110001100011011001001010111010100111011010100011111011101001111001110011100100011111011100010000100000011010100010101101111010111000101000001101011010101010001001...

Second Run Output

001100100100000100010111000010001001000111101011000010010001010011110011101000000111101110010110010101110000000101101110010110010001110011101100010010110111101111010110010000011011010100111111000001011110010010010111100110010011100001000001001110001011000000100110100010111110011110001100010100101001...

Third Run Input

Clara
011011000111111110110011000001010000001011000000011011001000100101110010010000000101100110011100100110110001010110111000110101001100110001101010100000011011011110111010101011101000000100001111010000011101100010000110001101100010000011100011110001111001110110010010101011100111100110101011111101...

Third Run Output

30 3
39 79
95 87
71 64
51 38
93 10
81 24
51 9
28 74
54 66
13 72
6 74
60 22
9 93
15 46
53 54
54 52
65 89
69 37
74 55
31 23
33 26
38 92
73 93
69 16
35 25
50 23
50 88
72 50
84 92
79 29
14 66
91 98
75 32
91 35
59 86
35 53
92 58
76 17
53 84
48 10
37 85
63 14
9 17
81 43
42 100
86 46
28 48
88 57
43 85
65 9...

Manager to Checker

OK
You answered 100 (out of 100) questions correctly

result:

ok OK

Test #15:

score: 100
Accepted
time: 20ms
memory: 3740kb

First Run Input

Alice
010000000110101110100000110110110010011110000100100000100110011110010110010110110000011010110000101100101100111001001010101011011100000110101111011011000011000100010000111011110001000101011010110011101011100001110001111010001111100111101110111010011111001100000000100000011101000100010010010010...

First Run Output

111110110101001010001011001101111010011011001010011010010100010010011110110110001001111101001000101001100010111100110111101011001101010111001001100111101000100010001001000000011101100000110110011101101111010000001100111000111001111010110100001010111010000000110100111111101010011110111101110011011011...

Second Run Input

Bob
01111000101011011010101001011100001111000001010000001011001101100011010010011010111001000100100000111011101100100101010000001010010101101111001111010100011101011110011011101101001111101101110011100010100010111001101110101111111101110010100001010000100010000100010001011000001011111110100011110111...

Second Run Output

001010100101111010010001100011001001101111011010100111001011100110100101000100101001000000001000001001011110001100100111010101010111110011111001011011000011101111111101000001010010101010011011000010111101011000101100000110100100010111100101111100011111101010000011000001100101111000010011010010011001...

Third Run Input

Clara
111110110101001010001011001101111010011011001010011010010100010010011110110110001001111101001000101001100010111100110111101011001101010111001001100111101000100010001001000000011101100000110110011101101111010000001100111000111001111010110100001010111010000000110100111111101010011110111101110011...

Third Run Output

10 21
77 45
96 29
44 9
71 100
56 8
44 74
41 95
88 11
4 28
37 46
48 62
18 17
57 93
68 44
26 32
9 68
2 83
90 93
94 89
85 35
74 70
27 93
73 54
71 61
97 13
7 100
92 43
41 18
83 78
53 75
56 56
19 50
47 78
55 82
14 87
82 55
98 2
83 43
1 21
34 24
3 16
54 73
5 44
31 22
66 5
31 83
96 6
11 64
21 83
91 17
90 9...

Manager to Checker

OK
You answered 100 (out of 100) questions correctly

result:

ok OK

Test #16:

score: 100
Accepted
time: 17ms
memory: 3732kb

First Run Input

Alice
110011100111110010011010011000110000011110110000001001101100010010111100010011111010001001011101100000111000110101011110110101110010010101010101011010000001000011110010001001111101010110111111100110111001111011011100001011001100111011010110001000011001010110011011011000101010101110100111101010...

First Run Output

010010010001011010001110010001111101010111011000110010101100011100111110000001100010110010000111011010000101110010000001100101010110010110010110000000010110100101001110000001111110000011010010110010110001010101010010000001001000000101111110000100010001111100011101100010010100011110110001100011010110...

Second Run Input

Bob
00101111000101101010100111100100100000100010001001011000101011010101010111001111010011010110101110011000100011101011000011000000101110100111011111010101100011001001111110010101010110011100100111011000111100111110001110101111000010111000000110000011000001100010011010011001100010001000001010100010...

Second Run Output

011000100010100100111100000101100110011011001111110101011001001110100001110000001001100010010111001111101011101110110100000100010001000110100101011000001001100101001000111100100010110001101111110101110000000110101000010011111111011010101100001100000010111011010110100001000110011010111010100001001010...

Third Run Input

Clara
010010010001011010001110010001111101010111011000110010101100011100111110000001100010110010000111011010000101110010000001100101010110010110010110000000010110100101001110000001111110000011010010110010110001010101010010000001001000000101111110000100010001111100011101100010010100011110110001100011...

Third Run Output

70 33
22 46
93 87
22 84
59 54
95 87
91 22
87 37
75 90
24 94
17 55
76 23
25 51
56 16
70 59
18 82
43 73
74 45
85 31
87 72
61 28
99 77
26 15
36 55
64 76
46 14
13 79
38 21
30 29
85 9
87 70
92 6
44 77
85 40
57 44
1 94
64 83
7 81
36 68
23 44
92 9
68 85
92 81
44 39
41 38
55 15
90 100
92 74
98 83
7 59
10 13...

Manager to Checker

OK
You answered 100 (out of 100) questions correctly

result:

ok OK

Test #17:

score: 100
Accepted
time: 20ms
memory: 3784kb

First Run Input

Alice
011011001000011010010000010001100000101110111011011100110101110100101001110011011011101011011101010010110001011101111000010001011111010010110111111111011110100000101011100011100001111111001001011101110010111011111100100011010011100010000100101001100100000011100000010110001100011100010100000011...

First Run Output

101100111000110110010000000011111111000000011110010100110010110100101101010100011101111011001000101011011011011100000111011011010111101011001111111101100110111011011110100111100100101101010100110011011000110000111011110011101001010100010011100111100100000111011001110101000101000110011011101001011100...

Second Run Input

Bob
00100001001110010010011011111000001110100011001101111011010101000011110100100110000110111000001110100100010110001101100010100101000000001110111101101110111000010111011011000101111000111001000010111001110111100100011110011100100010000001001000011100000101101010010000011110011110111100101101110001...

Second Run Output

001010100100011101111011010000010000110011001100111111000111000001011111010010011100100110101001110010000001001011100011100000110111100110011111010001111000011011111101010111110101010101100001111011100000010000001111101001010010001111100000110101111100010001100110111001010100011100110010111000100000...

Third Run Input

Clara
101100111000110110010000000011111111000000011110010100110010110100101101010100011101111011001000101011011011011100000111011011010111101011001111111101100110111011011110100111100100101101010100110011011000110000111011110011101001010100010011100111100100000111011001110101000101000110011011101001...

Third Run Output

3 91
53 64
88 12
37 40
75 75
39 80
82 77
12 82
77 99
88 51
17 65
42 6
20 51
33 6
66 83
93 11
79 47
77 24
33 4
22 25
55 60
11 80
45 76
13 94
83 95
40 49
3 5
52 57
74 20
28 14
72 62
77 72
28 13
11 3
64 36
79 17
33 2
16 24
80 79
62 43
17 38
11 84
2 69
59 67
94 92
96 30
54 22
38 36
51 81
94 75
79 73
98 ...

Manager to Checker

OK
You answered 100 (out of 100) questions correctly

result:

ok OK

Test #18:

score: 100
Accepted
time: 16ms
memory: 3684kb

First Run Input

Alice
011101001100110010101111000100011101000001111010110010111011101110110011110110000110110001000101101001010101011011010000101001001010001110001011001010010011100001000100100101110011011000000000001100101110101101001110001001000111011011110101110000011001100011010010011011011011010000010011100001...

First Run Output

111111010101111010111110100100001101001110010100011111111000000111001010111000100101101011000111110111111101110011111110100011001101111000010001100110111000100001001011101000100101110010001000000001110000011010111101100000000010011010100011111010100110100110000010011011011111111101100101101110101110...

Second Run Input

Bob
10011100000000010101001111100011001101101111101111111010100100110100000010111101010011011110001110000000011010111000010001011000010010010000100010011001101100011001111011110001011001100011100011011101000110111110111001110110111000011001110111101001001111110000000011001011101011101011101101100011...

Second Run Output

111001101100110111010011011001011111111111110110000000110010101000110101111100110001100100011010001010101000001100000101111001110111011011110100001101111110110010011100001101100010010101010110011010111101111100111101000011000100011110000001000111110100010111111100101010111011101010011010100011011011...

Third Run Input

Clara
111111010101111010111110100100001101001110010100011111111000000111001010111000100101101011000111110111111101110011111110100011001101111000010001100110111000100001001011101000100101110010001000000001110000011010111101100000000010011010100011111010100110100110000010011011011111111101100101101110...

Third Run Output

87 54
88 24
97 73
5 59
40 93
1 69
47 46
57 34
62 35
51 72
63 31
57 54
93 34
33 27
62 42
91 84
60 19
61 17
92 64
44 89
26 67
92 81
71 94
16 47
96 93
87 44
33 58
10 26
49 82
90 15
80 65
28 26
1 50
67 27
28 75
76 98
7 37
91 12
65 56
11 62
18 17
25 64
93 95
76 65
97 63
89 91
96 85
6 59
51 74
51 72
97 94...

Manager to Checker

OK
You answered 100 (out of 100) questions correctly

result:

ok OK

Test #19:

score: 100
Accepted
time: 21ms
memory: 3732kb

First Run Input

Alice
010010011010101010101000001101100000000000100101000110100100001010001100100111011110000101001101110010101110011010011100100011110100000100110101000011110011011011110001101111011010111011010101110100010110010110101010010111110111111011100100100001101110101011011111000100101101101000001000001011...

First Run Output

101011100000001000111000000110101110111110011000101011000000100110110000111101101001010100100111001100111001011011000111101000101001100010011000011000111100000011110111000000100000101100111111000001001101101111101111100111111000101100010111110100111000000110101111101100111011111110111111110110111010...

Second Run Input

Bob
00001110000101111110001101001110111000010100011001000110110000100001100011011111100000011010001001000101011010100101000000100111111110000101111000011010111111000010101101111010110100000110011001001110001110101100011001000010101101100111010101100001111000011101100101001000011101101111111011000100...

Second Run Output

101111000110001100100001100001111010101111110101110110011010001100100110011110010011101000010001100011111001111110101111001010101000011011101000100101001000101100110000010111101011001000000100110111100010110100101000001010101001101101011111111100001111000101011101000001101111010010101000010100100101...

Third Run Input

Clara
101011100000001000111000000110101110111110011000101011000000100110110000111101101001010100100111001100111001011011000111101000101001100010011000011000111100000011110111000000100000101100111111000001001101101111101111100111111000101100010111110100111000000110101111101100111011111110111111110110...

Third Run Output

40 46
45 3
43 37
47 56
64 9
84 41
35 70
29 66
95 70
46 7
11 50
95 12
46 65
89 1
36 21
16 42
14 79
92 23
89 74
75 54
94 74
70 99
82 12
59 79
8 29
20 5
18 78
80 94
93 67
91 30
65 31
46 47
79 74
62 59
88 77
3 13
78 73
99 12
17 45
45 50
100 13
93 49
9 28
7 9
6 64
52 71
12 76
87 96
66 56
28 11
11 24
63 3...

Manager to Checker

OK
You answered 100 (out of 100) questions correctly

result:

ok OK

Test #20:

score: 0
Wrong Answer
time: 30ms
memory: 3648kb

First Run Input

Alice
000111001011110111011010111111010110000001100101111100101001110011111001011111110110010101011000111111001100110101101001101010001001100001101011100011011000100000111100111111110110000110100101100001010110010110010011001000001000111011110011111101100010100010011011001000001110110011101000111011...

First Run Output

001010101010111001010011111001111100001100101011110101111010101100100010010000010001010110001010101010001101001010111001010000111001101111110011000011011011001111101000010001000100110110001111011111010001100010010011000010111000100000110010110110011110101010110110111001011101110010110101000000011011...

Second Run Input

Bob
01000001101000010111111111000011010110110110001011010100001010101011000010000001011100010010111110110000101110101111010000101110110100100001111100100111111111011100001100111110010101011001001110011011110101001011010011110100101101101100111011001100001101110000011001001100010011000011100101000000...

Second Run Output

010111010101100110000001011000000101100111111111110100100100000000001001111001110000101001011001110011011010000010110100101010010110111110011111010111110010000101101011000101000110010000011100110110110101011100101111000010010100111011001001001110100011010101011111101000000001010011100110011010000101...

Third Run Input

Clara
001010101010111001010011111001111100001100101011110101111010101100100010010000010001010110001010101010001101001010111001010000111001101111110011000011011011001111101000010001000100110110001111011111010001100010010011000010111000100000110010110110011110101010110110111001011101110010110101000000...

Third Run Output


Manager to Checker

WA
Wrong Answer on Third Run: failed to read your solution

result:

wrong answer WA