QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#110161#6529. Alice, Bob and CircuitHe_Ren100 ✓480ms286292kbC++1712.5kb2023-05-31 21:29:082023-05-31 21:29:09

Judging History

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

  • [2023-08-10 23:21:45]
  • System Update: QOJ starts to keep a history of the judgings of all the submissions.
  • [2023-05-31 21:29:09]
  • 评测
  • 测评结果:100
  • 用时:480ms
  • 内存:286292kb
  • [2023-05-31 21:29:08]
  • 提交

answer

#include<bits/stdc++.h>
#include "abc.h"
using namespace std;
typedef long long ll;
typedef pair<int,int> pii;
const int inf = 0x3f3f3f3f;

// you may find the definitions useful
const int OP_ZERO    = 0;  // f(OP_ZERO,    x0, x1) = 0
const int OP_NOR     = 1;  // f(OP_NOR,     x0, x1) = !(x0 || x1)
const int OP_GREATER = 2;  // f(OP_GREATER, x0, x1) = (x0 > x1)
const int OP_NOT_X1  = 3;  // f(OP_NOT_X1,  x0, x1) = !x1
const int OP_LESS    = 4;  // f(OP_LESS,    x0, x1) = (x0 < x1)
const int OP_NOT_X0  = 5;  // f(OP_NOT_X0,  x0, x1) = !x0
const int OP_XOR     = 6;  // f(OP_XOR,     x0, x1) = (x0 ^ x1)
const int OP_NAND    = 7;  // f(OP_NAND,    x0, x1) = !(x0 && x1)
const int OP_AND     = 8;  // f(OP_AND,     x0, x1) = (x0 && x1)
const int OP_EQUAL   = 9;  // f(OP_EQUAL,   x0, x1) = (x0 == x1)
const int OP_X0      = 10; // f(OP_X0,      x0, x1) = x0
const int OP_GEQ     = 11; // f(OP_GEQ,     x0, x1) = (x0 >= x1)
const int OP_X1      = 12; // f(OP_X1,      x0, x1) = x1
const int OP_LEQ     = 13; // f(OP_LEQ,     x0, x1) = (x0 <= x1)
const int OP_OR      = 14; // f(OP_OR,      x0, x1) = (x0 || x1)
const int OP_ONE     = 15; // f(OP_ONE,     x0, x1) = 1

#define lowbit(x) ((x)&-(x))

const int namelen = 19;
const int d = 16;
const int idlen = 11;
const int clrlen = 1;
const int M = 1024;

struct Divid
{
	vector<pii> seq;
	void divid2(int l,int r,int type)
	{
		if(l+1 == r) return;
		int mid = (l+r)>>1;
		for(int i=l,j=mid; i<mid; ++i, ++j)
		{
			if(type == 0)
				seq.emplace_back(i, j);
			else
				seq.emplace_back(j, i);
		}
		divid2(l,mid,type); divid2(mid,r,type);
	}
	
	void divid(int l,int r,int type)
	{
		if(l+1 == r) return;
		int mid = (l+r)>>1;
		divid(l,mid,1); divid(mid,r,0);
		divid2(l,r,type);
	}
	Divid(void)
	{
		divid(0, M, 0);
	}
	vector<int> get(vector<int> a)
	{
		while(a.size() != M)
			a.emplace_back(inf + (int)a.size());
		
		vector<int> res;
		for(auto t: seq)
		{
			int i = t.first, j = t.second;
			res.emplace_back(a[i] > a[j]);
			if(a[i] > a[j]) swap(a[i], a[j]);
		}
		
		return res;
	}
}ds;

int pw26(int k)
{
    int res = 1;
    while(k--) res *= 26;
    return res;
}

int encode_name(const char s[5])
{
    int len = strlen(s);
    int mask = 0;
    for(int i=0; i<len; ++i)
        mask = mask * 26 + s[i] - 'a';
    for(int i=1; i<len; ++i)
        mask += pw26(i);
    return mask;
}

int alice(const int n, const char s[][5], const unsigned short a[], bool out[])
{
	int cur = 0;
	
	vector<pii> vec;
	for(int i=0; i<n; ++i)
	{
		int mask = encode_name(s[i]);
		for(int j=0; j<namelen; ++j)
			out[cur++] = (mask >> j) & 1;
		vec.emplace_back(mask, a[i]);
	}
	sort(vec.begin(), vec.end());
	reverse(vec.begin(), vec.end());
	
    for(int k=0; k<n; ++k)
    {
    	int mask = vec[k].first, ta = vec[k].second;
		for(int j=0; j<namelen; ++j)
			out[cur++] = (mask >> j) & 1;
		for(int j=0; j<d; ++j)
			out[cur++] = (ta >> j) & 1;
    }
    
    vector<int> tmp;
    for(int i=0; i<n; ++i)
    	tmp.emplace_back(-encode_name(s[i]));
    
	auto res = ds.get(tmp);
    for(auto t: res)
    	out[cur++] = t;
    
    return 1e5 - n;
}


int bob(const int m, const char us[][5], const char vs[][5], bool out[])
{
	vector<pii> vec(m);
	for(int i=0; i<m; ++i)
		vec[i] = {encode_name(us[i]), encode_name(vs[i])};
	sort(vec.begin(), vec.end());
	
	int cur = 0;
	for(int i=0; i<m; ++i)
	{
		int mask1 = vec[i].first;
		int mask2 = vec[i].second;
		for(int j=0; j<namelen; ++j)
			out[cur++] = (mask1 >> j) & 1;
		for(int j=0; j<namelen; ++j)
			out[cur++] = (mask2 >> j) & 1;
	}
	
	vector<int> tmp;
	for(int i=0; i<m; ++i)
		tmp.emplace_back(vec[i].second);
	
	auto res = ds.get(tmp);
	for(auto t: res)
		out[cur++] = t;
	
    return 1e5 - m;
}

//#define DEBUG

#ifdef DEBUG

namespace Grader
{
	const int MAXN = 700 + 5;
	const int MAXM = 1000 + 5;
	const int LEN = 2e7;
	
	int n,m;
	char s[MAXN][5], us[MAXM][5], vs[MAXM][5];
	unsigned short val[MAXN];
	
	bool a[LEN];
	int types[MAXN], uvs[MAXN][2], finans[MAXN][16];
	
	int len = 0;
	int push(int type,int u,int v)
	{
		if(len >= LEN)
		{
			printf("WA: Too many operations.");
			exit(0);
		}
		a[len] = (type >> (a[u] + 2 * a[v])) & 1;
		++len;
		return len - 1;
	}
}

#endif

namespace Circuit
{
	template<const size_t lenA, const size_t lenB>
	array<int, lenA + lenB> operator + (array<int, lenA> A, array<int, lenB> B)
	{
		array<int, lenA + lenB> res;
		for(int i=0; i<(int)lenA; ++i)
			res[i] = A[i];
		for(int i=0; i<(int)lenB; ++i)
			res[i+lenA] = B[i];
		return res;
	}
	
	using Tname = array<int,namelen>;
	using Tval = array<int,d>;
	using Tid = array<int,idlen>;
	using Tclr = array<int,clrlen>;
	
	int lena, lenb, *types;
	int (*uvs)[2], (*finans)[16];
	
