QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#698628 | #9558. The Devil | ucup-team003# | TL | 6793ms | 326636kb | C++14 | 5.0kb | 2024-11-01 20:55:23 | 2024-11-01 20:55:24 |
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: 2ms
memory: 12116kb
input:
5 automated teller machine active teller machine active trouble maker always telling misinformation American Teller Machinery
output:
atem actm atrm atm ATM
result:
ok len=18
Test #2:
score: 0
Accepted
time: 0ms
memory: 11908kb
input:
5 Forest Conservation Committee Forum Fuming Corruption Collusion Federation Fulsome Cash Concealment Foundation Funky Crony Capitalism Facilitator Funny Cocky Cocky Funny
output:
FCoCF FCCFe FCaCF FCrCF FCCF
result:
ok len=24
Test #3:
score: 0
Accepted
time: 0ms
memory: 12016kb
input:
3 A AA AA A A A A
output:
no solution
result:
ok len=-1
Test #4:
score: 0
Accepted
time: 1ms
memory: 9772kb
input:
2 QWERTYUIOPASDFGHJKLZXCVBNMqwertyuiopasdfghjklzxcvbnmertyuiop Q W E R T Y U I O P A S D F G H J K L Z X C V B N M q w e r t y u i o p a s d f g h j k l z x c v b n m j k l z x c v b n m
output:
Q QWERTYUIOPASDFGHJKLZXCVBNMqwertyuiopasdfghjklzxcvbnmjklzxcvbnm
result:
ok len=63
Test #5:
score: 0
Accepted
time: 1ms
memory: 9720kb
input:
10 aaa aaa aaa aaa aaa aaa aab aaa aaa aaa aaa aaa aaa aab aaa aaa aaa aaa aab aab aaa aaa aaa aaa a a a a a a ab ab a a a a a a ab ab b a a a a a a aw a a a a a az az a a a a az a a a a a
output:
aaaaaaaaa aabaaaaa aaabaaaa aaaaaaa aaaaaa aaaaaaaa aabaaaaaa awaaaaa aazaaaa azaaaaa
result:
ok len=76
Test #6:
score: 0
Accepted
time: 811ms
memory: 16496kb
input:
128 zzzzzzzzzzzzzzzzzzzzzz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aaaaaaaaaaaaaaaaaaaaaaaaaaa bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb cccccccccccccccccccccccccccccccccccccccccc...
result:
ok len=16534
Test #8:
score: 0
Accepted
time: 1201ms
memory: 21560kb
input:
128 zAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz...
output:
zAAzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz zAAAAAAAAAAAAAAzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz zAAAAAAAAAzz...
result:
ok len=17624
Test #9:
score: 0
Accepted
time: 174ms
memory: 24104kb
input:
128 abbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb 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...
output:
abaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa bcbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb cdcccccccccccccccccccccccccccccccccccccc...
result:
ok len=16460
Test #10:
score: 0
Accepted
time: 1092ms
memory: 23320kb
input:
128 aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa...
output:
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaabbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbcccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc cccccccccccccccccccccccccccccccccccccccccc...
result:
ok len=16384
Test #11:
score: 0
Accepted
time: 13ms
memory: 30776kb
input:
10 AoenrfWTxhAiSipaV cJGloMoCBombqBsVuorNWL gqrmsIZGthdBIvNPWjTGgssBfbctzPCvCmMJWN MDYvQBZCaCmwSFnvQOmolkTmwWgysKuVmByj EOwjzBEgECXizqAZukRFAxdvrRhsGcIzQsFUMcXw mVNxPkaPPKUZEpswrhOqJerzhvfVwcNoDceNZPaskxTEhlGCMIoSqvAg JCPAAkYZoGOxpFNCj tsNvJHyeVCZqOHKzVsLoMnprENEmGSSxFGDDOafIIMVAbUtUIkAqmnrXUnWWfkAl...
output:
AcgMEmJtQnptFcoksenMLQXoWgmMEMuxBJYTcICgaVNaTfoyuAvDOAnedNDDPPPwIGaDOnjIlUvbJTVVQFLk HvApbVGYRBPuNjNkipYlWgO ScgzHNitvtRoLuUisITjuWCLGelWKqYoIAnAmIWTLOeMVHndqytXTd UBSuhtoimhfhdKivdyCqJxSbtnocRCEKicArQJKnRagqrJfNHY WqlPqHsSnpHcIfqCalIrqubIpBXqTVRBOYYQqRCQqJzyHRbbSCLzxsXOzNxSxSXcPhfHkNKClKWBJbg iLqfr...
result:
ok len=660
Test #12:
score: 0
Accepted
time: 505ms
memory: 140708kb
input:
64 AQLPmEKRHtLKaVeVgUBkYfECFrvhbsXorapjINwkXhyCmkexRIVAZTsXaOihheHjstls AiIegrwbTMbBFdDQHGMgyOahunXRrySnKEmfKXQkpWdtNpGdgdBtPGfdcdnUvEqkfmvmSRzevtZkhPzjhDhTVLQCbaozNEXlqUgHeRshchY SFwbzOhRAEybYCGswuldoWkKloHghqiDybxtJPdzAWjmqxw mcRhokiMnxgAucSnasFcEXpZdEGEGzEGaEBAfGNEQAgQSTFKrMvxoUZTDKQMHksaciHoYXih...
output:
AASmGWIMEJjHHnPlYRcjfOMPuKTjbyRxHmnMcJSXFigHUqxClyINhlMPJgLAZRXFEOGWcCIQvqaYBIhOPkeUVWKHJYow CJenkhWcPeucbfOFBHxSdYqLgftApMsctvFlfKkZmavIfqWYNZpZKJKYPwMSuvaSubelMSQKFIymAZoMLIOqoHGlIbOAp CejoeafHpVdTXKhgDGCAFivwKoSTwwBUDBdXYMWNlUBUttHXemMOHwlBiaqRUwYTIPqJvpowUFTSkqyAywInGlWgMfYXuFrw DkivKkaYITyXOOVF...
result:
ok len=3658
Test #13:
score: 0
Accepted
time: 4370ms
memory: 268448kb
input:
128 kfiaaudafulirmameczaaaaaaaaaaaaaaaaaaaaaaaaagaaaajaaaaaalaaqoaaa f i a a u d a f u l i r m a m e c z 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 g a a a a j a a a a a a l a a q o a a a aaaoqaalaaaaaajaaaagaaaaaaaaaaaaaaaaaaaaaaaaazcemamrilufaduaaifk a a o q a a l a a a a a a j a a a a g a ...
output:
kfiaaudafulirmameczaaaaaaaaaaaaaaaaaaaaaaaaagaaaajaaaaaalaaqoaaa aaaoqaalaaaaaajaaaagaaaaaaaaaaaaaaaaaaaaaaaaazcemamrilufaduaaifk aoajcnjaaicamaaaahyaaaaaaaaaaaaaaaaaaaaaaaaabaazasvaeaavcaaaajak kajaaaacvaaeavsazaabaaaaaaaaaaaaaaaaaaaaaaaaayhaaaamaciaajncjaoa akkggaaaaumaiwaqawgaaaaaaaaaaaaaaaaaaaaa...
result:
ok len=14640
Test #14:
score: 0
Accepted
time: 278ms
memory: 22836kb
input:
128 a aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa a aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa aaaaaaaaaaaaaaaZ a aaaaaaaaaaaaaaaZ aaaaaaaaaaaaab aaaaaaaaaaaaab aaaaaaaaaaaaaaaZ aaaaaaaaaaaaab a aaaaaaaaaaaaaz aaaaaaaaaaaaaaaZ aaaaaaaaaaaaab aaaaaaaaaaaaaz a aaaaaaaaaaaaab aaaaaaaaaaa...
output:
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa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ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZQQZZZZZ ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZQQZZZZZ ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZb ZZZZZZZZZ...
output:
ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZzZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZzZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ...
result:
ok len=20417
Test #17:
score: 0
Accepted
time: 4ms
memory: 9888kb
input:
128 p p p p p p p p p p p p p p p p p p p p p p p p p p p p p p p p p p p p p p p p p p p p p p p p p p p p p p p p p p p p p p p p p p p p p p p p p p p p p p p p p p p p p p p p p p p p p p p p p p p p p p p p p p p p p p p p p p p p p p p p p p p p p p p p p p p p p p p p p p p p p p p p p p p p ...
output:
pppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppp ppppppppppppppppppppppppppppppppppppppppppppp ppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppp ppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppp p...
result:
ok len=8256
Test #18:
score: 0
Accepted
time: 24ms
memory: 14924kb
input:
64 Hash Objects The following values are provided as constant attributes of the hash objects returned by the constructors hash digest size The size of the resulting hash in bytes hash block size The internal block size of the hash algorithm in bytes A hash object has the following attributes hash na...
output:
HO Tfvapacaothorbtc hds Tsotrhib hbs Tibsothaib Ahohtfa hn Tcnothalaasaaptntcahott CivTnahbpiCsiibuPwnfssmneosp Ahohtfm hud UthowtbloRcaetascwtcoatamuamubietmuab hd RtdotdpttumsfTiaboosdswmcbitwrft hah LdetdiraasoodlcohdTmbutetvsieoonbe hc RaccothoTcbutectdodsacis Svld hsduT TsasapvldwlibutobosAstdm...
result:
ok len=968
Test #19:
score: 0
Accepted
time: 17ms
memory: 11868kb
input:
62 Invocation Manage access Packages Issues Invocations Solution files Stresses Tests Validator Checker Files Statement General info View Problems Contest Back to invocations Rejudge Set solutions tags n cpp n break cpp n log cpp n log removeset cpp n noclear cpp n spfa cpp n spfa py py n spfa pypy ...
output:
I MaPIISfSTVCFSGiVPC Bti Re Sst ncnbcnlcnlrcnncnscnsppnsppnsvcncnsc OOOOOOOOOOO OOOOOOOOWOO OOOOOOTOOTT OOOOOOTOOOO OOOOOOTOWTT OOOOOOTOWOO pt mmMmMmMmMmMmMmMmMmMmMmM Cwasstspawmtmahwlbc IsctehoTosgTagOidTtccihwoc Ctol nmvhmvh cbn vn vp nmvhmtavdvanhmavoalotfti nmvhmtavdvnhmavoalotfti Ffhmttiatwhtsf...
result:
ok len=436
Test #20:
score: 0
Accepted
time: 14ms
memory: 13696kb
input:
64 Resource Files New File Add Files Name Length Modified Actions Delete Download Edit View Advanced gen atm cpp Rename kB Delete Download Edit View olymp sty problem tex statements ftl testlib h Auto update You can place here h files or java files These files will be copied to compilation directory...
output:
RF NFAF NLM Ac DDEV Ad gac R kDDEV os pt sf th Au YcphhfojfTfwbctcddtcpoesf SF NLLM DDEVL vcv ccc gabpg gaapg gaaapg gapg gdpg glpg grcg gspg gzpg gdp grp UffgvaciynIisrtutii Dnushusti Eog Ycrmagh A Nf Uatuafywitpr Vc hpccpXIfa Afsgabp Afsgabpd ADfsgap Afsgapyd Afsgap Afsgapd Afisgdp ADfsgdpd Afsgdp...
result:
ok len=325
Test #21:
score: 0
Accepted
time: 22ms
memory: 19940kb
input:
63 Major Arcana Article Talk Read Edit View history Tools From Wikipedia the free encyclopedia A fan with cards an index and their box The Major Arcana cards redesigned by Roberto Viesi The Major Arcana are the named or numbered cards in a cartomantic tarot pack the name being originally given by oc...
output:
MA A Ta R Ed Vh To FWtfe Afwcaiatb TMAcrbRV TMAatnonciactptnbogbotttcoantpufpcgTausciascptnfticpptintucitFTninubtcgp PtttctcwsufpgatFatwspoascpufgagTmhbaacsattbbtttohnmomiWddfcgtcgtcsaptaadftrctscwakboatMA TtMaMAauitoadaotdaipETaowJBPwutnPC SMDwttFatcohsaoemmoieiitIcottcwiwiTosbteittcwACdGaScaFpeoTi...
result:
ok len=2094
Test #22:
score: 0
Accepted
time: 9ms
memory: 12692kb
input:
54 include bits stdc h include testlib h using namespace std int n vector vector string a string strip const string s auto l s begin while l s end l l auto r s end while r l prev r r return s substr l s begin r l inline int readAndCheckAnswer InStream in string first strip in readLine A Za z first l...
output:
ibsh ith uns in vvsa sscss alsb wlsell arse wrlprr rsslsbrl iirIi sfsirAZzfl ifns r ieffl vsaf fiiini apbirAZzp it ssa sip fawai sis fajp fikjkaiskwsk iaijkwk sijk e b pms iepcaisaiinaaftsics ieacaiambu aiai tais rt imiaca raa nirir ssir vsw st wst wpbt apbmw ijra ipro ijp qwJhtabphn qfPhtabjhn ipj ...
result:
ok len=270
Test #23:
score: 0
Accepted
time: 21ms
memory: 12220kb
input:
64 present me some phrases that shares the same initialism as much as possible as long as possible ChatGPT Creating long phrases that share the same initialism can be quite the puzzle Heres a list featuring the initialism S T A R T to give you an idea of how diverse the phrases can be Seek Treasure ...
output:
pmsptstsiamapalap C ClptstsicbqtpHalftiSTARTtgyaiohdtpcb STrARTr STARTi STAnRTe STARiT SThAReT SaTArRT STAzRT SuTART STAnRT STARaT Tpsdtfthafstasase ctgm HamputiSTART SeTART SiTART ShTART STArRT STARTr STARTo START SyTART STARTe SThART Epbotcosswiapjabsoace STARTh STAReT STAmRT SToART STAtRT STrART ...
result:
ok len=522
Test #24:
score: 0
Accepted
time: 147ms
memory: 18552kb
input:
128 You are given a string consisting of characters and or You have to paint every character of this string into one of two colors red or blue If you paint the i th character red you get r i coins If you paint it blue you get b i coins After coloring the string you remove every blue character from i...
output:
Yagascocao Yhtpecotsiootcrob Iyptitcrygric Iypibygbic Actsyrebcfiactnoiitrsi e tnopocsttlcitpiatrcitpi Feiyhtpc Witmnocyce Lscaaaonnnifitfch aloftnxx xkaita ceotadbamki aiailkfeiin Yagnxak Ytitctnofaoln Stacblpim MaBapacg Echtpaavaadv Acsbactitaosisgttdot Mhnctitothaavomaiaadvomai Bhmctjtothaavombja...
result:
ok len=2069
Test #25:
score: 0
Accepted
time: 145ms
memory: 19052kb
input:
128 An anonymous informant has told you that the array b was obtained as follows initially there existed an array a a ldots a n after which the following two component operation was performed k times A fixed point dagger x of the array a was chosen Then the array a was cyclically shifted to the left...
output:
Aaihtyttabwoafiteaaaalanawtftcowpkt Afpdxotaawc Ttaawcsttldext Aaroksotabblbnwo Ywtcitwotaicbtoitagtbf dAnxicafpotaaalanilxlnaaxx dAclsotaaalanitaalana Yagartwtravicoasv Evhanvist Taaqqott Tftaacvwtnstvvwsitcsott Tnvotnvwb Tstaxttnvoavitsovv Aaqotnvoaotvitft TbSilawatnB OtcotyBwane Feeidaiikwianni S...
result:
ok len=1849
Test #26:
score: 0
Accepted
time: 152ms
memory: 20020kb
input:
128 It turns out that Doremy has a special power She can choose k days and during these days it will not rain Doremy wants to calculate the maximum number of dry cities after using the special power The only differences between the two versions of this problem are the constraint on k the time limit ...
output:
ItotDhasp Scckdadtdiwnr Dwtctmnodcautsp Todbttvotpatcokttlatml Ycmhoiavotpas Dliarcconcnftn Twbptdoritnmd Ititdiwritcitiliri Acicdiiwnritcitnmd Scckditevkadtdiwnr Dliacconcnftnwaiplititc Icbmaaugwnn Itaneitg NDwtmtgc Tdtscaaebiaji skiSakgicjcc wSitsoatntacitsccoeiojaciagc CDmtgc Tnijaitscciteapfitj ...
result:
ok len=2054
Test #27:
score: 0
Accepted
time: 41ms
memory: 11092kb
input:
128 Ab aba abac abacaabaca synonyms abaciscus abacist abackaback synonyms Abaco abacterial abactinal abaculus abacusabacus synonyms Abadan AbaddonAbaddon synonyms A bad penny always turns up ab aeterno abaftabaft synonyms Abagtha Abailard Abakan abaloneabalone synonyms abamp abampere abandonabandon ...
output:
Ab aba ab abacas abac abaci abacks Abac abacte abact abacu abacs Abad Abs Abpatu aa abafs Abag Abai Abak abals abamp abam abansy abands aband Ahayweh abans aban abapi abap AIs b asyn absy asy abs abass abasi asyno abasy abats abati aj abato abat Aba abas abax abay abb A abbac ad Abbad Abbai Abbas Ab...
result:
ok len=504
Test #28:
score: 0
Accepted
time: 28ms
memory: 12724kb
input:
105 abele abelia Abelian Abelian group Abe Lincoln in Illinois Abel meholah abelmosk Abelson Abenaki abendabend synonyms Abeokuta Abercrombie Aberdare Aberdeen Aberdeen Angus Aberdeen Proving Ground Aberdeenshire Aberdeen terrier aberdevine Aberdonian Aberfan Abernathy abernethy aberrantaberrant syn...
output:
abele abeli Abeli Ag ALiI Am abel Abel Aben abens Abeo Aberc Abe Ab AA APG A At aberd Aberd Aberf Aber aber asyno abers Abery aes abe abesy abet abets ae abeys abes abf ABFM AB abhe AP abh absyn abhsy abhos abhs Abi Abia Abib abid abisy abybs abids Abid Abie abien bi abie aba abigs Abih Abil abils A...
result:
ok len=410
Test #29:
score: 0
Accepted
time: 38ms
memory: 10876kb
input:
128 Saar Saarbrcken SAARC Saaremaa Saarinen Saarland SaaS Saavedra Lamas Sab Saba Sabadell sabadilla Sabaean Sabah sabalo Sabaoth Sabata Sabatier Sabatini sabaton Sabattier effect sabayon Sabbat Sabbatarian SabbathSabbath synonyms Sabbath school Sabbatical sabbatical yearsabbatical year synonyms Sab...
output:
Saar Saarb SAA Saare Saa Saarl SaaS SaL Sa S Sabad sabad Sabae Sabah sabal Sabao Sabata Sabat Saba sabat Se saba Sab Sabbat Sas Ss Sabba syys Sabb SA Sabea Sabe sabes sabe sarrs ssa st satt sabi Sabina Sabin SL Sabi Svvs Sabir sabk sabls san sabl SIp sabo ss sabsy sabos sabr sabrs sr sab stt Sabr SA...
result:
ok len=555
Test #30:
score: 0
Accepted
time: 49ms
memory: 13200kb
input:
128 safari suit Safavid safesafe synonyms safe and soundsafe and sound synonyms safe area safe as houses safe blower safe breaker safe conductsafe conduct synonyms safecrackersafecracker synonyms safe deposit safe deposit boxsafe deposit box synonyms safeguardsafeguard synonyms safe harborsafe harbo...
output:
sasu Safa ssyn sasass saa saah sab sbr scocs sasy sad sdbodbs sas sahhs shhs ssy safe safsy sap sse sasp ssur safes sbbs sca sac sch sci sccs sd sdbdbs sfa sfi sfu sf sggs sho sints siis SI slls sal sl sam smms snns spps srrs ssq sat svvs saw s saff so safs Saf SR SAf sa SAD safr saf sagss ssyno sas...
result:
ok len=443
Test #31:
score: 0
Accepted
time: 36ms
memory: 12696kb
input:
115 sage cock sage Derby sage green sage grouse sage hen sagelysagely synonyms sagenite sage sparrow sage thrasher saggar saggersagger synonyms sagging moment saggysaggy synonyms Saghalien Sag Harbor Saginaw Saginaw Bay Sagitta sagittalsagittal synonyms sagittal suture Sagittarian SagittariusSagitta...
output:
sc sD sagr sgr she sages sage ssp st sagg sagsy sm saggs Sagh SH Sagin SBa Sagit sagis sasu Sagi Sas sagi sags sago sg sap sr S sag Sagu SeH Sag sw Sa Ss Sah Saha Sahe Sat sah SaA SAH saic saids Said saig Sai ST sails sa sailb ssyn scttw sasy saile sailf sais sbbs sl ssh si sailm ssy sh sailo ssc ss...
result:
ok len=379
Test #32:
score: 0
Accepted
time: 132ms
memory: 16448kb
input:
128 AAAzzzzzAzzzAzzAzAzzAzzAAzzzzAzAzzAAAAzzAAzAAzAAAAzAzzzzzAAAAzAAAzzzAzzAAzAAzzAAAAAzzzzzzAzzAAzzzzzAAAAzzzAzAAzzzAAzzzAAAAzAAzzA AzAAzAzAAzAAzzzzAAzzzAzzzAzzAAAzzzAAAzzzzAzAAzzzAzAzAzAzzzzAAAzAzzzAAzzzzzzzzzAAzzzzzzAAAzzzzAzzAzAzAAzAzzzzzAzAzzAzzAzzAAzzAAzA AAzAzzzzAzAAAzAAzAAzAzAzAAzAAzzAzzzAAz...
output:
AAAzzzz AzAAzA AAzAzzz z AAzAAAz zAAzAAA zAAzzzz AAAzzAz zAAAzAA zzzzzzz zAAzAA zAAAAzz AAzzAz AAAzAzA zzAzzzz zzAzzA zAzzA zzzzAzz zAzAzz zAAAAzA AAzzzAz zzAAzz AAzAAAA AAzAAz AzAAAz A zzzzzzA zAzzzA zAzzAA AAzzzA zAAAzzz Azzz zAzzAz zAAAzAz zAzzzz AzzzAA zzzAAz zzAzAz zAzA Azz Azzzz AA zzzz zAzzz ...
result:
ok len=673
Test #33:
score: 0
Accepted
time: 133ms
memory: 15200kb
input:
128 zAzzAAAAAzzAAAzAAAzAzzzAAzzzAzzzAzAzzAAzzAzAAzAzAzAAAAAzzzzzAAAAzzzzzAAAAzzzzzAAzzzAzAzAzzzAAAzAAAAzzzzAzAzzzzAzAzAAAzAzzzzAzAAA zzAzzzAAzzAAAzAAAzzAzAAzAAzzzAAAAzzzzAzzzAzAzzzAAAAAAAzzAzzzAzzAAzzAAAAAzAzzzzzAzAAAAAzzAAzzAzAAzzAAAzAzzAzAAAAAAzAzAzzzAAAzAzzA AzzAAAAzzAAzzAAzzAAAAzAzzzzzAAAzzAzzzA...
output:
zAzzAAA zzAzzzA AzzAAAA AAAAzA zAAAzzA zAAAAzz AAAzAAA zAAAA AzAzAAA zAzAAA AzAzAzz AzAzA zzAAzAA zAzzA AAzzzz zzz AzzzzzA AAzAAA AzAzAz AAAAAAz zAAAAz AzzzzA zAzAA zA zAzzAA zzzzzz AAAAzzA zzAzAz zzzA zzAzAA zAzAz zAAzAz AAAzAAz AzzAAA zAA zAzzzA AAzzA zAzzAz Az zAzzzz AAzAzz zzAzA zAAAz AAzAAz z A...
result:
ok len=667
Test #34:
score: 0
Accepted
time: 6793ms
memory: 326636kb
input:
128 riJvmelARapZOVXwMfUdCzkwcdcFjGKiqKQwFwiXFPFIjlUnHZFetAENZXLpvEWaOZRVAeFBjLaCKvnszYuPa riJvmelARapZOVXwMfUdCzkwcdcFjGKiqKQwFwiXFPFIjlUnHZFetAENZXLpvEWaOZRVAeFBjLaCKvnszYuPa riJvmelARapZOVXwMfUdCzkwcdcFjGKiqKQwFwiXFPFIjlUnHZFetAENZXLpvEWaOZRVAeFBjLaCKvnszYuPa riJvmelARapZOVXwMfUdCzkwcdcFjGKiqKQwFw...
output:
rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrjrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrirrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr...
result:
ok len=16511
Test #35:
score: 0
Accepted
time: 16ms
memory: 12848kb
input:
64 g MinGW W x ucrt posix seh built by Brecht Sanders Copyright C Free Software Foundation Inc This is free software see the source for copying conditions There is NO warranty not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE Usage g options file Options pass exit codes Exit with high...
output:
gMWxupsbbBS CCFSFI TifsstsfccTiN wnefMoFFAPP Ugof O pecEwhecfap hDti thDtsclo hcoptwjsu Dstoclo Uvhtdcloosp vDcvi dDaotbiss dDtvotc dDtcstp psdDtditcssp plfnDtnotcscl pfnlDtfptll ppnpDtfptccp pmDttsnGtua acitlp pmdDtrdfvol pmlDtmbcloa mlsd pmodDtrptOl psDttld pshsDtssutfh WoPcsootta WoPcsoottp WoPcs...
result:
ok len=539
Test #36:
score: 0
Accepted
time: 970ms
memory: 21340kb
input:
128 aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaae aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaar aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa...
output:
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb cccccccccccccccccccccccccccccccccc...
result:
ok len=16636
Test #37:
score: 0
Accepted
time: 0ms
memory: 9700kb
input:
1 z
output:
z
result:
ok len=1
Test #38:
score: 0
Accepted
time: 2563ms
memory: 270740kb
input:
128 AQcNVBPpxahJeqoyDYRQdSHFxfNXlLotEijTgUySPIUHysxlfdPCpRvbSJkQBOhTJgJVDRdjAIFODJTSLJZmzUJgAXsJEFJDkGhfGCMAcpZVd iMGDnPQZefidJgKERflhOdNxntuIcaEMjnFgRSbqqopCDKnPsDAlxCsZvbvIObJqlTcofHD nnJCmTgqyFYNjQTBgNSSbVWrNxahwleYXVVGizfdorZdeBDrdXEJnnphWIAiWmzqqdWCDRSoNIBHHZr qCRWhfJScgWlkkfzjPIhZXojqEWYOOahsF...
output:
AinqKjKOTbajcXnZARIjQnPJOOFrlfWldfUfXsj B BAkzSIOKVkoYNbLIlfatOiDcpFbymXoAcXQDpgsweYhmXkEnxDnIOMYYBslzJBCBUIjHzHPYduUbFnPjjnPq BXvBcFXrPxdzOGQdjoDuWBfZLfzjPsfBfvVcRTCeklejNSPxVcAHCbjtOEuhObAZfNQhgNdh BsvmwwOSwXfJlxLINsDIfMOPbLtPvKBPzimHoJiaycCkSTpDKFGjIfipMN BaRwYGBLxhsArZHQQYsCWoJVnYnGdPDOgZLbgqKCr...
result:
ok len=8082
Test #39:
score: -100
Time Limit Exceeded
input:
128 EsRPZZEOwdRaYIWsPeQRAzwvIUwETAYeTUQPzvOIzWwTvwsREYwZWwaPUsRRQdIWsQYUvZaaRAYYdTaRUAYZOeIEOTvAwAAPwOAORTAQUQaYUdaPUwvQAAPEPsReResP EsRPZZEOwdRaYIWsPeQRAzwvIUwETAYeTUQPzvOIzWwTvwsREYwZWwaPUsRRQdIWsQYUvZaaRAYYdTaRUAYZOeIEOTvAwAAPwOAORTAQUQaYUdaPUwvQAAPEPsReResP EsRPZZEOwdRaYIWsPeQRAzwvIUwETAYeTUQPzv...