QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#669949 | #7340. Spoonerisms | Urd | AC ✓ | 756ms | 259556kb | C++17 | 3.1kb | 2024-10-23 20:06:09 | 2024-10-23 20:06:09 |
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: 32ms
memory: 172868kb
input:
1 9 blunder blushing crow cry crushing blow black back clap
output:
YES blushing crow crushing blow
result:
ok OK.
Test #2:
score: 0
Accepted
time: 425ms
memory: 191588kb
input:
423 30 aaaaabbbba ababbaaa abaaab bababb aabaa bbaaba bbbaaa abaabba aaabba aabbab bbbaa aaababbbb baaaabaaab aabaaaabab abababbaa aaaaabab abaaaa aabbb baaababa babbaa aabbbb baababb abaabaa aabbbbbb babaabbb baabbaaabb bbbabb baababa bbabb aabbababab 30 abbababbba aabbbaa aaaba bbaba aabbb bbbbbba...
output:
YES abaaaa baababb baababa abaaab YES aaaba bbbabab bbaba aababab YES baaabaa ababbb abababaa baabb YES abbaa bbbaba bbbaa abbaba YES abbbabba bbbaaa bbbaabba abbbaa YES bbaabba abababb abaabba bbababb YES bbabbaba aaaab aaaba bbabbaab YES bbabbb aaaab ababbb baaab YES abaab bbabbba bbbaab aabbba YE...
result:
ok OK.
Test #3:
score: 0
Accepted
time: 520ms
memory: 234864kb
input:
2 4 vgxgpuamkxkszhkbpphykinkezplvfjaqmopodotkrjzrimlvumuarenexcfycebeurgvjyospdhvuyfvtvnrdyluacvrayggwnpnzijdifyervjaoalcgxovldqfzaorahdigyojknviaztpcmxlvovafhjphvshyfiqqtqbxjjmqngqjhwkcexecmdkmzakbzrkjwqdyuxdvoossjoatryxmbwxbwexnagmaygzyfnzpqftobtaotuayxmwvzllkujidhukzwzcltgqngguftuahalwvjwqncksizg...
output:
YES ivnokuladzhmaajkfuacmfukcnbnfnjbwlgoxvnjyeucjnpncvfgaiwbkryamuegkglbyrutpnunnqzayunkyisacxwinqyhpsyushfmofdpqrvkygtpwlhpdliubxrcrdagwgwxbigcxgsqzbirsykfnkfxuvadgecswqwluhzzrslmzbkwyaslguyahbempkuxmvmwapyryjcoeptvifwxjlfnnffnjhekfupytmvcvwtbzaqvsdbbhwuoyiqaqkrxaumhqqyjwxtlnmzqhfcgqiseezekrscopbsu...
result:
ok OK.
Test #4:
score: 0
Accepted
time: 528ms
memory: 259556kb
input:
1 45000 zaaaaaaaaz zaaabaaabz zaaacaaacz zaaadaaadz zaaaeaaaez zaaafaaafz zaaagaaagz zaaahaaahz zaaaiaaaiz zaaajaaajz zaaakaaakz zaaalaaalz zaaamaaamz zaaanaaanz zaaaoaaaoz zaaapaaapz zaaaqaaaqz zaaaraaarz zaaasaaasz zaaataaatz zaaauaaauz zaaavaaavz zaaawaaawz zaaaxaaaxz zaabaaabaz zaabbaabbz zaabca...
output:
NO
result:
ok OK.
Test #5:
score: 0
Accepted
time: 504ms
memory: 254244kb
input:
1 45000 aaaaaaay aaaaaaaaabaaab zaabaaab aaacaaay aaacaaaaadaaad zaadaaad aaaeaaay aaaeaaaaafaaaf zaafaaaf aaagaaay aaagaaaaahaaah zaahaaah aaaiaaay aaaiaaaaajaaaj zaajaaaj aaakaaay aaakaaaaalaaal zaalaaal aaamaaay aaamaaaaanaaan zaanaaan aaaoaaay aaaoaaaaapaaap zaapaaap aaaqaaay aaaqaaaaaraaar zaar...
output:
NO
result:
ok OK.
Test #6:
score: 0
Accepted
time: 464ms
memory: 239544kb
input:
1 24076 mwbmwbcmdbcmdb tugbtugbcmdbcmdb gvygvysizsiz uivuivglbglb patpatifrifr gjjbgjjbhhkbhhkb zwhzwhadcbadcb sbhbsbhbucjucj gcibgcibnqnnqn mrmrouloul patpatgjlgjl cwqcwqhmthmt swesweemxemx lqkblqkbvagvag patpatgjmbgjmb lgxlgxfiffif cjycjyaygayg mszmszriirii numnumzhmzhm ublbublbasuasu htnhtncmdbcm...
output:
YES gcibgcibucjucj patpatcmdbcmdb patpatucjucj gcibgcibcmdbcmdb
result:
ok OK.
Test #7:
score: 0
Accepted
time: 436ms
memory: 237336kb
input:
1 21712 idnbidnbscrscr idnbidnbbzubzu cavcavukrbukrb eudeudtthtth bljbbljbeveeve ngnbngnbqkcbqkcb ikyikynaobnaob iunbiunbeveeve oeooeoqzpqzp ssqbssqbthvthv xjjxjjeveeve hvkbhvkbndkbndkb saibsaibvvivvi dwqdwqlojloj ywbbywbbeveeve whabwhablhnblhnb niuniuixwixw mnpmnpclibclib smcsmcevnevn ffrbffrbwyqbw...
output:
YES xhbxhbecsecs vubbvubbnwjbnwjb vubbvubbecsecs xhbxhbnwjbnwjb
result:
ok OK.
Test #8:
score: 0
Accepted
time: 639ms
memory: 249096kb
input:
1 30360 alcbalcbqflbqflb uysuysaihbaihb aqzaqzxgdbxgdb wvabwvablwklwk rvjbrvjbqujbqujb fezfezfvfbfvfb hmbbhmbbijij nkinkiilqilq aenbaenbcskbcskb lfiblfibngbngb tgntgnwbswbs wuibwuibqwsqws bpxbpxekcekc mksmksaghagh fiqfiqbakbbakb labblabbigcbigcb bxkbxkdoodoo hzlhzlxhmxhm kobkobugbugb xfibxfibmxwmxw ...
output:
NO
result:
ok OK.
Test #9:
score: 0
Accepted
time: 705ms
memory: 254580kb
input:
1 33936 sembsembqypqyp bvxbvxlumblumb tbabtbabxdbbxdbb etketktwjbtwjb pdopdozsbbzsbb pnpbpnpbkltklt nckbnckbjykjyk qjdbqjdbznszns oymoymgifbgifb owkbowkbddebddeb mcpbmcpbvlqvlq mpompogpebgpeb ljqljqtrdbtrdb jmjbjmjbbnnbnn bgxbgxbxpbbxpb benbencbebcbeb jnpbjnpbqevqev wbbwbbwhxwhx yckyckwnabwnab rjirj...
output:
NO
result:
ok OK.
Test #10:
score: 0
Accepted
time: 705ms
memory: 253200kb
input:
1 33936 qxxqxxfrhbfrhb arabarabxvwxvw lmclmcqcsqcs rdurdugszgsz byrbyryhkbyhkb sevsevvfibvfib tpxtpxwevwev xxhxxhllhbllhb kqcbkqcbbwjbwj irobirobbwobbwob xtnxtnlncblncb manbmanbztfztf tdltdlrlzrlz kkzkkzfhobfhob ekrbekrbobgbobgb tjttjtcmibcmib ohnbohnbtvtv fzcbfzcbmqbbmqbb dagdagcwicwi bmebbmebgjygj...
output:
NO
result:
ok OK.
Test #11:
score: 0
Accepted
time: 682ms
memory: 250888kb
input:
1 33048 dlbbdlbbpzdpzd zkmbzkmbgtkgtk dwhdwhssebsseb gzfbgzfbsbssbs prqbprqbgcwgcw ruhbruhbpcbpcb oqyoqytixtix uvnuvnbodbbodb ijkbijkbyclbyclb jphbjphbyxwyxw vlhbvlhbqkoqko jiljiletcetc ujgbujgbkzdkzd hsphsppzpbpzpb cufcufnqnq kdskdspspbpspb mmabmmabzljbzljb qsgbqsgbjepbjepb stjstjwrhbwrhb ogzogzcwp...
output:
NO
result:
ok OK.
Test #12:
score: 0
Accepted
time: 756ms
memory: 258432kb
input:
1 36192 gelgelxafxaf nkwnkwigjbigjb halhalbbdbbd tlutluuebbuebb ilvilvhoho isziszacvacv amxamxhugbhugb rlsrlsblbblb porbporblsls ytgytgvhnbvhnb qtgqtgpwlpwl bogbbogbqgmbqgmb ecwecwoioboiob gvgbgvgbuacbuacb iemiemnrlnrl xolxolwhabwhab qsobqsobdabdab frebfrebhwshws efrbefrbpljbpljb vcjvcjtwvtwv cklbck...
output:
NO
result:
ok OK.
Test #13:
score: 0
Accepted
time: 732ms
memory: 255996kb
input:
1 34884 eyeymulbmulb exyexyidhbidhb ptrbptrbdtrbdtrb dlsdlsxumxum odgodgtejtej doebdoebqqyqqy bgobgofofbfofb bidbidcwabcwab rtmbrtmbxtlbxtlb pgfpgfbygbbygb qzjbqzjbbopbbopb yxhbyxhbzkcbzkcb ornbornbxirbxirb jxgjxgvdjvdj puibpuiboaeoae frpbfrpbdarbdarb citcititlitl ijvijvnchbnchb awgawgnlfbnlfb jkjbj...
output:
NO
result:
ok OK.
Test #14:
score: 0
Accepted
time: 755ms
memory: 256444kb
input:
1 36504 zshzshwkibwkib wcpbwcpbrvfbrvfb blmbblmbollbollb vdpvdpxlhxlh bubuuwcbuwcb hwbbhwbbhegbhegb poopoopajbpajb rnzrnzfrabfrab otzotztjbtjb xdcbxdcbggibggib gexgexgvlgvl wsfwsfgkegke vxivxivelbvelb vsmvsmmyrbmyrb hxpbhxpbfoqbfoqb ypibypibnounou epnbepnbzsibzsib xdkbxdkbatwatw ovyovybmmbmm fkofkor...
output:
NO
result:
ok OK.