	int anslen;
	int zero, one;
	
#ifdef DEBUG
	using Grader :: push;
#else
	int push(int type,int u,int v)
	{
		types[anslen] = type;
		uvs[anslen][0] = u;
		uvs[anslen][1] = v;
		++anslen;
		return anslen - 1;
	}
#endif
	
	int EQ(int u,int v)
	{
		return push(OP_EQUAL, u, v);
	}
	int AND(int u,int v)
	{
		return push(OP_AND, u, v);
	}
	int OR(int u,int v)
	{
		return push(OP_OR, u, v);
	}
	int XOR(int u,int v)
	{
		return push(OP_XOR, u, v);
	}
	
	template<const size_t len>
	array<int, len> add(array<int, len> A, array<int, len> B)
	{
		array<int,len> res;
		
		res[0] = XOR(A[0], B[0]);
		int lst = AND(A[0], B[0]);
		
		for(int i=1; i<(int)len; ++i)
		{
			res[i] = XOR(XOR(A[i], B[i]), lst);
			if(i != d-1)
				lst = OR(OR(AND(A[i], B[i]), AND(A[i], lst)), AND(B[i], lst));
		}
		
		return res;
	}
	
	template<const size_t len>
	int cmp_array(array<int, len> A, array<int, len> B)
	{
		int res = zero;
		for(int i=0; i<(int)len; ++i)
		{
			if(i == 0)
				res = push(OP_LESS, A[i], B[i]);
			else
				res = OR(push(2, res, XOR(A[i], B[i])), push(OP_LESS, A[i], B[i]));
		}
		return res;
	}
	
	template<const size_t len>
	void swap_array(int t, array<int, len> &A, array<int, len> &B)
	{
		for(int i=0; i<(int)len; ++i)
		{
			int cur = AND(t, XOR(A[i], B[i]));
			A[i] = XOR(A[i], cur);
			B[i] = XOR(B[i], cur);
		}
	}
	
	template<const size_t len>
	int cmp_swap_array(array<int, len> &A, array<int, len> &B)
	{
		array<int, len> mem;
		int res = zero;
		for(int i=0; i<(int)len; ++i)
		{
			mem[i] = XOR(A[i], B[i]);
			if(i == 0)
				res = push(OP_LESS, A[i], B[i]);
			else
				res = OR(push(2, res, mem[i]), push(OP_LESS, A[i], B[i]));
		}
		for(int i=0; i<(int)len; ++i)
		{
			int cur = AND(res, mem[i]);
			A[i] = XOR(A[i], cur);
			B[i] = XOR(B[i], cur);
		}
		return res;
	}
	
	template<const size_t len1, const size_t len2>
	int cmp_swap_array(array<int, len1> &A1, array<int, len2> &A2,
		array<int, len1> &B1, array<int, len2> &B2)
	{
		auto A3 = A1 + A2;
		auto B3 = B1 + B2;
		
		int res = cmp_swap_array(A3, B3);
		
		for(int i=0; i<int(len1 + len2); ++i)
			(i < (int)len1? A1[i]: A2[i - len1]) = A3[i];
		for(int i=0; i<int(len1 + len2); ++i)
			(i < (int)len1? B1[i]: B2[i - len1]) = B3[i];
		
		return res;
	}
	
	const int MAXN = M * 2;
	
	Tname us[MAXN], vs[MAXN];
	Tval val[MAXN];
	Tid id[MAXN];
	Tclr clr[MAXN];

#ifdef DEBUG
	
	void print(int i,bool flag_us,bool flag_vs,bool flag_val,bool flag_id,bool flag_clr)
	{
		printf("%3d: ",i);
		
		if(flag_us)
		{
			printf("us[");
			for(int j=namelen-1; j>=0; --j)
				printf("%d",(int)Grader :: a[us[i][j]]);
			printf("]  ");
		}
		
		if(flag_vs)
		{
			printf("vs[");
			for(int j=namelen-1; j>=0; --j)
				printf("%d",(int)Grader :: a[vs[i][j]]);
			printf("]  ");
		}
		
		if(flag_val)
		{
			printf("val[");
			for(int j=d-1; j>=0; --j)
				printf("%d",(int)Grader :: a[val[i][j]]);
			printf("]  ");
		}
		
		if(flag_id)
		{
			printf("id[");
			for(int j=idlen-1; j>=0; --j)
				printf("%d",(int)Grader :: a[id[i][j]]);
			printf("]  ");
		}
		
		if(flag_clr)
		{
			printf("clr[");
			for(int j=clrlen-1; j>=0; --j)
				printf("%d",(int)Grader :: a[clr[i][j]]);
			printf("]  ");
		}
		
		printf("\n");
	}
	
#endif
	
	function<int(int,int)> upd;
	vector< array<int,3> > mem;
	
	void divid2(int l,int r,int type)
	{
		if(l+1 == r) return;
		int mid = (l+r)>>1;
		
		for(int k=0; k<mid-l; ++k)
		{
			int i = l+k, j = mid+k;
			int t = type == 0? upd(j,i): upd(i,j);
			mem.push_back({i, j, t});
		}
		divid2(l,mid,type); divid2(mid,r,type);
	}
	
	void divid1(int l,int r,int type)
	{
		if(l+1 == r) return;
		int mid = (l+r)>>1;
		divid1(l,mid,1); divid1(mid,r,0);
		divid2(l,r,type);
	}
}

