QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#742865 | #7531. Hacking the Project | ucup-team2172# | RE | 10ms | 3908kb | C++23 | 1.5kb | 2024-11-13 17:31:27 | 2024-11-13 17:31:27 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
Tip: Click on the bar to expand more detailed information
Test #1:
score: 100
Accepted
time: 1ms
memory: 3600kb
input:
1 4 1 aaa 2 aaa aba 2 aaa aba 0 1 cxyxy 2 cxyxy czzzz 2 cxyxy czzzz 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
output:
query a 1 query a 2 query a 4 query b 1 query c 1 query c 2 query c 4 query d 1 query e 1 query f 1 query g 1 query h 1 query i 1 query j 1 query k 1 query l 1 query m 1 query n 1 query o 1 query p 1 query q 1 query r 1 query s 1 query t 1 query u 1 query v 1 query w 1 query x 1 query y 1 query z 1 ...
result:
ok Ok in 38 k
Test #2:
score: 0
Accepted
time: 7ms
memory: 3564kb
input:
5 1000 1 a 2 a aajm 4 a aajm aavfegkci aavj 8 a aajm aavfegkci aavj abjc abnxwsy abzbr acvd 16 a aajm aavfegkci aavj abjc abnxwsy abzbr acvd adrvb af afbxpytbe afl afwsjfu aigwxskrks aimpdesf ajbq 32 a aajm aavfegkci aavj abjc abnxwsy abzbr acvd adrvb af afbxpytbe afl afwsjfu aigwxskrks aimpdesf ajb...
output:
query a 1 query a 2 query a 4 query a 8 query a 16 query a 32 query a 64 query b 1 query b 2 query b 4 query b 8 query b 16 query b 32 query b 64 query c 1 query c 2 query c 4 query c 8 query c 16 query c 32 query c 64 query d 1 query d 2 query d 4 query d 8 query d 16 query d 32 query d 64 query e ...
result:
ok Ok in 3174 k
Test #3:
score: 0
Accepted
time: 4ms
memory: 3904kb
input:
5 1000 1 acbd 2 acbd acgts 4 acbd acgts acvdflmn admkf 8 acbd acgts acvdflmn admkf aehzdl aepocjmc afaeqq afbqeawd 16 acbd acgts acvdflmn admkf aehzdl aepocjmc afaeqq afbqeawd afjb agrfnq ahrhdp aidg aimp aiqana ajb akwm 32 acbd acgts acvdflmn admkf aehzdl aepocjmc afaeqq afbqeawd afjb agrfnq ahrhdp...
output:
query a 1 query a 2 query a 4 query a 8 query a 16 query a 32 query a 64 query b 1 query b 2 query b 4 query b 8 query b 16 query b 32 query b 64 query c 1 query c 2 query c 4 query c 8 query c 16 query c 32 query d 1 query d 2 query d 4 query d 8 query d 16 query d 32 query d 64 query e 1 query e 2...
result:
ok Ok in 3302 k
Test #4:
score: 0
Accepted
time: 7ms
memory: 3660kb
input:
5 1000 1 aaxqvzig 2 aaxqvzig abbaep 4 aaxqvzig abbaep actfxtivf adt 8 aaxqvzig abbaep actfxtivf adt adtl aer afa agfev 16 aaxqvzig abbaep actfxtivf adt adtl aer afa agfev agluptr ahci ahdfhfr aiympo ajjcvjb ajkux akq alnoiph 32 aaxqvzig abbaep actfxtivf adt adtl aer afa agfev agluptr ahci ahdfhfr ai...
output:
query a 1 query a 2 query a 4 query a 8 query a 16 query a 32 query a 64 query b 1 query b 2 query b 4 query b 8 query b 16 query b 32 query c 1 query c 2 query c 4 query c 8 query c 16 query c 32 query c 64 query d 1 query d 2 query d 4 query d 8 query d 16 query d 32 query d 64 query e 1 query e 2...
result:
ok Ok in 3238 k
Test #5:
score: 0
Accepted
time: 4ms
memory: 3908kb
input:
5 1000 1 a 2 a aalilyz 4 a aalilyz ac acb 8 a aalilyz ac acb adcogtni adroq aepocjm aevi 16 a aalilyz ac acb adcogtni adroq aepocjm aevi af aguwuvh agxaaac ahuwl ahxy aiafmv aisyr ajuqw 32 a aalilyz ac acb adcogtni adroq aepocjm aevi af aguwuvh agxaaac ahuwl ahxy aiafmv aisyr ajuqw ake amdjxnsmk amg...
output:
query a 1 query a 2 query a 4 query a 8 query a 16 query a 32 query a 64 query b 1 query b 2 query b 4 query b 8 query b 16 query b 32 query b 64 query c 1 query c 2 query c 4 query c 8 query c 16 query c 32 query c 64 query d 1 query d 2 query d 4 query d 8 query d 16 query d 32 query d 64 query e ...
result:
ok Ok in 3174 k
Test #6:
score: 0
Accepted
time: 10ms
memory: 3664kb
input:
5 1000 1 abvmqw 2 abvmqw acgt 4 abvmqw acgt acoogjx adrvbejoo 8 abvmqw acgt acoogjx adrvbejoo ae aeqv af afb 16 abvmqw acgt acoogjx adrvbejoo ae aeqv af afb afdktn aggcwzid aibg aimgcusle aiymp ajuqm al alk 32 abvmqw acgt acoogjx adrvbejoo ae aeqv af afb afdktn aggcwzid aibg aimgcusle aiymp ajuqm al...
output:
query a 1 query a 2 query a 4 query a 8 query a 16 query a 32 query a 64 query b 1 query b 2 query b 4 query b 8 query b 16 query b 32 query b 64 query c 1 query c 2 query c 4 query c 8 query c 16 query c 32 query c 64 query d 1 query d 2 query d 4 query d 8 query d 16 query d 32 query d 64 query e ...
result:
ok Ok in 3238 k
Test #7:
score: 0
Accepted
time: 3ms
memory: 3892kb
input:
5 1000 1 aavfeg 2 aavfeg abogkwk 4 aavfeg abogkwk abpwnr abqlngdsc 8 aavfeg abogkwk abpwnr abqlngdsc acbdx adgeed aerm aevi 16 aavfeg abogkwk abpwnr abqlngdsc acbdx adgeed aerm aevi aexjyu afascs afbqeawdi afkxyfmcn afvmu agmm agwdwxsu aigw 32 aavfeg abogkwk abpwnr abqlngdsc acbdx adgeed aerm aevi a...
output:
query a 1 query a 2 query a 4 query a 8 query a 16 query a 32 query a 64 query b 1 query b 2 query b 4 query b 8 query b 16 query b 32 query b 64 query c 1 query c 2 query c 4 query c 8 query c 16 query c 32 query c 64 query d 1 query d 2 query d 4 query d 8 query d 16 query d 32 query d 64 query e ...
result:
ok Ok in 3174 k
Test #8:
score: 0
Accepted
time: 9ms
memory: 3696kb
input:
5 1000 1 a 2 a aaac 4 a aaac aac aadrvbej 8 a aaac aac aadrvbej aay abwun abz acb 16 a aaac aac aadrvbej aay abwun abz acb acn acqx actyaovq acvdf adgeedjk af ahnzdw ahxylcgn 32 a aaac aac aadrvbej aay abwun abz acb acn acqx actyaovq acvdf adgeedjk af ahnzdw ahxylcgn aidvvi aisyr aivtmpqz al an anbi...
output:
query a 1 query a 2 query a 4 query a 8 query a 16 query a 32 query a 64 query b 1 query b 2 query b 4 query b 8 query b 16 query b 32 query b 64 query c 1 query c 2 query c 4 query c 8 query c 16 query c 32 query c 64 query d 1 query d 2 query d 4 query d 8 query d 16 query d 32 query d 64 query e ...
result:
ok Ok in 3174 k
Test #9:
score: 0
Accepted
time: 8ms
memory: 3688kb
input:
5 1000 1 aaciqgnc 2 aaciqgnc aawtbc 4 aaciqgnc aawtbc aayipsoj abqlngds 8 aaciqgnc aawtbc aayipsoj abqlngds acf acqrs actad adrv 16 aaciqgnc aawtbc aayipsoj abqlngds acf acqrs actad adrv adxm aexjy agnn agwdwxs ai aid aif aijelh 32 aaciqgnc aawtbc aayipsoj abqlngds acf acqrs actad adrv adxm aexjy ag...
output:
query a 1 query a 2 query a 4 query a 8 query a 16 query a 32 query a 64 query b 1 query b 2 query b 4 query b 8 query b 16 query b 32 query b 64 query c 1 query c 2 query c 4 query c 8 query c 16 query c 32 query c 64 query d 1 query d 2 query d 4 query d 8 query d 16 query d 32 query d 64 query e ...
result:
ok Ok in 3174 k
Test #10:
score: 0
Accepted
time: 5ms
memory: 3900kb
input:
5 1000 1 aagxaa 2 aagxaa abjc 4 aagxaa abjc acg aciqg 8 aagxaa abjc acg aciqg acnhpzn acvdfl adtninwc aehz 16 aagxaa abjc acg aciqg acnhpzn acvdfl adtninwc aehz aek aeqqojyp aevibe aexjyulg afbxp afl aguwuv ahcipz 32 aagxaa abjc acg aciqg acnhpzn acvdfl adtninwc aehz aek aeqqojyp aevibe aexjyulg afb...
output:
query a 1 query a 2 query a 4 query a 8 query a 16 query a 32 query a 64 query b 1 query b 2 query b 4 query b 8 query b 16 query b 32 query b 64 query c 1 query c 2 query c 4 query c 8 query c 16 query c 32 query c 64 query d 1 query d 2 query d 4 query d 8 query d 16 query d 32 query d 64 query e ...
result:
ok Ok in 3174 k
Test #11:
score: 0
Accepted
time: 7ms
memory: 3676kb
input:
5 1000 1 aadbd 2 aadbd aadbg 4 aadbd aadbg aaemf aaepzchvxg 8 aadbd aadbg aaemf aaepzchvxg aapihz aaqjqvgx aazfccep aaznfe 16 aadbd aadbg aaemf aaepzchvxg aapihz aaqjqvgx aazfccep aaznfe abakwq abbwcmdh abdhdofrs abdjlpez abeaa abezgbabhd abgbpa abhkmvmahb 32 aadbd aadbg aaemf aaepzchvxg aapihz aaqj...
output:
query a 1 query a 2 query a 4 query a 8 query a 16 query a 32 query a 64 query a 128 query b 1 query b 2 query b 4 query b 8 query b 16 query b 32 query b 64 query b 128 query c 1 query c 2 query c 4 query c 8 query c 16 query c 32 query c 64 query c 128 query d 1 query d 2 query d 4 query d 8 query...
result:
ok Ok in 3078 k
Test #12:
score: 0
Accepted
time: 4ms
memory: 3584kb
input:
5 1000 1 aabwpote 2 aabwpote aaclnnc 4 aabwpote aaclnnc aadjkgs aaemccd 8 aabwpote aaclnnc aadjkgs aaemccd aapihztr aavaacml aazdodzr abbaeuada 16 aabwpote aaclnnc aadjkgs aaemccd aapihztr aavaacml aazdodzr abbaeuada abbriejjk abbzfui abcdocbn abicfcs abjcdznj abkcmdgj abrlkfgb abuesdgjja 32 aabwpot...
output:
query a 1 query a 2 query a 4 query a 8 query a 16 query a 32 query a 64 query a 128 query b 1 query b 2 query b 4 query b 8 query b 16 query b 32 query b 64 query b 128 query c 1 query c 2 query c 4 query c 8 query c 16 query c 32 query c 64 query c 128 query d 1 query d 2 query d 4 query d 8 query...
result:
ok Ok in 3158 k
Test #13:
score: 0
Accepted
time: 3ms
memory: 3852kb
input:
5 1000 1 aaaac 2 aaaac aabcfn 4 aaaac aabcfn aacafh aacklaael 8 aaaac aabcfn aacafh aacklaael aacqahce aadaagbh aadneaeg aaeahnfag 16 aaaac aabcfn aacafh aacklaael aacqahce aadaagbh aadneaeg aaeahnfag aaedi aaegsqcag aafbkbfcra aaffddb aagecekeae aaghla aagpa aajdhjlba 32 aaaac aabcfn aacafh aacklaa...
output:
query a 1 query a 2 query a 4 query a 8 query a 16 query a 32 query a 64 query a 128 query a 256 query b 1 query b 2 query b 4 query b 8 query b 16 query b 32 query b 64 query b 128 query c 1 query c 2 query c 4 query c 8 query c 16 query c 32 query c 64 query c 128 query d 1 query d 2 query d 4 que...
result:
ok Ok in 3062 k
Test #14:
score: 0
Accepted
time: 7ms
memory: 3680kb
input:
5 1000 1 aabbhcc 2 aabbhcc aabfaakbdp 4 aabbhcc aabfaakbdp aabpmcgoa aabzaecvji 8 aabbhcc aabfaakbdp aabpmcgoa aabzaecvji aadcaoscc aadcbqgafi aaeizjcec aafaedcb 16 aabbhcc aabfaakbdp aabpmcgoa aabzaecvji aadcaoscc aadcbqgafi aaeizjcec aafaedcb aafbefhcab aafbygbcc aagobdhafb aajhdbdlm aakbaezd aakc...
output:
query a 1 query a 2 query a 4 query a 8 query a 16 query a 32 query a 64 query a 128 query a 256 query b 1 query b 2 query b 4 query b 8 query b 16 query b 32 query b 64 query b 128 query c 1 query c 2 query c 4 query c 8 query c 16 query c 32 query c 64 query c 128 query d 1 query d 2 query d 4 que...
result:
ok Ok in 3094 k
Test #15:
score: 0
Accepted
time: 9ms
memory: 3824kb
input:
5 1000 1 aaaaaibb 2 aaaaaibb aaabaa 4 aaaaaibb aaabaa aaabceaid aaabf 8 aaaaaibb aaabaa aaabceaid aaabf aaagbba aaagpabe aaahcab aaamdca 16 aaaaaibb aaabaa aaabceaid aaabf aaagbba aaagpabe aaahcab aaamdca aabhbhbf aabhdl aabicbiaa aabjcngb aacafh aacdcaca aacia aaclg 32 aaaaaibb aaabaa aaabceaid aaa...
output:
query a 1 query a 2 query a 4 query a 8 query a 16 query a 32 query a 64 query a 128 query a 256 query b 1 query b 2 query b 4 query b 8 query b 16 query b 32 query b 64 query b 128 query b 256 query c 1 query c 2 query c 4 query c 8 query c 16 query c 32 query c 64 query c 128 query d 1 query d 2 q...
result:
ok Ok in 2958 k
Test #16:
score: 0
Accepted
time: 7ms
memory: 3884kb
input:
5 1000 1 aaabfdi 2 aaabfdi aaabied 4 aaabfdi aaabied aaacbfg aaaeebaf 8 aaabfdi aaabied aaacbfg aaaeebaf aaafbeabii aaagbbabh aaaqpbb aaaudai 16 aaabfdi aaabied aaacbfg aaaeebaf aaafbeabii aaagbbabh aaaqpbb aaaudai aabaabge aabbbdc aabcehac aabeabfacb aabedfk aacaeaaeac aaccfdc aacgdicaa 32 aaabfdi ...
output:
query a 1 query a 2 query a 4 query a 8 query a 16 query a 32 query a 64 query a 128 query a 256 query b 1 query b 2 query b 4 query b 8 query b 16 query b 32 query b 64 query b 128 query b 256 query c 1 query c 2 query c 4 query c 8 query c 16 query c 32 query c 64 query c 128 query c 256 query d 1...
result:
ok Ok in 3204 k
Test #17:
score: -100
Runtime Error
input:
5 1000 1 aaaab 2 aaaab aaaad 4 aaaab aaaad aaaaeddca aaabceaed 8 aaaab aaaad aaaaeddca aaabceaed aaabf aaacbaa aaaedfecd aaafd 16 aaaab aaaad aaaaeddca aaabceaed aaabf aaacbaa aaaedfecd aaafd aaafdegda aaamaab aaanae aabaacfca aabajbdbda aabak aabbgddaaa aabca 32 aaaab aaaad aaaaeddca aaabceaed aaab...
output:
query a 1 query a 2 query a 4 query a 8 query a 16 query a 32 query a 64 query a 128 query a 256 query b 1 query b 2 query b 4 query b 8 query b 16 query b 32 query b 64 query b 128 query b 256 query c 1 query c 2 query c 4 query c 8 query c 16 query c 32 query c 64 query c 128 query c 256 query d 1...