QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#294700 | #4828. Four Plus Four | Forever_Young# | AC ✓ | 970ms | 47192kb | C++17 | 4.8kb | 2023-12-30 15:54:34 | 2023-12-30 15:54:35 |
Judging History
answer
#include <bits/stdc++.h>
using namespace std;
#define rep(i,a,n) for (int i=a;i<n;i++)
#define per(i,a,n) for (int i=n-1;i>=a;i--)
#define pb push_back
#define eb emplace_back
#define mp make_pair
#define all(x) (x).begin(),(x).end()
#define fi first
#define se second
#define SZ(x) ((int)(x).size())
typedef vector<int> VI;
typedef basic_string<int> BI;
typedef long long ll;
typedef pair<int,int> PII;
typedef double db;
mt19937_64 mrand(1234);
const ll mod=1000000007;
int rnd(int x) { return mrand() % x;}
ll powmod(ll a,ll b) {ll res=1;a%=mod; assert(b>=0); for(;b;b>>=1){if(b&1)res=res*a%mod;a=a*a%mod;}return res;}
ll gcd(ll a,ll b) { return b?gcd(b,a%b):a;}
// head
const int N=60100;
int n;
char tt[111],ss[111];
string s[N],f1[N],f2[N],s2[N];
int n4,n8;
VI e[N];
array<int,3> key[N];
map<string,int> idf1,idf2;
map<PII,int> gid;
void genmatch(bool gg=false) {
scanf("%d",&n8);
rep(i,0,n8) {
scanf("%s",tt);
f1[i]=tt;
idf1[f1[i]]=i;
}
scanf("%d",&n4);
rep(i,0,n4) {
scanf("%s",tt);
f2[i]=tt;
idf2[f2[i]]=i;
}
VI ord;
rep(i,0,n8) {
rep(j,0,n4) {
string o=f1[i];
rep(k,0,4) {
bool suc=0;
rep(z,0,8) if (o[z]==f2[j][k]) {
o[z]='.';
suc=1;
break;
}
if (!suc) goto fail;
}
e[i].pb(j);
fail:;
}
//printf("%d %d\n",i,SZ(e[i]));
if (SZ(e[i])>=3) {
ord.pb(i);
}
}
shuffle(all(ord),mrand);
sort(all(ord),[&](int x,int y) {
return SZ(e[x])<SZ(e[y]);
});
map<PII,set<int>> st;
auto add=[&](int u,int v1,int v2,int v3) {
assert(v1<=v2&&v2<=v3);
st[mp(v1,v2)].insert(u);
st[mp(v2,v3)].insert(u);
st[mp(v1,v3)].insert(u);
key[u]={v1,v2,v3};
};
for (auto u:ord) {
int m=SZ(e[u]);
rep(rd,0,100) {
int u1=rnd(m),u2=rnd(m),u3=rnd(m);
if (u1!=u2&&u1!=u3&&u2!=u3) {
if (u1>u2) swap(u1,u2);
if (u1>u3) swap(u1,u3);
if (u2>u3) swap(u2,u3);
int v1=e[u][u1],v2=e[u][u2],v3=e[u][u3];
if (st[mp(v1,v2)].empty()&&st[mp(v1,v3)].empty()&&st[mp(v2,v3)].empty()) {
add(u,v1,v2,v3);
goto suc;
}
}
}
rep(rd,0,100) {
int u1=rnd(m),u2=rnd(m),u3=rnd(m);
if (true) {
if (u1>u2) swap(u1,u2);
if (u1>u3) swap(u1,u3);
if (u2>u3) swap(u2,u3);
int v1=e[u][u1],v2=e[u][u2],v3=e[u][u3];
add(u,v1,v2,v3);
goto suc;
}
}
assert(0);
suc:;
}
vector<PII> contr;
for (auto x:st) if (SZ(x.se)>=2) {
for (auto y:x.se) for (auto z:x.se) if (y<z) {
contr.pb(mp(y,z));
}
}
sort(all(contr));
contr.erase(unique(all(contr)),contr.end());
auto checkcon=[&](int u,int v) {
vector<PII> pu,pv;
pu.pb(mp(key[u][0],key[u][1]));
pu.pb(mp(key[u][0],key[u][2]));
pu.pb(mp(key[u][1],key[u][2]));
pv.pb(mp(key[v][0],key[v][1]));
pv.pb(mp(key[v][0],key[v][2]));
pv.pb(mp(key[v][1],key[v][2]));
for (auto x:pu) for (auto y:pv) if (x==y) return true;
return false;
};
while (SZ(contr)>0) {
auto [u,v]=contr[rnd(SZ(contr))];
if (rnd(2)) swap(u,v);
int m=SZ(e[u]);
rep(rd,0,100) {
int u1=rnd(m),u2=rnd(m),u3=rnd(m);
if (true) {
if (u1>u2) swap(u1,u2);
if (u1>u3) swap(u1,u3);
if (u2>u3) swap(u2,u3);
int v1=e[u][u1],v2=e[u][u2],v3=e[u][u3];
int del=0;
for (auto [p,q]:contr) if (p==u||q==u) del--;
set<PII> newct;
for (auto w:st[mp(v1,v2)]) if (w!=u) {
newct.insert(mp(u,w)),newct.insert(mp(w,u));
}
for (auto w:st[mp(v2,v3)]) if (w!=u) {
newct.insert(mp(u,w)),newct.insert(mp(w,u));
}
for (auto w:st[mp(v1,v3)]) if (w!=u) {
newct.insert(mp(u,w)),newct.insert(mp(w,u));
}
del+=SZ(newct)/2;
if (del<=0) {
VI w;
int w1=key[u][0],w2=key[u][1],w3=key[u][2];
if (st[mp(w1,w2)].count(u)) st[mp(w1,w2)].erase(u);
if (st[mp(w1,w3)].count(u)) st[mp(w1,w3)].erase(u);
if (st[mp(w2,w3)].count(u)) st[mp(w2,w3)].erase(u);
vector<PII> newt;
for (auto [p,q]:contr) if (p!=u&&q!=u) newt.pb(mp(p,q));
for (auto [x,y]:newct) if (x<y) newt.pb(mp(x,y));
add(u,v1,v2,v3);
contr=newt;
break;
}
}
}
}
if (gg) {
for (auto x:ord) rep(u,0,3) rep(v,0,3) if (u!=v) {
assert(!gid.count(mp(key[x][u],key[x][v]))||gid[mp(key[x][u],key[x][v])]==x);
gid[mp(key[x][u],key[x][v])]=x;
}
}
}
void gaoP() {
scanf("%d",&n);
rep(i,0,n) {
scanf("%s",tt);
s[i]=tt;
}
genmatch();
rep(i,0,n) {
int id=idf1[s[i]];
//printf("?? %d\n",id);
printf("%s %s %s\n",f2[key[id][0]].c_str(),f2[key[id][1]].c_str(),f2[key[id][2]].c_str());
}
}
void gaoK() {
scanf("%d",&n);
rep(i,0,n) {
scanf("%s",tt);
s[i]=tt;
scanf("%s",tt);
s2[i]=tt;
}
genmatch(true);
rep(i,0,n) {
int id1=idf2[s[i]],id2=idf2[s2[i]];
printf("%s\n",f1[gid[mp(id1,id2)]].c_str());
}
}
int main() {
scanf("%s",ss);
if (ss[0]=='p') gaoP();
else gaoK();
}
Details
Tip: Click on the bar to expand more detailed information
Test #1:
score: 100
Accepted
time: 888ms
memory: 46788kb
input:
password 2 password couthier 28558 aardvark aardwolf aasvogel abacuses abalones abampere abandons abapical abasedly abashing abatable abatises abattoir abbacies abbatial abbesses abdicate abdomens abdomina abducens abducent abducing abducted abductee abductor abelmosk aberrant abetment abettals abet...
output:
ados asps prao cure rout thro
input:
keys 4 ados asps thro rout prao ados asps prao 28558 aardvark aardwolf aasvogel abacuses abalones abampere abandons abapical abasedly abashing abatable abatises abattoir abbacies abbatial abbesses abdicate abdomens abdomina abducens abducent abducing abducted abductee abductor abelmosk aberrant abet...
output:
password couthier password password
result:
ok OK
Test #2:
score: 100
Accepted
time: 894ms
memory: 46772kb
input:
password 1 quirkier 28558 aardvark aardwolf aasvogel abacuses abalones abampere abandons abapical abasedly abashing abatable abatises abattoir abbacies abbatial abbesses abdicate abdomens abdomina abducens abducent abducing abducted abductee abductor abelmosk aberrant abetment abettals abetters abet...
output:
keir kier ruer
input:
keys 1 kier ruer 28558 aardvark aardwolf aasvogel abacuses abalones abampere abandons abapical abasedly abashing abatable abatises abattoir abbacies abbatial abbesses abdicate abdomens abdomina abducens abducent abducing abducted abductee abductor abelmosk aberrant abetment abettals abetters abettin...
output:
quirkier
result:
ok OK
Test #3:
score: 100
Accepted
time: 906ms
memory: 46780kb
input:
password 3 aardvark aardwolf aardvark 28558 aardvark aardwolf aasvogel abacuses abalones abampere abandons abapical abasedly abashing abatable abatises abattoir abbacies abbatial abbesses abdicate abdomens abdomina abducens abducent abducing abducted abductee abductor abelmosk aberrant abetment abet...
output:
arak kava vara farl flow frow arak kava vara
input:
keys 18 kava vara arak vara frow farl arak kava arak vara vara kava flow frow farl flow vara arak frow flow kava vara farl frow arak kava vara kava kava arak flow farl vara arak kava arak 28558 aardvark aardwolf aasvogel abacuses abalones abampere abandons abapical abasedly abashing abatable abatise...
output:
aardvark aardvark aardwolf aardvark aardvark aardvark aardwolf aardwolf aardvark aardwolf aardvark aardwolf aardvark aardvark aardvark aardwolf aardvark aardvark
result:
ok OK
Test #4:
score: 100
Accepted
time: 934ms
memory: 46856kb
input:
password 10000 aardvark aardwolf aasvogel abacuses abalones abampere abandons abapical abasedly abashing abatable abatises abattoir abbacies abbatial abbesses abdicate abdomens abdomina abducens abducent abducing abducted abductee abductor abelmosk aberrant abetment abettals abetters abetting abetto...
output:
arak kava vara farl flow frow asea leva loge bass casa cues aeon anas nobs beep berm pree abas anon sand alba blip laic abed abye albs agas anas sigh abba able teal bate seat teas airt bota tori abba ices scab abba alba alit abbe base sabe beat cate debt moas nome seam ambo maid nada bead bend nude ...
input:
keys 60000 acne clan fees else cels silt sone goas nidi odic grog grig burs user disk kist daze izar soke reis game ragi mons nose foal loaf fell fila bris kits date dune calo clod sore sorn thae this laps flay echo bice seal leal deni sned clog role naoi odic firs fere side rees woof work vita viga...
output:
cleaning fleeches felsitic agonizes coincide frogging bruskest dinkiest arabized forkiest armigero endosome falloffs fallible briskest denudate canoodle conquers dashiest flypasts bioethic carrells dextrins cloggers fricando filarees dressier formwork aviating dogeship arousals celestas buttocks epi...
result:
ok OK
Test #5:
score: 100
Accepted
time: 957ms
memory: 46776kb
input:
password 10000 fucoidal fuddling fuehrers fuellers fuelling fuelwood fugacity fuggiest fugitive fugleman fuglemen fuguists fulcrums fulfills fullback fullered fullface fullness fulmined fulmines fulminic fumarase fumarate fumarole fumatory fumblers fumbling fumeless fumelike fumettes fumigant fumiga...
output:
clad cuif foal find gulf lung fehs fuse rues flus refs slue gill gulf lieu fowl lode loof fiat tufa yuga feus fist site etui gift give elan glum mage genu glue mule gift tugs tuis curf flus ulus flus luff lull balk cull flab fell fuel rule caff calf luce flus lens lune lien meld mend fins lues semi ...
input:
keys 60000 rant iris heir tiro brio boll pope poon lops pose perk trop simp dose boll bole vrow rode roam flap amie mike gits sori prey pule tori vino hypo paps watt anna gins wing rear lire anil ulna ends diel eyen erne cans sent tire dupe torr pose moil loti mabe noma alec call pree rems ants taut...
output:
inertias hitherto hornbill proponed pollster pokeroot imposted overbill overword platform maverick outrings plumbery inventor pansophy nanowatt knowings realiser quaintly linseeds greenery notecase pictured posturer milkwort moonbeam rectally presumer nutmeats legality hidrosis panderer haunches ove...
result:
ok OK
Test #6:
score: 100
Accepted
time: 970ms
memory: 46828kb
input:
password 8488 redounds redpolls redrafts redrawer redreams redreamt redrills redriven redrives redroots redrying redshank redshift redshirt redskins redstart redtails redubbed reducers reducing reductor reduviid redwares redwings redwoods redyeing reearned reechier reechoed reechoes reedbird reedbuc...
output:
rode sorn suer poll rope sord east reds rets dree drew weer rear same seam deme mare mate errs lies sell nide rend vier dees dire vees dorr odes soot edgy gyri nide edhs haen sank erst fehs tide dish shed thir ired kirn sned dart ears rest ears lier said deer rudd rued dree ecus rees cued dice rued ...
input:
keys 50928 vies ores sate sere ours sour veil nets roar vair nurd pirn ramp drat mess gien wept frow tups sues swig gaen yolk lock fold leud mawn amin goal loss fire five sers tine pule puss toro arty wale sole hens tret fact cite saga laws aper roar sank cain tels else nubs suns idyl dink peer ares...
output:
voleries serenata survivor veinlets variorum underpin tampered seemings wetproof subtypes resawing rollicky souffled whamming soilages revivify sinister spicules rotatory wailsome strength trifecta scalawag warpower snacking shtetels sunburns unkindly spreader uprushed remotest wastries shitakes scr...
result:
ok OK
Test #7:
score: 100
Accepted
time: 893ms
memory: 46784kb
input:
password 10 clumsier accursed dovening electron ruddling roadshow tabooley eugenics meristic nebulose 28558 aardvark aardwolf aasvogel abacuses abalones abampere abandons abapical abasedly abashing abatable abatises abattoir abbacies abbatial abbesses abdicate abdomens abdomina abducens abducent abd...
output:
elms lire rims dure scud user dive gied neon clon clot leet dirl guid nurd rods shod show abye bate lobe cees gene unci mice mist reis lobe seen sole
input:
keys 46 scud dure lobe bate sole seen shod show dure scud elms lire bate abye rims lire lobe seen mist reis neon gied abye bate dure user elms rims clon clot user scud neon dive shod rods dirl nurd clot leet lire elms gied dive rims elms gene unci user dure gied neon cees gene dive gied show shod lo...
output:
accursed tabooley nebulose roadshow accursed clumsier tabooley clumsier nebulose meristic dovening tabooley accursed clumsier electron accursed dovening roadshow ruddling electron clumsier dovening clumsier eugenics accursed dovening eugenics dovening roadshow nebulose ruddling meristic ruddling mer...
result:
ok OK
Test #8:
score: 100
Accepted
time: 894ms
memory: 46780kb
input:
password 100 bandying travoise wattapes moonfish guruship reground canvased undenied areolate choushes angakoks replicas widthway pitchout noumenal skeining reshines invokers golconda unchokes slowworm peplumed captious glochids longeing spectate helicoid spongily donators bunchier strummer unsolder...
output:
band gain yang arvo rive tsar pate taps wast fino fons mons hugs pish ship doge dung ergo aves cade dens deni dune need lota rale reel cosh hush sues kaas snag snog carp lace pail dawt dita thaw itch pout topi loam lone ulna gens kegs sike hins resh shes eons kirn voes clog dago loco kues nosh soke ...
input:
keys 313 fons fino jube juba drug dung need dirt semi mite poms posy teds tret troy yawl life lits most mist haps ansa bios kobs oust riel halm hame tops taps rete reek hogs chid juba jube ride bile pirn pegs gone togs hush sues ados oast kegs gens dogs posy jube mabe lace carp seat tils tats tret l...
output:
moonfish jambeaux repugned trendier yummiest gypsydom striated outlawry leftisms mosquito hardpans bibcocks outliers fishmeal captious treelike glochids jambeaux cribbled respring nonguest choushes donators skeining gypsydom jambeaux replicas ventails striated areolate treelike donators brougham bun...
result:
ok OK
Test #9:
score: 100
Accepted
time: 907ms
memory: 46780kb
input:
password 1000 idealist xanthein reworded hopheads scutters beakless charkhas gaywings footpath tonearms extremes mortuary journals hominids notchers variorum wangling arousing curacoas tellable fellator muenster flatuses canzonet biasness reremind ectozoan graftage typhonic masthead scholars amygdal...
output:
dies ilea ties ante exit next eddo redo reed ados pehs sped cess recs rets beak lass sees cars casa sark swag swan wing hoof otto poof rams some tors mere seem tees mart roam taro roan saul sorn dish ohms shmo hons shot tern roam roar vair lawn ling wain anis gran sour arco orcs rocs bate blet tele ...
input:
keys 2230 suit user libs bill naoi pins isle piss spot toll apod pond dram daff weir rede bask swab scad bras tire eros vane line star torc gran anis libs sill peep pine nerd durr eves rees gies lies sene sent sike dome list sins lase shea meal lied maud ulan edge grid sals ills seat tens tree term ...
output:
sturdied sibyllic appoints slippers pullouts canopied affirmed richweed sawbucks carbides ripostes novalike cryostat arousing sibyllic peperoni trundler verbless espiegle descents misyoked tintless caliches imbalmed ladanums rerigged salliers antsiest eremitic botanize reaginic apostles couloirs eye...
result:
ok OK
Test #10:
score: 100
Accepted
time: 934ms
memory: 46776kb
input:
password 10000 parrying wayfarer resodded trounced fumbling outvaunt dealated flappers canonist eggheads roughage intoners totalism lobsters soundmen toothier implores revamped foreword floccule glossier slideway bottlers expiates mephitic erratics overcook kipperer wickiups rescuers fauvisms tyrami...
output:
airn gran ping fear wear yare ores redd rose corn cote node bung gulf numb aunt nova taut dele delt tale ares arfs sale otic taco tics gads gash haed hear rhea urge noes rets tors salt slam toms bolt rots stob doms duos neon riot tire tore pore pose riel dree made pear food odor rode cole fuel luce ...
input:
keys 49151 wite wits suit sext cues ecus plot long sene gent seem casa vagi vina into anti vees tegs eses oses derm dree hent lunt macs scam code cony scot cloy yins cony lock yuck lays raya pare cete bota sort fess foss pial laid flee leer nark earn bran rebs sord ouds tali alae curs recs epha dace...
output:
viewiest bauxites hocusses toppling genettes amesaces gingivae adnation vestiges essonite numbered hazelnut massacre convoyed cytosols acyloins mullocky arrayals accepter abettors sulfones dappling refelled kaiserin brechans dolorous fayalite surfacer capuched weeniest carbaryl clinched followed sca...
result:
ok OK
Test #11:
score: 100
Accepted
time: 880ms
memory: 46888kb
input:
password 10000 inertiae satiable riverbed defeater coffling sucroses nonbeing martagon birdcall cumberer octuplet befitted witchier faithing euphuism disunity meathead musician currants basilary erepsins fluorine ripostes mesnalty downhaul squarely conjoins sweatier outlined enchants extincts lifele...
output:
ante rant rite bale blat sati brie deer dire raft reft trad coil coin fino cors cure cuss ebon gibe neon gran grat tarn bard dill rill bree burr curr cole cote lope diet dite feed cire heir thir fiat ghat hang push simp umps duns tiny yids haed math meed amus cans scam arts tarn ursa alba lari rays ...
input:
keys 1 kill inly 28558 aardvark aardwolf aasvogel abacuses abalones abampere abandons abapical abasedly abashing abatable abatises abattoir abbacies abbatial abbesses abdicate abdomens abdomina abducens abducent abducing abducted abductee abductor abelmosk aberrant abetment abettals abetters abettin...
output:
unlikely
result:
ok OK
Test #12:
score: 100
Accepted
time: 939ms
memory: 46784kb
input:
password 10000 biunique chinning chowchow civility cyclicly diacidic dibbukim diluvium divvying dizzying exceeded exiguity expellee finiking fizzling frizzily froufrou giddying gimmicky gingilli haggadah henequin heniquen higgling humidify illiquid infinity infixion jingling jujutsus kickback levell...
output:
bine quin unbe chin chin chin chow coco coho city clit tivy illy lily yill acid cadi caid dumb imid midi imid mild mild ding ding viny nidi nidi zing cede deed exec etui exit yeti peel peel pele fink gink king fizz ling zing fizz friz liri four roof ruff didy didy nidi icky immy mick gill ling nill ...
input:
keys 60000 haar read more roam sign snot daze zein wall wawl rope erne sole cloy girl gene ling bine grit iris cuke husk zori mime ping chip sain airn gars sari nabs rubs nite even baba birr rile fley fugu life sees ever vill virl gaen agin cork arco robe rhea lace ceca yowe yowl sews hies inch ghat...
output:
hardhead armourer jingoist anodized willywaw pyroxene cymosely creeling bemingle stirring buckshee memorize pinching harianas grazioso suburban genitive barbaric frenzily guileful reserves livelier behaving drammock abhorrer caecally mellowly whiskeys catching coldcock covetous tittuppy sailfish hic...
result:
ok OK
Test #13:
score: 100
Accepted
time: 905ms
memory: 46892kb
input:
password 10000 biunique chinning chowchow civility cyclicly diacidic dibbukim diluvium divvying dizzying exceeded exiguity expellee finiking fizzling frizzily froufrou giddying gimmicky gingilli haggadah henequin heniquen higgling humidify illiquid infinity infixion jingling jujutsus kickback levell...
output:
bine quin unbe chin chin chin chow coco coho city clit tivy illy lily yill acid cadi caid dumb imid midi imid mild mild ding ding viny nidi nidi zing cede deed exec etui exit yeti peel peel pele fink gink king fizz ling zing fizz friz liri four roof ruff didy didy nidi icky immy mick gill ling nill ...
input:
keys 10000 away weal lien sine lyse bels wide nodi piki pork yins yips solo lost code kudo mere temp done eide ribs bris ward weer naps rasp daut cant clan nary oath hant bora barb shes hued mina akin cere etch aryl loon uses loss dell eddo wine hire yips gins dhal dyad hoer cord oses best pent rete...
output:
wellaway wiliness bellboys windowed pirozhki opsonify axolotls cuckooed temperer deionize brisling rewarder parasang dutchman carnally tithonia gabbroid squushed mannikin entrench nonroyal soleuses dolloped whinnier gypsying ladyhood crotched bossiest unexpert overseer wineskin mandarin bryozoan air...
result:
ok OK
Test #14:
score: 100
Accepted
time: 935ms
memory: 46780kb
input:
password 9998 sacredly yeshivas tattiest diluvian conjunct crumbers lambasts pupilage leggings dispirit galleass deserver shutting schmucks bitching methanol prefects floppers untended usurpers trundler syringes lambency skylines intender disclaim reanoint recoiler tincture feminize vicomtes moistur...
output:
arse dear real eyas hive says stat stet ties diva laid laud conn cunt noun cure rues rums lama lams slab gale plea plie engs isle lies dipt pits rips ales alga lags errs reds vees hisn ting ughs cusk cuss mush bint inch itch ante halt loam free pets rete froe pepo peso dunt teen unde pure sues sure ...
input:
keys 40537 shah said neon firn sows oohs vide irid koel core seis piki wild deni giga wail ides tire fret fete ties weir tern here cess ossa bads mobs bels sego eras airs wary wady dill loci blub gulf lags sail bulk yolk ambo hoar rail virl fans fens pepo pole cull cell nest ones ells lies supe duns...
output:
headship infernos showoffs viverrid rocklike pliskies dawnlike waggling disputer efferent retwists retrench solacers gambados lovebugs dismaler cityward collided flubbing anglings bullocky bathroom nonviral deafness repeople coquille bonesets soilless unpoised thronged vitiates picquets derating pli...
result:
ok OK
Test #15:
score: 100
Accepted
time: 944ms
memory: 47192kb
input:
password 9997 imperils gunfight beladies fatstock nonionic oblongly mensural bolognas gleaners ascetics midterms windsurf aweather groschen priedieu sporular unsonsie evulsion shogunal cardioid mortises lapidify intrudes opposing rooftops snippier adultery meteoric mestizas gainless shoptalk ceiling...
output:
emir lipe miri gift hunt nigh dale lase slab fact scat tack cion icon noon bolo bong only maes mels menu boas bola long agee eras slag ceca east scat derm dire mime ruin urds wins heat twae what eons gosh rhos eide reed ripe alps lars upas ions sunn suns lens levo viol hang hugs lung arid caid dido ...
input:
keys 41296 bene ween aunt unit nils suns zing gain pion lion opes veer nett omen east heel tela ilea awry days both hose ewes sere lorn lint area tare hame yipe seal gest bulk buck soar rocs snap spin moos shoo sati bits aril vile skis suit sing sine anis anus tees scat tics nisi dere reds stoa nods...
output:
wobegone nutating skinfuls agnizing poppling reproves monteith athletes litigate haywards biotechs screwers nitrolic gastraea hyphemia otalgies blackgum raccoons spamming homologs satiably lavalier duskiest sniggers quinnats clearest niceties demireps mastodon talesman floppers tapeless steroids ren...
result:
ok OK
Test #16:
score: 100
Accepted
time: 925ms
memory: 46888kb
input:
password 9999 flitting perigons andirons torosity valuable prickles kismetic gomerils motivate cocksure albumins triplite epicarps honorand spending clinched copilots misbound furcated smellier tectites seriated yestreen phenetic drinkers caudally defiling easiness huisache rouleaux deadhead cleanes...
output:
lift lint ting peri pigs pons anon nori sari oots tits toys alae lava veal leks lier reck cist stem tike egis soil some item matt moat cock ruck rues aims alum lams plie tire titi apes peri race hoar noon road dine dins sipe hide lend lien cots loop soot nous snob sumo dare frae tear mere mils sell ...
input:
keys 41858 guns sone gads mads ring dreg stun less zone coin mids mild nide bide nota pins calm coat rite rile ilia rail sera arse seat stew lars regs tins sill dins owns gars gats sari anon jade aced gabs buns grig migs peri puss sore redo also rots loca sook guid bunn laic chia semi sell lept lars...
output:
enginous grandams rehinged unsteels zecchino midlives benzidin satinpod compleat slitters critical ensnares gateways regalers niellist disowned starring andirons jaundice gunboats priggism spurries scorched althorns woolsack bundling chalazia mesially sceptral impledge pygmyish paradrop dactylic sig...
result:
ok OK
Test #17:
score: 100
Accepted
time: 933ms
memory: 46780kb
input:
password 9998 enneagon ungotten electors applique delights vibronic foothold sappiest wheedled detruded databank melanoma ironware starkers witherer walloper mitogens stiflers foreside semitone johnnies conceals sublunar recusals aldehyde leprotic ptomains linkable antitank insurers reshowed caruncl...
output:
agee gone nona none note unto celt rees seel lipa pial plie eths legs teds brio cion corn dolt loft loof apes pate sets dele weed whee duet reed turd data kana taka alme mama mome aeon aero airn arks eats sera tire wite with lope rope wale gems nits some fils isle lets dies firs reis mons sine stem ...
input:
keys 44951 kore oink acme aces rest user veil eels haik haji lion ogle chop proa sons bens here less kite tens tuns mist reef meal toms orts alee belt sord oots beef fere nest ante shag gums lies sole alme mair sole cels lido load legs mels feet foes sice hisn rees ires weds wyes mopy seem hero erns...
output:
einkorns calomels truckers swiveled highjack eloining reproach subzones shelvers trinkets luminist preflame motorbus citeable odorants forebode gantlets mahuangs polemics amitrole floccose cuboidal beglooms oftenest fuchsine versines dyeweeds employes unhorses everyman empurple premixes commoved sli...
result:
ok OK
Test #18:
score: 100
Accepted
time: 919ms
memory: 46848kb
input:
password 9995 hatching liturgic ravagers defrayal whickers lockstep mufflers zoogenic repairer multiped beclouds demising steading bodysurf balloter mousings xanthoma directer chancels linguine bandages cajolery despited littered finances fontanel impaling paltered messiahs backlogs pedicure trithin...
output:
chia gait hant curt gilt iglu ares aver rare lady lear raya heck shri sick clop slot toke fems flus merl coni once ooze pare peri pree item lipe mild bode bods luce digs dims mind gied sate send buoy busy sord blet blot bora smog song suns mano moat moxa cete cire dice clan haes leas gien lien lune ...
input:
keys 48114 that lats soul muni ones sice bark tsar wogs swig rent hint fuel yell roto worm roil troy kino kink noms eons euro howe tate aide orad nerd tone hets eyra mask yean agee rete tace aals gals blob lino ruer ruin fife lief ecus tews bite reft idly idyl stem emeu tons join laud seam rias tart...
output:
lathiest luminous isogenic outbarks showgirl thornier bellyful wormroot torridly knocking jobnames roughhew staidest pomander ethnoses kerygmas greenway carotene salvager bobolink reinjure rifflers crewcuts fireboat lividity muteness disjoint muscadel tsaritza peatiest coadmits sisterly crofters vin...
result:
ok OK
Test #19:
score: 100
Accepted
time: 948ms
memory: 46788kb
input:
password 9995 bribable confrere cohoshes whoopers subspace arenites tinniest tornados kolhozes longeron octonary werewolf shoveler anodized announce reniform haploidy defoamer prelives tamboura fleshpot peponium fanworts refrying stobbing fathered horsecar disposal clobbers slippage coquitos trample...
output:
abri bier real cere cero once cess hose shoo hows phew whop apes cube seas eats rani sire inns nest tent dost nard rant look okeh oleo glen gore lone ryot tora toro feel lore were eves hoes role daze done zein acne anon unco emir neif omen dahl hila load deer fado road lire pile pree abut atma mort ...
input:
keys 59872 ties dies wary bare dear lone nome noes coss list tens rise perm peer scat cans snub muns deck cete luge delf emeu mure ager aged suit urus ague lees oxim noma tail gilt tops post eons amen spar gals bare tuba egos hent some obis teas goas birr bort perp reps flag ling dree care gnus dens...
output:
idealist waxberry banderol daemones solecist internes perineum cabstand dumbness kvetched gulfweed mutineer gandered virtuous fuselage monaxial tallying oviposit jobnames grapples tabouret histogen embodies agouties ribworts prepense flailing cravened gudgeons hunkered glassier outliner hooklike sli...
result:
ok OK
Test #20:
score: 100
Accepted
time: 947ms
memory: 46780kb
input:
password 9997 coleslaw rikshaws intended rondeaux dendroid footling tackling shittahs beaklike unpacker bearhugs misthrow sphinges franklin terrible somebody firetrap peasecod leukosis ferruled subgraph grizzles oversize argentum didactic buckbean previews driveway allovers sailorly flavorer cycling...
output:
clew lacs lose hark sark skas deet tied tine axed dean duro doer ired rind foot golf long akin link nick shah tass tats balk kail leke aper rank ruck rash regs urea mots roms shri gips hens pine kain knar rain beer leer lier boos does dome fiat pate tref code dose seep kois less okes dure fled leud ...
input:
keys 59908 gulf furl plus moms noes toes iron grin digs rind fley rile legs gist tola lats cute dace rite feat vise save dint dens nema yean mill film dong gunk ties sift neem neon achy case wind edge dart dirt mete seed hive vise dies sees dart date nils noir cero cole pies pets wars more odds bids...
output:
wrongful pummelos concents gridiron darnings frenzily settling woolhats outacted craftier achieves nitrides cyclamen flimsily drouking beefiest envenoms hackneys bewinged carditic esteemed vixenish misdeeds crenated rosinols colander dippiest woomeras disbound peacocks trawlnet meatuses tenderer con...
result:
ok OK
Test #21:
score: 100
Accepted
time: 936ms
memory: 46896kb
input:
password 9989 manacles pastromi squarely fetterer anatoxin bilberry demagogs libelers scarphed berretta birdings diapered evincive mannered unfilmed misprize strikers abductee ovariole eyeholes clotting wooingly locutory doorknob pitiless extruded repugned quiniela heroizes ravagers crispers sixpenn...
output:
amen anas seam atop mats rats aryl quey year fret tref tret anna axon naoi bile brie riel mead soma some bees leer rise carp edhs raps abet beet tate dibs nidi rids aide died pied cine nice vine amen derm earn film lune menu ires rims semi ires kris skis cede dace tuba oval rale rive hole leys oles ...
input:
keys 59915 revs vive fehs erst mels mina calm sass mine cire recs sues pika leas dens dons shin guns sale rest cuss spic rato slot brio robe robe moor emit hest grog rues aryl ally asci cate scot kors muns nuts erst tare lari arms uvea dure lane sels ulan utas guns sick keto work hots rods pyin inch...
output:
aversive redshift melanins classism sermonic cornuses soaplike swounded huntings slathers specious dilators reobtain foreboom meshiest gorgeous phyllary scantier brockets augments drafters oralisms favoured haleness nautilus kingcups kotowers hardtops punchily dindling coniosis knitwear shkotzim run...
result:
ok OK
Test #22:
score: 100
Accepted
time: 939ms
memory: 46856kb
input:
password 9992 seatwork hominian liqueurs clomping repliers hulloaed fallowed dialyzed fireless vaqueros neumatic creamier moneyers hilliest cravings quezales reenacts myrmidon hacklers morainal inbursts headland motility handbell consumed enduring counties herrying faltboat feldsher blowiest robotic...
output:
seat star toes mini naoi noma leis lieu reis cion clog milo lies lipe rise dhal hall lead lade lewd owed aide deil didy lies rile seif aver ours suer nema time unai cram mair rice omen roes snye hilt lest slit nags rani vars ease lues zees ante sera tare immy mind yoni earl hare rash limo mana rami ...
input:
keys 59935 aery trey oral roil elmy eely sett teth cook okra eger berg fido ford isle heil pour pois prat tall brae dore rube robe deme dram nail naif naos nobs emir merl mirs suit syce deys leis lins sits isms mail land pyic inky tote torr grat eath acre rete pula slur rape vars whom whoa djin jota...
output:
retrally rasorial motleyer attaches jackaroo begetter outfired chalices provirus trapball fordable burrower dreamier blackfin baroness impeller mistruth cussedly licenses mistiest mandolin picnicky stertors shortage execrate larkspur parvises hawkmoth adjoints ballyhoo gharials escapers airsheds tup...
result:
ok OK
Test #23:
score: 100
Accepted
time: 937ms
memory: 46832kb
input:
password 10000 tornados overwise martagon pleasers doggones photonic monishes affirmed monogamy timorous coinvent prodigal misstart kailyard decreers chabouks agronomy grossest movement medusoid floccose caecally arenites gabelled fervency tableted marasmus cowberry brokages supermom bellbird outspa...
output:
dost nard rant roes vies weir gran grat tarn lars peal saps egos ends gogo chop coop phot hone ions shim daff dram mair goon mayo ogam outs stum tori otic vent vino dago gaol glia amir amis mitt idyl lira raki cere dees reds cabs cubs hack gnar gram moon eros rets sots omen tone veto demo duos sued ...
input:
keys 59903 froe cors naoi nobs toil deli tree dure cove nene abye bate skeg kegs curf lehr moss oses peen anes yoga atma gave cave sets oohs gleg legs gaol anil dole sild hies elhi ceil rely coon chon acne easy rent iron alum haul odor cord ares sore lame olea hide shad work rock lear rend bail alba...
output:
frescoer nabobish holytide curveted convened tabooley kennings cheerful oxysomes eupnoeas autogamy cleavage soothers gigglers polkaing soldiers chillest glyceric schooner cyanosed thornier haulmier trochoid oversave tomalley banished cockcrow antlered albizzia corbinas motordom backwrap moronism cus...
result:
ok OK