int circuit(const int _lena, const int _lenb, int _types[], int _uvs[][2], int _finans[][16])
{
	using namespace Circuit;
	
	lena = _lena; lenb = _lenb; types = _types; uvs = _uvs; finans = _finans;
	
	anslen = lena + lenb;
	zero = push(OP_ZERO, 0, 0);
	one = push(OP_ONE, 0, 0);
	
	int n = 1e5 - lena;
	int m = 1e5 - lenb;
	
	int tot = 0;
	{
		int cur = 0;
		
		cur += namelen * n;
		for(int t=0; t<n; ++t)
		{
			int i = tot++;
			
			for(int j=0; j<namelen; ++j)
				us[i][j] = cur++;
			for(int j=0; j<namelen; ++j)
				vs[i][j] = j<d? cur++: one;
			clr[i][0] = one;
		}
		
		cur = lena;
		for(int t=0; t<m; ++t)
		{
			int i = tot++;
			
			for(int j=0; j<namelen; ++j)
				us[i][j] = cur++;
			for(int j=0; j<namelen; ++j)
				vs[i][j] = cur++;
			clr[i][0] = zero;
		}
		
		while(tot != MAXN)
		{
			int i = tot++;
			
			for(int j=0; j<namelen; ++j)
				us[i][j] = one, vs[i][j] = one;
			clr[i][0] = zero;
		}
	}
	
//	printf("Stage 0:\n");
//	for(int i=0; i<tot; ++i)
//		print(i, 1, 1, 0, 0, 1);
	
	upd = [&] (int i,int j)
	{
		int t = cmp_swap_array(clr[i], us[i], clr[j], us[j]);
		swap_array(t, vs[i], vs[j]);
		return t;
	};
	mem.clear();
	divid2(0, tot, 0);
	reverse(mem.begin(), mem.end());
	
//	printf("%d\n",anslen);
	
//	printf("\nStage 1:\n");
//	for(int i=0; i<tot; ++i)
//		print(i, 1, 1, 0, 0, 1);
	
	for(int i=tot-1; i>=0; --i)
	{
		int t = clr[i][0];
		for(int j=0; j<d; ++j)
			val[i][j] = AND(t, vs[i][j]);
		
		if(i+1 == tot) continue;
		
		t = one;
		for(int j=0; j<namelen; ++j)
			t = AND(t, EQ(us[i][j], us[i+1][j]));
		
		for(int j=0; j<d; ++j)
			val[i][j] = OR(val[i][j], AND(t, val[i+1][j]));
	}
	
	for(auto cmem: mem)
	{
		int u = cmem[0], v = cmem[1], t = cmem[2];
		swap_array(t, vs[u], vs[v]);
		swap_array(t, val[u], val[v]);
	}
	
	{
		int cur = n * namelen;
		for(int i=0; i<n; ++i)
		{
			for(int j=0; j<namelen; ++j)
				vs[i][j] = cur++;
			cur += d;
			
			for(int j=0; j<d; ++j)
				val[i][j] = zero;
			clr[i][0] = one;
		}
		for(int i=n; i<tot; ++i)
			clr[i][0] = zero; 
	}
	
//	printf("\nStage 2:\n");
//	for(int i=0; i<tot; ++i)
//		print(i, 0, 1, 1, 0, 1);
	
	mem.clear();
	for(int k=0; k<(int)ds.seq.size(); ++k)
	{
		int i = ds.seq[k].first, j = ds.seq[k].second;
		int t = n * (namelen * 2 + d) + k;
		
		mem.push_back({i, j, t});
	}
	
//	printf("\nStage 2.8:\n");
//	for(int i=0; i<tot; ++i)
//		print(i, 0, 1, 1, 0, 1);
	
	for(int k=0; k<(int)ds.seq.size(); ++k)
	{
		int i = ds.seq[k].first + n, j = ds.seq[k].second + n;
		int t = lena + m * namelen * 2 + k;
		
		swap_array(t, vs[i], vs[j]);
		swap_array(t, val[i], val[j]);
		
//		mem.push_back({i, j, t});
	}
	
//	printf("\nStage 2.9:\n");
//	for(int i=0; i<tot; ++i)
//		print(i, 0, 1, 1, 0, 1);
	
	upd = [&] (int i,int j)
	{
		int t = cmp_swap_array(clr[i], vs[i], clr[j], vs[j]);
		swap_array(t, val[i], val[j]);
		return t;
	};
	divid2(0, tot, 0);
	reverse(mem.begin(), mem.end());
	
//	printf("%d\n",anslen);
	
//	printf("\nStage 3:\n");
//	for(int i=0; i<tot; ++i)
//		print(i, 0, 1, 1, 0, 1);
	
	for(int i=1; i<tot; ++i)
	{
		int t = one;
		for(int j=0; j<namelen; ++j)
			t = AND(t, EQ(vs[i][j], vs[i-1][j]));
		
		Tval tmp;
		for(int j=0; j<d; ++j)
			tmp[j] = AND(t, val[i-1][j]);
		
		val[i] = add(val[i], tmp);
	}
	
//	printf("%d\n",anslen); 
	
	for(auto cmem: mem)
	{
		int u = cmem[0], v = cmem[1], t = cmem[2];
		swap_array(t, val[u], val[v]);
	}
	
//	printf("%d\n",anslen);
	
	for(int i=0; i<n; ++i)
		for(int j=0; j<d; ++j)
			finans[i][j] = val[i][j];
	
	return anslen;
}

#ifdef DEBUG

int main(void)
{
	using namespace Grader;
	
	cin >> n >> m;
	for(int i=0; i<n; ++i)
		cin >> s[i] >> val[i];
	for(int i=0; i<m; ++i)
		cin >> us[i] >> vs[i];
	
	int lena = alice(n, s, val, a);
	int lenb = bob(m, us, vs, a + lena);
	
	Grader :: len = lena + lenb;
	
	circuit(lena, lenb, types, uvs, finans);
}

#endif

Details

Tip: Click on the bar to expand more detailed information

Subtask #1:

score: 4
Accepted

Test #1:

score: 4
Accepted
time: 335ms
memory: 276176kb

Manager to Alice

Hello
1
m 24780
nzy 52939
tm 29958
iuj 64676
umeq 3500
shh 4229
y 12233
bq 63191
jzt 56793
t 48748
a 4365
pf 872
dlr 64046
vq 784
pzsc 44311
aaza 2656
y 55455
nru 19207
ic 59468
ztv 18363
ab 20822
ov 61699
yjyx 33953
yv 47740
zj 34266
wvlb 25668
xc 29514
ad 64127
gsd 13272
g 45279
hhlw 6505
ag 18873...

Alice to Manager

235fc77fd78da210d6b5a61b92603c4f
001100000000000000000110000000000000000011001100000110101110100010111111110000101110100010000011110000111111111111111111110000000000001011101000101111111100001011101000100000111100000000000011111111111100000000000011111111111111111111111111111111111111111111111100000...

Manager to Bob

Hello
0





























































Bob to Manager

235fc77fd78da210d6b5a61b92603c4f
101110100010111111110000101110100010000011110000111111111111111111110000000000001011101000101111111100001011101000100000111100000000000011111111111100000000000011111111111111111111111111111111111111111111111100000000000000000000000000000000101110100010111111110000101...

Manager to Circuit

Hello
99999
100000
1
m 24780
nzy 52939
tm 29958
iuj 64676
umeq 3500
shh 4229
y 12233
bq 63191
jzt 56793
t 48748
a 4365
pf 872
dlr 64046
vq 784
pzsc 44311
aaza 2656
y 55455
nru 19207
ic 59468
ztv 18363
ab 20822
ov 61699
yjyx 33953
yv 47740
zj 34266
wvlb 25668
xc 29514
ad 64127
gsd 13272
g 45279
hhlw ...

Circuit to Manager

Circuit Output Finished.
235fc77fd78da210d6b5a61b92603c4f
Correct!

Manager to Checker

1

result:

ok OK

Subtask #2:

score: 4
Accepted

Test #2:

score: 4
Accepted
time: 313ms
memory: 276112kb

Manager to Alice

Hello
1
aia 19127
n 29030
il 22631
fquf 5479
p 37792
ce 15312
g 63412
dcx 35910
d 27742
qzf 54298
heta 63173
kh 1090
e 43241
qhq 8146
odhu 25059
dsw 15423
xtbx 2259
yz 1711
yk 18847
atv 56007
twqn 28249
hha 59454
u 5985
b 41493
st 38512
o 34385
uzl 43346
bvmo 12586
t 64101
xops 7214
iz 53638
a 25206...

Alice to Manager

235fc77fd78da210d6b5a61b92603c4f
011100011100000000001110001110000000001110110101010010101110100010111111110000101110100010000011110000111111111111111111110000000000001011101000101111111100001011101000100000111100000000000011111111111100000000000011111111111111111111111111111111111111111111111100000...

Manager to Bob

