QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#181330 | #7340. Spoonerisms | nihaooahin | AC ✓ | 122ms | 118824kb | C++14 | 3.4kb | 2023-09-16 17:47:36 | 2023-09-16 17:47:36 |
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: 3ms
memory: 39768kb
input:
1 9 blunder blushing crow cry crushing blow black back clap
output:
YES blow crushing crow blushing
result:
ok OK.
Test #2:
score: 0
Accepted
time: 55ms
memory: 59364kb
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 baababb abaaaa abaaab baababa YES aabaaa abbaba abbbaaa aaaba YES ababbb baaabaa baabb abababaa YES abbaa bbbaba bbbaa abbaba YES bbaba baaab baaaa bbabb YES bbababb abaabba abababb bbaabba YES ababb aaaaa aaaab ababa YES baaab ababbb aaaab bbabbb YES aabbba bbbaab bbabbba abaab YES babba bbaaaa...
result:
ok OK.
Test #3:
score: 0
Accepted
time: 58ms
memory: 100928kb
input:
2 4 vgxgpuamkxkszhkbpphykinkezplvfjaqmopodotkrjzrimlvumuarenexcfycebeurgvjyospdhvuyfvtvnrdyluacvrayggwnpnzijdifyervjaoalcgxovldqfzaorahdigyojknviaztpcmxlvovafhjphvshyfiqqtqbxjjmqngqjhwkcexecmdkmzakbzrkjwqdyuxdvoossjoatryxmbwxbwexnagmaygzyfnzpqftobtaotuayxmwvzllkujidhukzwzcltgqngguftuahalwvjwqncksizg...
output:
YES ivnokuladzhmaajkfuacmfukcnbnfnjbwlgoxvnjyeucjnpncvfgaiwbkryamuegkglbyrutpnunnqzayunkyisacxwinqyhpsyushfmofdpqrvkygtpwlhpdliubxrcrdagwgwxbigcxgsqzbirsykfnkfxuvadgecswqwluhzzrslmzbkwyaslguyahbempkuxmvmwapyryjcoeptvifwxjlfnnffnjhekfupytmvcvwtbzaqvsdbbhwuoyiqaqkrxaumhqqyjwxtlnmzqhfcgqiseezekrscopbsu...
result:
ok OK.
Test #4:
score: 0
Accepted
time: 98ms
memory: 118824kb
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: 75ms
memory: 111032kb
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: 67ms
memory: 101212kb
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: 62ms
memory: 89956kb
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 xhbxhbnwjbnwjb vubbvubbecsecs vubbvubbnwjbnwjb xhbxhbecsecs
result:
ok OK.
Test #8:
score: 0
Accepted
time: 109ms
memory: 108024kb
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: 122ms
memory: 113332kb
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: 111ms
memory: 112456kb
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: 97ms
memory: 110564kb
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: 107ms
memory: 112020kb
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: 101ms
memory: 108768kb
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: 104ms
memory: 109224kb
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.