QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#110159#6529. Alice, Bob and CircuitDianasDog30 389ms509216kbC++2014.1kb2023-05-31 21:28:152023-05-31 21:28:18

Details

Tip: Click on the bar to expand more detailed information

Subtask #1:

score: 4
Accepted

Test #1:

score: 4
Accepted
time: 209ms
memory: 495808kb

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
000000000000000011000011001100000110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...

Manager to Bob

Hello
0





























































Bob to Manager

235fc77fd78da210d6b5a61b92603c4f
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...

Manager to Circuit

Hello
10279
10240
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 6...

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: 221ms
memory: 495836kb

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
000000000011100011101110110101010010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...

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
100000000011100011100000000001110001110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...

Manager to Circuit

Hello
10279
10279
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: 277ms
memory: 502072kb

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
000000001011101000011001111000110101000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...

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
100000001011101000010000000101110100001100000001011101000010000000101110100001100000001011101000010000000101110100001100000001011101000010000000101110100001100000001011101000010000000101110100001100000001011101000010000000101110100001100000001011101000010000000101110...

Manager to Circuit

Hello
10279
49123
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: 284ms
memory: 501812kb

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
000000000000000000001110001111110011000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...

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
100000000000000000000000000000000000000100000000000000000000000000000000000000100000000000000000000000000000000000000100000000000000000000000000000000000000100000000000000000000000000000000000000100000000000000000000000000000000000000100000000000000000000000000000000...

Manager to Circuit

Hello
10279
49240
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: 0
Wrong Answer

Test #5:

score: 0
Wrong Answer
time: 221ms
memory: 496272kb

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
000000000000000000000111111010110000000000000000000000000011111000110100111000000000000000000000100001001101000111000000000000000000000111110100000110001000000000000000000001001000111101010100000000000000000000001010010111000101100000000000000000000001100000111010110...

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
100000000000000000110000000000000001110100000000000000001100000000000000000100100000000000000001110000000000000010000100000000000000010000000000000000010011100000000000000010100000000000000010111100000000000000011000000000000000000001100000000000000011010000000000000...

Manager to Circuit

Hello
11254
10747
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.
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 #5:

score: 0
Skipped

Subtask #6:

score: 0
Skipped

Subtask #7:

score: 18
Accepted

Test #12:

score: 18
Accepted
time: 378ms
memory: 508992kb

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
000000000000000110100101101101110000000000000000000000110110000100111011000000000000000000000111001101011110010111000000000000000000111010001110000010001000000000000000000111100101110010111000000000000000000000111110101000011100011000000000000000001000001001101111010...

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
100000000000000110100000000000001110010100000000000000110100000000000111000100100000000000000111000000000000111010111100000000000000111010000000000001110111100000000000000111010000000001010000100100000000000001000000000000001010101101100000000000001000100000000000100...

Manager to Circuit

Hello
36604
49123
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: 372ms
memory: 508948kb

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
000000000000000110100110010000010110000000000000000000110110111111110111101000000000000000000111000011001111010111000000000000000000111010100000111001111000000000000000000111101001101110110101000000000000000000111110101001101111101000000000000000001000000110110011101...

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
100000000000000110100000000000000100111100000000000000110100000000000000100111100000000000000110100000000001001001010100000000000000110110000000000010111100100000000000000111000000000000000100111100000000000000111000000000000000100111100000000000000111010000000000100...

Manager to Circuit

Hello
36604
49240
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: 0
Wrong Answer

Test #14:

score: 0
Wrong Answer
time: 343ms
memory: 508392kb

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
000000000000000000001101010001010111000000000000000000000010010011101000100000000000000000000000100010111001011000000000000000000000000111001110101000100000000000000000000001001011100000010100000000000000000000001010100001001000100000000000000000000001101010001101100...

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
100000000000000000010000000000001110000100000000000000000010000000000001110000100000000000000000111100100001010010100100000000000000001000000000000001110000100000000000000001000000000000101000000100000000000000001000001100111010010010100000000000000001110000000000001...

Manager to Circuit

Hello
36604
44872
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.
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 #9:

score: 0
Wrong Answer

Test #16:

score: 0
Wrong Answer
time: 389ms
memory: 509216kb

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
000000000000000000000111111001110110000000000000000000000010010001000101110000000000000000000000100110010100011000000000000000000000000110010101010101110000000000000000000001000110010110111011000000000000000000001011100001100111000000000000000000000001101000001000000...

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
100000000000000000000000000000010001011100000000000000000000000000000010001011100000000000000000000000000000010001011100000000000000000000000000000010001011100000000000000000000000010111100100001100000000000000000010000000000000010100100000000000000000010000000000010...

Manager to Circuit

Hello
37501
49201
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.
WA Your functions alice(), bob(), circuit() finished successfully, but the final output binary string is incorrect.

Manager to Checker

0

result:

wrong answer WA!