Hello
1
aia aia
n n
il il
fquf fquf
p p
ce ce
g g
dcx dcx
d d
qzf qzf
heta heta
kh kh
e e
qhq qhq
odhu odhu
dsw dsw
xtbx xtbx
yz yz
yk yk
atv atv
twqn twqn
hha hha
u u
b b
st st
o o
uzl uzl
bvmo bvmo
t t
xops xops
iz iz
a a
n n
sulk sulk
jwdo jwdo
rz rz
gcdd gcdd
ylle ylle
dqw dqw
ti ti
zatn zatn
tx...

Bob to Manager

235fc77fd78da210d6b5a61b92603c4f
011100011100000000001110001110000000001011101000101111111100001011101000100000111100001111111111111111111100000000000010111010001011111111000010111010001000001111000000000000111111111111000000000000111111111111111111111111111111111111111111111111000000000000000000000...

Manager to Circuit

Hello
99999
99999
1
aia 19127
n 29030
il 22631
fquf 5479
p 37792
ce 15312
g 63412
dcx 35910
d 27742
qzf 54298
heta 63173
kh 1090
e 43241
qhq 8146
odhu 25059
dsw 15423
xtbx 2259
yz 1711
yk 18847
atv 56007
twqn 28249
hha 59454
u 5985
b 41493
st 38512
o 34385
uzl 43346
bvmo 12586
t 64101
xops 7214
iz 5...

Circuit to Manager

Circuit Output Finished.
235fc77fd78da210d6b5a61b92603c4f
Correct!

Manager to Checker

1

result:

ok OK

Subtask #3:

score: 4
Accepted

Test #3:

score: 4
Accepted
time: 335ms
memory: 280092kb

Manager to Alice

Hello
1
djn 44153
gcd 23377
jd 28586
b 36383
lr 13285
d 43987
ctom 59868
opf 64891
wkjb 53909
sltm 27048
naj 29687
vaw 56179
bhb 45322
h 61116
w 22721
snqz 62363
d 26719
x 32760
agt 38964
o 31426
gqvs 47108
nw 41611
rh 20443
uk 43165
cg 55171
jx 18617
shb 25713
o 14480
b 17639
yff 39513
vhc 10370
op...

Alice to Manager

235fc77fd78da210d6b5a61b92603c4f
100001011101000000010000101110100000001001111000110101101110100010111111110000101110100010000011110000111111111111111111110000000000001011101000101111111100001011101000100000111100000000000011111111111100000000000011111111111111111111111111111111111111111111111100000...

Manager to Bob

Hello
997
djn djn djn djn djn djn djn djn djn djn djn djn djn djn djn djn djn djn djn djn djn djn djn djn djn djn djn djn djn djn djn djn djn djn djn djn djn djn djn djn djn djn djn djn djn djn djn djn djn djn djn djn djn djn djn djn djn djn djn djn djn djn djn djn djn djn djn djn djn djn djn djn dj...

Bob to Manager

235fc77fd78da210d6b5a61b92603c4f
100001011101000000010000101110100000001000010111010000000100001011101000000010000101110100000001000010111010000000100001011101000000010000101110100000001000010111010000000100001011101000000010000101110100000001000010111010000000100001011101000000010000101110100000001...

Manager to Circuit

Hello
99999
99003
1
djn 44153
gcd 23377
jd 28586
b 36383
lr 13285
d 43987
ctom 59868
opf 64891
wkjb 53909
sltm 27048
naj 29687
vaw 56179
bhb 45322
h 61116
w 22721
snqz 62363
d 26719
x 32760
agt 38964
o 31426
gqvs 47108
nw 41611
rh 20443
uk 43165
cg 55171
jx 18617
shb 25713
o 14480
b 17639
yff 39513
...

Circuit to Manager

Circuit Output Finished.
235fc77fd78da210d6b5a61b92603c4f
Correct!

Manager to Checker

1

result:

ok OK

Test #4:

score: 4
Accepted
time: 358ms
memory: 279980kb

Manager to Alice

Hello
1
a 53191
uctl 63017
ke 12447
yx 36710
jlf 42352
b 57540
bhzv 8047
niqz 14137
imqc 25434
sa 23997
fvq 13770
zglp 17555
ng 39637
ph 9099
spom 39125
kj 32447
otwx 45878
fwcz 41192
bawx 13804
bc 4366
ley 19391
wsby 14158
w 24806
vlz 54727
t 58098
uym 10370
tk 26976
sco 1194
jrlz 44186
uo 58070
s ...

Alice to Manager

235fc77fd78da210d6b5a61b92603c4f
000000000000000000000000000000000000001110001111110011101110100010111111110000101110100010000011110000111111111111111111110000000000001011101000101111111100001011101000100000111100000000000011111111111100000000000011111111111111111111111111111111111111111111111100000...

Manager to Bob

Hello
1000
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a...

Bob to Manager

235fc77fd78da210d6b5a61b92603c4f
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...

Manager to Circuit

Hello
99999
99000
1
a 53191
uctl 63017
ke 12447
yx 36710
jlf 42352
b 57540
bhzv 8047
niqz 14137
imqc 25434
sa 23997
fvq 13770
zglp 17555
ng 39637
ph 9099
spom 39125
kj 32447
otwx 45878
fwcz 41192
bawx 13804
bc 4366
ley 19391
wsby 14158
w 24806
vlz 54727
t 58098
uym 10370
tk 26976
sco 1194
jrlz 44186...

Circuit to Manager

Circuit Output Finished.
235fc77fd78da210d6b5a61b92603c4f
Correct!

Manager to Checker

1

result:

ok OK

Subtask #4:

score: 24
Accepted

Test #5:

score: 24
Accepted
time: 325ms
memory: 276284kb

Manager to Alice

Hello
26
a 3454 b 58767 c 58056 d 35863 e 10993 f 13428 g 44400 h 14808 i 42152 j 41685 k 4945 l 33302 m 37616 n 51927 o 14597 p 52276 q 30489 r 49388 s 61314 t 3571 u 45422 v 36417 w 14325 x 25271 y 54399 z 2849
a 45858 b 2285 c 25181 d 56233 e 46605 f 16378 g 8603 h 57322 i 27711 j 54646 k 43915 l...

Alice to Manager

235fc77fd78da210d6b5a61b92603c4f
000000000000000000010000000000000000000100000000000000000110000000000000000000100000000000000001010000000000000000011000000000000000011100000000000000000001000000000000000100100000000000000001010000000000000001101000000000000000001100000000000000010110000000000000000...

Manager to Bob

Hello
13
r w p c g e v j h q y z m b k x u a i t s l n f d o
d g l z c i e k y o u m j n q a b h w s v r f x t p
f a x j n g w y e c z q d k m o h b s p t u r l v i
d m a g u x e i t l r h c v w s z n b p y k q f o j
e l a c s h y d v q j m w t z f i n o g b p r x u k
r a v c t j y i p g e x s l z h...

Bob to Manager

235fc77fd78da210d6b5a61b92603c4f
110000000000000000001110000000000000000110000000000000000001000000000000000011100000000000000000000100000000000000000100000000000000011001000000000000000101000000000000000111010000000000000000110000000000000001000000000000000000101100000000000000010100000000000000001...

Manager to Circuit

