QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#416518 | #6529. Alice, Bob and Circuit | Xiaohuba | 32 | 19ms | 11656kb | C++23 | 8.1kb | 2024-05-21 22:07:11 | 2024-05-21 22:07:16 |
Judging History
answer
#include <bits/stdc++.h>
using namespace std;
// #define LOCK_GETCHAR
// #define USE_INT_128
#if __cplusplus < 201400
#warning "Please use c++14 or higher."
#define CONSTEXPR_FUNC
#define ENABLE_IF_INT
#else
#define CONSTEXPR_FUNC constexpr
#define ENABLE_IF_INT , enable_if_t<_is_integer<T>, int> = 0
template <class T> constexpr bool _is_integer = numeric_limits<T>::is_integer;
template <> constexpr bool _is_integer<bool> = false;
template <> constexpr bool _is_integer<char> = false;
#ifdef USE_INT_128
template <> constexpr bool _is_integer<__int128> = true;
template <> constexpr bool _is_integer<__uint128_t> = true;
#endif
template <class T ENABLE_IF_INT>
constexpr T INF = numeric_limits<T>::max() >> 1;
#endif
#if !defined(_WIN32) && !defined(LOCK_GETCHAR)
#define getchar getchar_unlocked
#endif
#define il inline
#define mkp make_pair
#define fi first
#define se second
#define For(i, j, k) for (decltype(j - k) i = (j); i <= (k); ++i) // NOLINT
#define ForDown(i, j, k) for (decltype(j - k) i = (j); i >= (k); --i) // NOLINT
#define pb push_back
#define eb emplace_back
#ifndef ONLINE_JUDGE
#define FileIO(filename) \
freopen(filename ".in", "r", stdin); \
freopen(filename ".out", "w", stdout)
#else
#define FileIO(filename) void(0)
#endif
using ll = long long;
using uint = unsigned int;
using ull = unsigned long long;
using db = double;
using ldb = long double;
using pii = pair<int, int>;
using pll = pair<ll, ll>;
#ifdef USE_INT_128
using lll = __int128_t;
using ulll = __uint128_t;
#endif
// clang-format off
#define lg(x) (31 ^ __builtin_clz((x)))
#define lgll(x) (31ll ^ __builtin_clzll((x)))
template<typename T> constexpr il T sq(const T & x){ return x * x; }
template<typename T> CONSTEXPR_FUNC il void cmin(T & x, const T &y){ x = min(x, y); }
template<typename T> CONSTEXPR_FUNC il void cmax(T & x, const T &y){ x = max(x, y);}
template<typename T> CONSTEXPR_FUNC il T qpow(T x, ull y, T mod){T ans = 1; x %= mod; while (y) { if(y & 1)(ans *= x) %= mod;(x *= x) %= mod; y >>= 1;} return ans;}
template<typename T> CONSTEXPR_FUNC il T qpow(T x, ull y){T ans = 1; while (y) {if(y & 1) ans *= x;x *= x;y >>= 1;} return ans;}
template<typename T ENABLE_IF_INT> il void read(T &x){ x = 0; int f = 1; int c = getchar(); while(!isdigit(c)) {if (c == '-') f = -1;c = getchar();} while(isdigit(c)) {x = x * 10 + c - '0';c = getchar();} x *= f;}
template<typename T, typename ... Args> il void read(T &x, Args &... y){ read(x); read(y...); }
int gcd(int a, int b) { if (!a | !b) return a + b; int az = __builtin_ctz(a); int bz = __builtin_ctz(b); int z = min(az, bz); a >>= az, b >>= bz; while (a != b) { int diff = b - a; az = __builtin_ctz(diff); b = min(a, b), a = abs(diff) >> az; } return a << z; }
ll gcd(ll a, ll b) { if (!a | !b) return a + b; ll az = __builtin_ctzll(a); ll bz = __builtin_ctzll(b); ll z = min(az, bz); a >>= az, b >>= bz; while (a != b) { ll diff = b - a; az = __builtin_ctzll(diff); b = min(a, b), a = abs(diff) >> az; } return a << z; }
// clang-format on
// File head end
constexpr int ZERO_BIT = -1, ONE_BIT = -2;
vector<tuple<int, int, int>> Gates;
int cnt = 0;
struct Bit {
int _id;
Bit(int _ = ZERO_BIT) : _id(_) {}
bool known() const { return _id == ZERO_BIT || _id == ONE_BIT; }
bool val() const {
assert(this->known());
return _id == ONE_BIT;
}
Bit operator&(const Bit &rhs) const {
if (_id == ZERO_BIT || rhs._id == ZERO_BIT)
return ZERO_BIT;
else if (_id == ONE_BIT || rhs._id == ONE_BIT)
return (_id == ONE_BIT) ? rhs._id : _id;
Gates.eb(_id, rhs._id, 8);
return ++cnt;
}
Bit operator|(const Bit &rhs) const {
if (_id == ONE_BIT || rhs._id == ONE_BIT)
return 1;
else if (_id == ZERO_BIT || rhs._id == ZERO_BIT)
return (_id == ZERO_BIT) ? rhs._id : _id;
Gates.eb(_id, rhs._id, 14);
return ++cnt;
}
Bit operator^(const Bit &rhs) const {
if (_id == ZERO_BIT || rhs._id == ZERO_BIT)
return _id == ZERO_BIT ? rhs._id : _id;
else if (_id == ONE_BIT || rhs._id == ONE_BIT)
return _id == ONE_BIT ? ~rhs : ~*this;
Gates.eb(_id, rhs._id, 6);
return ++cnt;
}
Bit operator~() const {
if (_id == ZERO_BIT)
return ONE_BIT;
else if (_id == ONE_BIT)
return ZERO_BIT;
Gates.eb(_id, 1, 5);
return ++cnt;
}
Bit operator==(const Bit &rhs) const {
if (this->known() && rhs.known())
return (this->val() == rhs.val()) ? ONE_BIT : ZERO_BIT;
Gates.eb(_id, rhs._id, 9);
return ++cnt;
}
};
struct Ushort {
array<Bit, 16> bits;
Ushort() = default;
Ushort(Bit x) { bits[0] = x; }
Ushort operator+(const Ushort &rhs) const {
Ushort res;
Bit carry;
For(i, 0, 15) {
auto tmp = bits[i] ^ rhs.bits[i];
res.bits[i] = tmp ^ carry;
if (i < 15)
carry = (bits[i] & rhs.bits[i]) | (carry & tmp);
}
return res;
}
Ushort check(Bit x) const {
Ushort ans;
For(i, 0, 15) ans.bits[i] = bits[i] & x;
return ans;
}
};
#define _Find(x) \
(lower_bound(names2.begin(), names2.end(), (x)) - names2.begin())
int alice(const int n, const char names[][5], const unsigned short numbers[],
bool outputs_alice[]) {
assert(n <= 30);
vector<pair<string, unsigned short>> names2(n);
For(i, 0, n - 1) names2[i] = {names[i], numbers[i]};
sort(names2.begin(), names2.end());
int len = n * 16 + n * 5;
For(i, 0, n - 1) {
For(j, i * 16, i * 16 + 15) {
outputs_alice[j] = (names2[i].se >> (j - i * 16)) & 1;
}
}
For(i, 0, n - 1) {
int id = _Find(mkp(string(names[i]), numbers[i]));
// cerr << "A " << i << ' ' << id << '\n';
For(j, i * 5, i * 5 + 4) {
outputs_alice[n * 16 + j] = (id >> (j - i * 5)) & 1;
// cerr << outputs_alice[n * 16 + j];
}
// cerr << '\n';
}
return len;
}
int bob(const int m, const char senders[][5], const char recipients[][5],
bool outputs_bob[]) {
vector<string> names2;
For(i, 0, m - 1) names2.eb(senders[i]), names2.eb(recipients[i]);
sort(names2.begin(), names2.end());
names2.erase(unique(names2.begin(), names2.end()), names2.end());
int n = names2.size(), len = n * n;
For(i, 0, m - 1) {
int u = _Find(senders[i]);
int v = _Find(recipients[i]);
outputs_bob[u * n + v] = 1;
}
return len;
}
int circuit(const int la, const int lb, int operations[], int operands[][2],
int outputs_circuit[][16]) {
Gates.clear(), cnt = la + lb + 1;
operands[la + lb][0] = 0, operands[la + lb][1] = 0,
operations[la + lb] = 0; // zero
operands[la + lb + 1][0] = 0, operands[la + lb + 1][1] = 0,
operations[la + lb + 1] = 15; // one
int n = la / 21;
cerr << "C " << n << '\n';
vector<Ushort> ans(n), real_ans(n), num(n);
For(i, 0, n - 1) For(j, 0, 15) num[i].bits[j] = i * 16 + j;
cerr << "C " << Gates.size() << '\n';
For(u, 0, n - 1) For(v, 0, n - 1) {
ans[v] = ans[v] + num[u].check(Bit(la + u * n + v));
}
auto trans = [&](int x) {
array<Bit, 5> ans;
For(i, 0, 4) ans[i] = (x >> i & 1) ? ONE_BIT : ZERO_BIT;
return ans;
};
auto op_equ = [&](const array<Bit, 5> &x, const array<Bit, 5> &y) {
Bit res = ONE_BIT;
For(i, 0, 4) res = res & (x[i] == y[i]);
return res;
};
For(i, 0, n - 1) {
array<Bit, 5> cur1, cur2;
For(j, 0, 4) cur1[j] = n * 16 + i * 5 + j;
For(j, 0, n - 1) {
cur2 = trans(j);
real_ans[i] = real_ans[i] + ans[j].check(op_equ(cur1, cur2));
}
}
auto _To_final = [&](int x) {
return (x == ZERO_BIT) ? la + lb : (x == ONE_BIT ? la + lb + 1 : x);
};
cnt = la + lb + 2;
cerr << "C " << Gates.size() << '\n';
for (auto [u, v, f] : Gates) {
u = _To_final(u), v = _To_final(v);
operations[cnt] = f, operands[cnt][0] = u, operands[cnt][1] = v;
cnt++;
}
For(i, 0, n - 1) For(j, 0, 15) outputs_circuit[i][j] =
_To_final(ans[i].bits[j]._id);
return cnt;
}
Details
Tip: Click on the bar to expand more detailed information
Subtask #1:
score: 4
Accepted
Test #1:
score: 4
Accepted
time: 1ms
memory: 3780kb
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 001100110000011000000 110100110111001100000 011000001010111000000 001001010011111100000 001101011011000000000 101000010000100000000 100100111111010000000 111010110110111100000 100110111011101100000 001101100111110100000 101100001000100000000 000101101100000000000 011...
Manager to Bob
Hello 0 Goodbye
Bob to Manager
235fc77fd78da210d6b5a61b92603c4f
Manager to Circuit
Hello 21 0 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 ...
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: 1ms
memory: 3752kb
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 111011010101001000000 011001101000111000000 111001100001101000000 111001101010100000000 000001011100100100000 000010111101110000000 001011011110111100000 011000100011000100000 011110100011011000000 010110000010101100000 101000110110111100000 010000100010000000000 100...
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 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
Manager to Circuit
Hello 21 1 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 ...
Circuit to Manager
Circuit Output Finished. 235fc77fd78da210d6b5a61b92603c4f Correct!
Manager to Checker
1
result:
ok OK
Subtask #3:
score: 0
Wrong Answer
Test #3:
score: 0
Wrong Answer
time: 19ms
memory: 7352kb
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 100111100011010100000 100010101101101000000 010101011111011000000 111110000111000100000 101001111100110000000 110010111101010100000 001110111001011100000 110111101011111100000 101010010100101100000 000101011001011000000 111011111100111000000 110011101101101100000 010...
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 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
Manager to Circuit
Hello 21 1 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 103...
Circuit to Manager
Circuit Output Finished. WA Your functions alice(), bob(), circuit() finished successfully, but the final output binary string is incorrect.
Manager to Checker
0
result:
wrong answer WA!
Subtask #4:
score: 24
Accepted
Test #5:
score: 24
Accepted
time: 7ms
memory: 11388kb
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 011111101011000011110001101001110001001101000111111010000011000110001111010101000010111000101100000011101011010100011011100111000001010100100101101010110100010110001010110010000110100001000001000011110100100111101011010100111010000010011100001011000011001110011000111...
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 000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000100000000000000000000000000001000000000000000000000000000000000000000...
Manager to Circuit
Hello 546 676 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...
Circuit to Manager
Circuit Output Finished. 235fc77fd78da210d6b5a61b92603c4f Correct!
Manager to Checker
1
result:
ok OK
Test #6:
score: 24
Accepted
time: 13ms
memory: 9328kb
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 001001000011110110111001111101100101001111101000001010101001010001010001000011100101001001101010100111011100000100000000001110110110001101110100111111100001010100010001010101100111011111111010111000101111100010011001001001111000110011111101111110000100001010001010110...
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 111110111001110111111100111111111101111101111011011110010110011111010111010101111011111111111111011111101101000010111010101100111100110001111111100111011001111001111111111101111111111001100111011101111111011101001111011111001101110101110110111101101110011001111111101...
Manager to Circuit
Hello 546 676 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...
Circuit to Manager
Circuit Output Finished. 235fc77fd78da210d6b5a61b92603c4f Correct!
Manager to Checker
1
result:
ok OK
Test #7:
score: 24
Accepted
time: 17ms
memory: 11656kb
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 101001001010111011010111101111110101100100111010011000011010110110001010110010110001011111010011001101111000101111000100110110101010111000101010100010111101001010011010110000010010100000001000100001110011101110011100101100001101101000100100100010011000011110110100001...
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 111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111...
Manager to Circuit
Hello 546 676 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 130...
Circuit to Manager
Circuit Output Finished. 235fc77fd78da210d6b5a61b92603c4f Correct!
Manager to Checker
1
result:
ok OK
Subtask #5:
score: 0
Wrong Answer
Test #8:
score: 0
Wrong Answer
time: 18ms
memory: 9456kb
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 110001101111010001100010011011110001011111010100111011100011011010010101010001000100001010110001100111010100100110000001101001010100011111011110101011100010000110110000101011011010010111101000011111000110010101110101010010101111100011001101001110100010110011101101000...
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 101001101101001101011100111011110111010011111111111100110101110010011111111111111111011111111110011011111111111111111111011111011110111010110110111001101111111111111101110101001101011010101011101101111111110011100111111111111011101101011111110101011111010111111110011...
Manager to Circuit
Hello 546 676 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...
Circuit to Manager
Circuit Output Finished. WA Your functions alice(), bob(), circuit() finished successfully, but the final output binary string is incorrect.
Manager to Checker
0
result:
wrong answer WA!
Subtask #6:
score: 0
Skipped
Subtask #7:
score: 0
Instance #0 Runtime Error
Test #12:
score: 0
Instance #0 Runtime Error
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
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
Manager to Circuit
Goodbye
Circuit to Manager
Manager to Checker
0
result:
Subtask #8:
score: 0
Skipped
Subtask #9:
score: 0
Instance #0 Runtime Error
Test #16:
score: 0
Instance #0 Runtime Error
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
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
Manager to Circuit
Goodbye
Circuit to Manager
Manager to Checker
0