Hello
99974
99987
26
a 3454 b 58767 c 58056 d 35863 e 10993 f 13428 g 44400 h 14808 i 42152 j 41685 k 4945 l 33302 m 37616 n 51927 o 14597 p 52276 q 30489 r 49388 s 61314 t 3571 u 45422 v 36417 w 14325 x 25271 y 54399 z 2849
a 45858 b 2285 c 25181 d 56233 e 46605 f 16378 g 8603 h 57322 i 27711 j 546...

Circuit to Manager

Circuit Output Finished.
235fc77fd78da210d6b5a61b92603c4f
Correct!

Manager to Checker

1

result:

ok OK

Test #6:

score: 24
Accepted
time: 391ms
memory: 279164kb

Manager to Alice

Hello
26
a 48164 b 28573 c 6090 d 10580 e 28810 f 22090 g 33721 h 56320 i 11974 j 43135 k 27272 l 24558 m 8007 n 58521 o 48945 p 16927 q 35665 r 46338 s 17682 t 61745 u 65466 v 38379 w 7611 x 40059 y 12021 z 48622
a 56875 b 14830 c 14401 d 58488 e 37899 f 59069 g 5579 h 43855 i 28452 j 42378 k 24806...

Alice to Manager

235fc77fd78da210d6b5a61b92603c4f
000000000000000000010000000000000000000100000000000000000110000000000000000000100000000000000001010000000000000000011000000000000000011100000000000000000001000000000000000100100000000000000001010000000000000001101000000000000000001100000000000000010110000000000000000...

Manager to Bob

Hello
520
t z n m u m p m t m h t w m e m j m c a v m e k s m b b o m x m a m m l r m d w z m h m r y p j m j v k p l m s q m l w z t v w f m y r r l t e g s c m z s x g f l l g y k w l l y h n x a t a d a h j d m h a k d i m y m d v p p m i y g o g k m a p l m g n b h o v s o d c p g s l c x u a b ...

Bob to Manager

235fc77fd78da210d6b5a61b92603c4f
000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000100000000000000000000000000000000000011000000000000000000000000000000000000001000000000000000000000000000000000000110000000000000000000000000000000000011100000000000000000...

Manager to Circuit

Hello
99974
99480
26
a 48164 b 28573 c 6090 d 10580 e 28810 f 22090 g 33721 h 56320 i 11974 j 43135 k 27272 l 24558 m 8007 n 58521 o 48945 p 16927 q 35665 r 46338 s 17682 t 61745 u 65466 v 38379 w 7611 x 40059 y 12021 z 48622
a 56875 b 14830 c 14401 d 58488 e 37899 f 59069 g 5579 h 43855 i 28452 j 4...

Circuit to Manager

Circuit Output Finished.
235fc77fd78da210d6b5a61b92603c4f
Correct!

Manager to Checker

1

result:

ok OK

Test #7:

score: 24
Accepted
time: 328ms
memory: 278816kb

Manager to Alice

Hello
26
a 29989 b 65003 c 23706 d 46470 e 54097 f 52200 g 53740 h 23331 i 21621 j 19409 k 33625 l 4116 m 56545 n 3385 o 9307 p 57745 q 17453 r 30585 s 24603 t 6293 u 45579 v 30020 w 6373 x 6614 y 35793 z 5996
a 50545 b 7509 c 41562 d 3086 e 8072 f 33221 g 11292 h 19188 i 41230 j 32989 k 13017 l 491...

Alice to Manager

235fc77fd78da210d6b5a61b92603c4f
000000000000000000010000000000000000000100000000000000000110000000000000000000100000000000000001010000000000000000011000000000000000011100000000000000000001000000000000000100100000000000000001010000000000000001101000000000000000001100000000000000010110000000000000000...

Manager to Bob

Hello
676
i i i d x i p i i b f i b i c n a i v i l u u i i y t i e f w g o i a l w j i w g j m g h i i p i t i z w f y i d i k i i h i r k x i l i s j h s w l i w i p l z i i c q i o p e b e i k v w u h h b d p w h a i q v b i v o m a m u q i m d k s i i e m i r y c m e q i n f v z q r a i o y w b ...

Bob to Manager

235fc77fd78da210d6b5a61b92603c4f
000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000100000000000000000000000000000000000011000000000000000000000000000000000000001000000000000000000000000000000000001010000000000000000000000000000000000001100000000000000000...

Manager to Circuit

Hello
99974
99324
26
a 29989 b 65003 c 23706 d 46470 e 54097 f 52200 g 53740 h 23331 i 21621 j 19409 k 33625 l 4116 m 56545 n 3385 o 9307 p 57745 q 17453 r 30585 s 24603 t 6293 u 45579 v 30020 w 6373 x 6614 y 35793 z 5996
a 50545 b 7509 c 41562 d 3086 e 8072 f 33221 g 11292 h 19188 i 41230 j 32989 k...

Circuit to Manager

Circuit Output Finished.
235fc77fd78da210d6b5a61b92603c4f
Correct!

Manager to Checker

1

result:

ok OK

Subtask #5:

score: 24
Accepted

Test #8:

score: 24
Accepted
time: 332ms
memory: 278132kb

Manager to Alice

Hello
26
eq 8873 qonk 13404 bgp 12131 sa 16567 i 37561 di 11240 t 22905 qe 45855 w 36777 im 42369 znsu 38116 y 1547 p 42558 wn 25273 xzaa 65179 mrm 46349 nz 6053 xm 9784 ipa 31714 yjj 37582 xvl 61492 dsg 27767 pga 21166 euq 36162 daq 63046 k 33909
kd 3418 vv 65301 ct 41943 mey 59829 kk 63328 ylx 180...

Alice to Manager

235fc77fd78da210d6b5a61b92603c4f
010010010000000000001011100000111010011011000001100000000011101111000000000000010000000000000000000111000000000000110010000000000000001111101100000000000110100000000000000011011110000000000001010000000001001110001100000000000000111100000000000000011000110010000000000...

Manager to Bob

Hello
521
xvl qonk qe xvl sa wn xvl nz t qonk qonk wn qonk qonk znsu i xvl i pga qonk di qonk mrm qonk xvl xzaa bgp k t k daq qonk w xzaa znsu qonk y qonk im bgp mrm sa euq yjj xm qonk xvl qe eq qonk nz w i bgp p nz ipa wn euq qonk bgp ipa znsu mrm xvl wn ipa qonk p sa im mrm dsg qonk sa qonk sa zns...

Bob to Manager

235fc77fd78da210d6b5a61b92603c4f
000100000000000000000010000000000000000001000000000000000010100000000000000000010000000000000001111000000000000000000100000000000000011001000000000000000001000000000000000000110000000000000000010000000000000000000111000000000000000100000000000000001001001000000000000...

Manager to Circuit

Hello
99974
99479
26
eq 8873 qonk 13404 bgp 12131 sa 16567 i 37561 di 11240 t 22905 qe 45855 w 36777 im 42369 znsu 38116 y 1547 p 42558 wn 25273 xzaa 65179 mrm 46349 nz 6053 xm 9784 ipa 31714 yjj 37582 xvl 61492 dsg 27767 pga 21166 euq 36162 daq 63046 k 33909
kd 3418 vv 65301 ct 41943 mey 59829 kk 6...

Circuit to Manager

Circuit Output Finished.
235fc77fd78da210d6b5a61b92603c4f
Correct!

Manager to Checker

1

result:

ok OK

Test #9:

score: 24
Accepted
time: 385ms
memory: 279432kb

Manager to Alice

Hello
26
ugvv 28441 nzs 27524 b 45656 fskb 49837 h 54651 z 49532 hro 9637 o 31743 dx 35201 vjhe 15475 j 34322 fasd 32736 r 46159 cbhq 21869 xvvt 18347 q 63276 zy 38173 cfmu 789 zjd 8115 jq 30973 zwht 65497 a 43754 cp 13250 yij 25938 usy 9293 ruca 20545
sc 63227 kwt 22843 myr 9746 m 15263 y 62117 nb ...

Alice to Manager

235fc77fd78da210d6b5a61b92603c4f
101010010110110110101110101111001000001000000000000000000110111001111001110011100000000000000001001100000000000000010000001110100000001110000000000000001111111000000000000001101011000000001110010000000000000001010000100000101100100010000000000000000000100001010110001...

Manager to Bob

Hello
675
zy b ruca fskb nzs cfmu b dx r j yij b zy a r hro a b cbhq b jq b nzs b q jq usy usy zy fasd zy o nzs q zy ugvv zy xvvt q zjd j o zy cbhq zy z xvvt j zy cfmu j b jq h zy vjhe zy ruca dx zwht z jq zy zwht cbhq yij yij dx zy h yij xvvt zy q zy yij ruca cfmu zy cp jq r dx fskb o nzs fasd zwht...

Bob to Manager

235fc77fd78da210d6b5a61b92603c4f
000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000001110000000000000000000000000000000000010010000000000000000000000000000000000011100000000000000000000000000000000000000100000000000000000000000000000000010001000000000000000...

Manager to Circuit

Hello
99974
99325
26
ugvv 28441 nzs 27524 b 45656 fskb 49837 h 54651 z 49532 hro 9637 o 31743 dx 35201 vjhe 15475 j 34322 fasd 32736 r 46159 cbhq 21869 xvvt 18347 q 63276 zy 38173 cfmu 789 zjd 8115 jq 30973 zwht 65497 a 43754 cp 13250 yij 25938 usy 9293 ruca 20545
sc 63227 kwt 22843 myr 9746 m 15263...

Circuit to Manager

Circuit Output Finished.
235fc77fd78da210d6b5a61b92603c4f
Correct!

Manager to Checker

1

result:

ok OK

Subtask #6:

score: 6
Accepted

Test #10:

score: 6
Accepted
time: 322ms
memory: 277944kb

Manager to Alice

Hello
29
w 24874 zk 59941 qktx 8994 bxc 53051 dcx 54514 xgpe 58185 zdlg 14733 a 59752 mszk 45274 g 58585 czz 16306 qj 27577 ym 37646 cno 16960 k 48959 phj 28553 nzid 9563 d 21191 jbua 5748 ni 47235 sdy 57974 zzoo 53044 tgc 61502 kph 5010 v 13213 cha 31256 mbl 29651 wn 15740 gdmh 32720
vj 12262 cn 41...

Alice to Manager

235fc77fd78da210d6b5a61b92603c4f
011010000000000000001110101010000000001100101001110101001010111011110000000010101111010100000000000011111000001011011110110010000011100000000000000000000100011010001101110011000000000000000010010101010100000001100001110000000000011010010100000000001100110100100000000...

Manager to Bob

Hello
441
gdmh qj phj xgpe g sdy tgc tgc sdy zdlg nzid a zdlg qj tgc qktx czz cha nzid qj d qj gdmh cha mszk qj tgc qj bxc zdlg k mszk jbua qj a zzoo qktx qj cha qj d xgpe czz phj ni qj qj zdlg a qj ym qj sdy xgpe cno k zzoo qj xgpe ym k zk zk xgpe cno qj gdmh ym phj kph qktx cno d ni ym xgpe mbl zz...

Bob to Manager

235fc77fd78da210d6b5a61b92603c4f
000000000000000000000000000000000000000000000000000000000110000000000000000000000000000000000000101000000000000000000000000000000000010101000000000000000000000000000000000110000111000000000000000000000000000001100011001000000000000000000000000000001101001010000000000...

Manager to Circuit

Hello
99971
99559
29
w 24874 zk 59941 qktx 8994 bxc 53051 dcx 54514 xgpe 58185 zdlg 14733 a 59752 mszk 45274 g 58585 czz 16306 qj 27577 ym 37646 cno 16960 k 48959 phj 28553 nzid 9563 d 21191 jbua 5748 ni 47235 sdy 57974 zzoo 53044 tgc 61502 kph 5010 v 13213 cha 31256 mbl 29651 wn 15740 gdmh 32720
vj...

Circuit to Manager

Circuit Output Finished.
235fc77fd78da210d6b5a61b92603c4f
Correct!

Manager to Checker

1

result:

ok OK

Test #11:

score: 6
Accepted
time: 390ms
memory: 280660kb

Manager to Alice

Hello
30
jf 18452 shyk 4270 yhd 65204 wm 12160 etcz 50321 lp 4559 bavn 19781 t 14747 uuhq 56687 v 58916 gf 26188 s 35736 lpm 49081 xg 31723 vfs 31309 bokg 28560 mn 24669 k 60755 vi 59820 qvs 9358 wpmb 28402 fhrd 18638 x 32808 q 53558 dsjw 54104 pruv 63174 qal 16515 ff 50868 i 16964 dcye 7904
kia 594...

Alice to Manager

235fc77fd78da210d6b5a61b92603c4f
100100001000000000000110100000011001011110101101000010000010001100100000000011111110001100011001110001010000000000101111000111000100011001000000000000000011100001011011101101010000000000000011011101000000000000100100000000000000001110101000010000001101110010000000000...

Manager to Bob

Hello
900
bokg yhd etcz fhrd gf bavn yhd lpm bokg dcye bokg i s wpmb bokg t bokg wpmb v wpmb bokg v bokg lpm bokg etcz bokg xg bokg wm bokg bavn etcz k bokg fhrd bavn dcye bokg dsjw fhrd pruv uuhq vi bokg k bokg qal vfs s fhrd shyk dsjw dsjw lpm q bokg gf bokg ff bokg s ff i bavn fhrd mn jf bokg jf ...

Bob to Manager

235fc77fd78da210d6b5a61b92603c4f
000100000000000000000010000000000000000001000000000000000010100000000000000000010000000000000000000100000000000000000100000000000000001001000000000000000001000000000000000110010000000000000000010000000000000001010100000000000000000100000000000000011101000000000000000...

Manager to Circuit

Hello
99970
99100
30
jf 18452 shyk 4270 yhd 65204 wm 12160 etcz 50321 lp 4559 bavn 19781 t 14747 uuhq 56687 v 58916 gf 26188 s 35736 lpm 49081 xg 31723 vfs 31309 bokg 28560 mn 24669 k 60755 vi 59820 qvs 9358 wpmb 28402 fhrd 18638 x 32808 q 53558 dsjw 54104 pruv 63174 qal 16515 ff 50868 i 16964 dcye ...

Circuit to Manager

Circuit Output Finished.
235fc77fd78da210d6b5a61b92603c4f
Correct!

Manager to Checker

1

result:

ok OK

Subtask #7:

score: 18
Accepted

Test #12:

score: 18
Accepted
time: 416ms
memory: 284980kb

Manager to Alice

Hello
676
aa 3802 ab 7056 ac 59883 ad 34872 ae 7482 af 50954 ag 3033 ah 10947 ai 45175 aj 38968 ak 25809 al 5243 am 51663 an 29607 ao 51746 ap 7026 aq 28678 ar 19365 as 9937 at 50580 au 32268 av 36219 aw 12499 ax 11217 ay 36118 az 42569 ba 27331 bb 61063 bc 46216 bd 42920 be 31324 bf 61604 bg 40272 ...

Alice to Manager

235fc77fd78da210d6b5a61b92603c4f
010110000000000000011011000000000000000011100000000000000101110000000000000001111000000000000001111100000000000000000001000000000000010000100000000000000100010000000000000110001000000000000000100100000000000001010010000000000000011001000000000000011100100000000000000...

Manager to Bob

Hello
997
mx jl jv ck gp fv iu hn cj wo uf ek ox ux ln na yo ss ro zg vx al ji zc zt qi lt vf kk pb hj mm mr fz is jo ym vz ju yt dd oj vm ga xd ww ce is wf ej cv ib ad dp qj pr wn zr al yo gr vi dd vv bm lf ky on gb oh zy oe mf xo cb nv ri pb we cy oh qg xo zq ci mg dy wq cv gy sr vx wo mn jg zs qw...

Bob to Manager

235fc77fd78da210d6b5a61b92603c4f
010110000000000000001001110000000000000101100000000000000001000111000000000000111000000000000001110101110000000000101110000000000000011101110000000000001011100000000000000001000010100000000000000100000000000001011010101000000000010001000000000000011010100100000000000...

Manager to Circuit

Hello
99324
99003
676
aa 3802 ab 7056 ac 59883 ad 34872 ae 7482 af 50954 ag 3033 ah 10947 ai 45175 aj 38968 ak 25809 al 5243 am 51663 an 29607 ao 51746 ap 7026 aq 28678 ar 19365 as 9937 at 50580 au 32268 av 36219 aw 12499 ax 11217 ay 36118 az 42569 ba 27331 bb 61063 bc 46216 bd 42920 be 31324 bf 616...

Circuit to Manager

Circuit Output Finished.
235fc77fd78da210d6b5a61b92603c4f
Correct!

Manager to Checker

1

result:

ok OK

Test #13:

score: 18
Accepted
time: 447ms
memory: 284744kb

Manager to Alice

Hello
676
aa 26662 ab 48638 ac 60364 ad 62338 ae 44505 af 48842 ag 63286 ah 18051 ai 17732 aj 19878 ak 55307 al 59076 am 58793 an 13916 ao 42166 ap 25524 aq 7845 ar 28244 as 7472 at 59599 au 44422 av 58887 aw 53274 ax 3434 ay 6675 az 44061 ba 20376 bb 55045 bc 28979 bd 12976 be 39071 bf 54565 bg 284...

Alice to Manager

235fc77fd78da210d6b5a61b92603c4f
010110000000000000011011000000000000000011100000000000000101110000000000000001111000000000000001111100000000000000000001000000000000010000100000000000000100010000000000000110001000000000000000100100000000000001010010000000000000011001000000000000011100100000000000000...

Manager to Bob

Hello
1000
rt an hq ht df pe bx an ng sj hh an cu an lc an rb an dz an md an zq an bx xd eg sa iu an xs an ok an kk df uo an pp vq ix mb hz an bq pm ml bd dj an cs an kl an db kv gn fe bq qy ku an pd td bu vb an fz hq an ez oo yd an ma an wy an yf an gw xq iq an ax an lv ho oy fq lv an ho an wr an l...

Bob to Manager

235fc77fd78da210d6b5a61b92603c4f
010110000000000000011100100000000000000101100000000000000111001000000000000001011000000000000000101001001000000000110110000000000000000111101000000000000011100000000000000111001000000000000000111000000000000001110010000000000000101110000000000000000110100100000000000...

Manager to Circuit

Hello
99324
99000
676
aa 26662 ab 48638 ac 60364 ad 62338 ae 44505 af 48842 ag 63286 ah 18051 ai 17732 aj 19878 ak 55307 al 59076 am 58793 an 13916 ao 42166 ap 25524 aq 7845 ar 28244 as 7472 at 59599 au 44422 av 58887 aw 53274 ax 3434 ay 6675 az 44061 ba 20376 bb 55045 bc 28979 bd 12976 be 39071 bf ...

Circuit to Manager

Circuit Output Finished.
235fc77fd78da210d6b5a61b92603c4f
Correct!

Manager to Checker

1

result:

ok OK

Subtask #8:

score: 10
Accepted

Test #14:

score: 10
Accepted
time: 480ms
memory: 284132kb

Manager to Alice

Hello
676
gud 59249 ucb 18471 qvp 38121 ow 12706 zbof 22914 z 5783 f 8770 dc 3105 eaw 35643 q 15112 ishu 39788 xxyb 9072 ralk 56334 cr 13656 efou 62421 d 8889 chu 20507 hxnn 38919 bfhq 62602 tcg 46194 gg 11084 fii 64807 zob 11272 qru 16584 vx 25726 exeh 13712 hi 62595 wtr 9063 penv 38 uxxv 60408 nw ...

Alice to Manager

235fc77fd78da210d6b5a61b92603c4f
100001010010100000011000011111011000001111010011110100000001110011000000000011000111111111110111001100000000000000101000000000000000001010110000000000000010011010110000000000010000000000000000011111001110010101101010110001101011011011011110101100111111010000000000000...

Manager to Bob

Hello
888
m fu u di ibtf di vhp di inj di vgqx di isb di cd di frbl di hy xll mitl ng uukq di cuf di mzno di li elgy hu jr qrp di li ofc mcx di rdj qcvj fh eaw qf pngs inj rib icow jsj hq mcx tfyg di xwwn sejh qrwp ptq xzya sze dgdw sw cm yle uad hp okiv di phno di tfe di uyr xrf qf di dw di bz snhr...

Bob to Manager

235fc77fd78da210d6b5a61b92603c4f
100000000000000000000001110000000000001000000000000000000000011100000000000011000000000000000000010100101000010011001000000000000000000001110000000000000010000000000000000000000101000000000000100000000000000000100100101110011000111000000000000000000001110000000000001...

Manager to Circuit

Hello
99324
99112
676
gud 59249 ucb 18471 qvp 38121 ow 12706 zbof 22914 z 5783 f 8770 dc 3105 eaw 35643 q 15112 ishu 39788 xxyb 9072 ralk 56334 cr 13656 efou 62421 d 8889 chu 20507 hxnn 38919 bfhq 62602 tcg 46194 gg 11084 fii 64807 zob 11272 qru 16584 vx 25726 exeh 13712 hi 62595 wtr 9063 penv 38 ux...

Circuit to Manager

Circuit Output Finished.
235fc77fd78da210d6b5a61b92603c4f
Correct!

Manager to Checker

1

result:

ok OK

Test #15:

score: 10
Accepted
time: 453ms
memory: 284744kb

Manager to Alice

Hello
676
azp 60638 sz 64602 nwn 14954 ga 41871 mdjw 30020 hw 36281 iilo 55952 cu 37427 bv 53797 vsba 15455 orh 20845 ujn 17761 vncb 50391 hlm 9584 tc 63713 xdn 49866 id 58734 rh 58638 xrv 41265 zmlp 10233 g 52026 ec 16350 kcv 39170 boat 42894 ymw 3011 itfl 32722 ua 47934 ubs 58228 jbdq 19651 so 349...

Alice to Manager

235fc77fd78da210d6b5a61b92603c4f
111010101010000000011100000010000000001101101011100100000011011010000000000001001100000100011100110011100000000000010011110100000101001000110000000000001001001000000000000000010110001100001111101110100101000001010000100011100000111011011101000001100100110011010000000...

Manager to Bob

Hello
999
xrha ry er ry rbf mn yb ry ogce ry tjv boh psui ry bhuv ry mj ry rk bk ig tfu ro ry e ry cqso zbeq kg ry iwru ry ch qupv bhfo ry lujl mynh hm lqn pw ry faxr ry zrbg ry mj ry fbt gp wjr ry vtpd ry rdzv oshr ogcv ry x ry cst ry pjn gcx sgn zbeq cx ry zyv nia ap ap pw qut va fe iv iv czv ry o...

Bob to Manager

235fc77fd78da210d6b5a61b92603c4f
000000000000000000000110111100000000001000000000000000000001101111000000000010000000000000000000011011110000000000010000000000000000011011101100000000001100000000000000000111111111111110111000100000000000000000011011110000000000111000000000000000000110111100000000001...

Manager to Circuit

Hello
99324
99001
676
azp 60638 sz 64602 nwn 14954 ga 41871 mdjw 30020 hw 36281 iilo 55952 cu 37427 bv 53797 vsba 15455 orh 20845 ujn 17761 vncb 50391 hlm 9584 tc 63713 xdn 49866 id 58734 rh 58638 xrv 41265 zmlp 10233 g 52026 ec 16350 kcv 39170 boat 42894 ymw 3011 itfl 32722 ua 47934 ubs 58228 jbdq ...

Circuit to Manager

Circuit Output Finished.
235fc77fd78da210d6b5a61b92603c4f
Correct!

Manager to Checker

1

result:

ok OK

Subtask #9:

score: 6
Accepted

Test #16:

score: 6
Accepted
time: 426ms
memory: 286168kb

Manager to Alice

Hello
699
wkm 49893 hus 29682 wba 42773 byj 30204 ikc 65421 agqd 20734 fwy 42563 icr 64301 yl 36787 bz 41537 xlka 6691 iq 37001 wij 10013 dfoq 13371 vdy 10291 wpwc 43193 rz 43253 engz 13755 rou 22700 lq 12011 jkn 21719 jleh 57791 olpm 12289 nbqf 57325 vyx 18438 ldgz 10230 ts 50054 odgx 30982 jfst 42...

Alice to Manager

235fc77fd78da210d6b5a61b92603c4f
011001111011110000000101010111010000000000111100111100000110110111110000000000100111000110000001000011100011010000011000100100100000011000100000110000001010100101000000000101100100000000000001110001000010010110101111100000000000111101011011110000001110000001001001000...

Manager to Bob

Hello
999
jrym hpu td ej llf hqoa hlay ej amz ej qr vzvu erf ej mh ej fwj qi dd ej ay ej dbvr lsgs sag ja hop ej vdcc ej wpwc cag la cugy mfbg ern pgj twc qjs byj u ej wwa ej mv ej utwd no swl mvnr pjar agel vnq ipe fp mwh atl lmnb dr ej nufb eqf wsxj wonu hqoa ej rbhe ej l vme ihwn weks kaz il se k...

Bob to Manager

235fc77fd78da210d6b5a61b92603c4f
000000000000000000011010001000000000000000000000000000000110100010000000000000000000000000000001101000100000000000000000000000000000011010001000000000000000000000000000000100001001111010000010000000000000000000010100000000000000100000000000000000011010001000000000001...

Manager to Circuit

Hello
99301
99001
699
wkm 49893 hus 29682 wba 42773 byj 30204 ikc 65421 agqd 20734 fwy 42563 icr 64301 yl 36787 bz 41537 xlka 6691 iq 37001 wij 10013 dfoq 13371 vdy 10291 wpwc 43193 rz 43253 engz 13755 rou 22700 lq 12011 jkn 21719 jleh 57791 olpm 12289 nbqf 57325 vyx 18438 ldgz 10230 ts 50054 odgx 3...

Circuit to Manager

Circuit Output Finished.
235fc77fd78da210d6b5a61b92603c4f
Correct!

Manager to Checker

1

result:

ok OK

Test #17:

score: 6
Accepted
time: 418ms
memory: 286292kb

Manager to Alice

Hello
700
fzd 54670 jl 22856 tkko 12516 ygzg 19314 sofh 14135 rl 47752 xou 8861 rbew 11214 ese 43902 xe 24372 pwu 43712 bz 4444 fb 62518 xvdo 27322 sfs 4726 vrdh 19440 ew 36069 yvt 34583 dxo 21175 slj 31178 nu 4290 wzz 18348 bc 40134 gpr 37794 bhz 38296 gdw 36719 nw 40633 awvl 17078 zpuv 17715 cksy ...

Alice to Manager

235fc77fd78da210d6b5a61b92603c4f
111111100100100000011110000100000000000001101011011110101011100011001001101111101101000000101011111101110000000000010111110000001000000001101100110110010110010011110000000001011100100000000001010101001101000001011001000000000000101110010000000000001110010010101010110...

Manager to Bob

Hello
1000
wh lfuw hi icue gww fepd xi icue no ac ew pmpf nhq hiox cc icue gpr zi omcp icue z vp ce bhz db xijs er sa ubkd lo xq icue fzd icue tii icue dopc icue auq yn gvsw lfuw sr gc dzq icue syj icue v icue yvt wvat ly icue xj rr ifwq icue gvg qrlr gu nyg tccb icue sjuy icue opjz icue st yo ktq u...

Bob to Manager

235fc77fd78da210d6b5a61b92603c4f
000000000000000000001011111110011100100000000000000000000010111111100111001000000000000000000000101110010001001011100000000000000000001011111110011100100100000000000000000110010001001110010001000000000000000000101111111001110010010000000000000000001011111110011100101...

Manager to Circuit

Hello
99300
99000
700
fzd 54670 jl 22856 tkko 12516 ygzg 19314 sofh 14135 rl 47752 xou 8861 rbew 11214 ese 43902 xe 24372 pwu 43712 bz 4444 fb 62518 xvdo 27322 sfs 4726 vrdh 19440 ew 36069 yvt 34583 dxo 21175 slj 31178 nu 4290 wzz 18348 bc 40134 gpr 37794 bhz 38296 gdw 36719 nw 40633 awvl 17078 zpuv...

Circuit to Manager

Circuit Output Finished.
235fc77fd78da210d6b5a61b92603c4f
Correct!

Manager to Checker

1

result:

ok OK