QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#150108#5603. Three DiceHuangHanShengWA 965ms11700kbC++204.5kb2023-08-25 15:14:392023-08-25 15:14:43

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 1ms
memory: 11476kb

input:

3
lad
fin
sly

output:

fdypgh manskc lojibe

result:

ok correct

Test #2:

score: 0
Accepted
time: 3ms
memory: 11672kb

input:

1
dad

output:

0

result:

ok impossible

Test #3:

score: 0
Accepted
time: 111ms
memory: 11700kb

input:

11
aft
cog
far
irk
kit
yes
tau
rag
own
uke
via

output:

saokbd vrecnt uwgfiy

result:

ok correct

Test #4:

score: 0
Accepted
time: 1ms
memory: 11468kb

input:

20
aah
aal
aas
aba
abo
abs
aby
ace
act
add
ado
ads
adz
aff
aft
aga
age
ago
aha
aid

output:

0

result:

ok impossible

Test #5:

score: 0
Accepted
time: 2ms
memory: 11476kb

input:

23
abc
acb
bac
bca
cab
cba
abd
adb
bad
bda
dab
dba
acd
adc
cad
cda
dac
dca
fgh
ijk
lmn
opq
rst

output:

0

result:

ok impossible

Test #6:

score: 0
Accepted
time: 2ms
memory: 11416kb

input:

24
abc
bcd
cde
def
efg
fgh
ghi
hij
ijk
jkl
klm
lmn
mno
nop
opq
pqr
qrs
rst
stu
tuv
uvw
vwx
wxy
xyz

output:

0

result:

ok impossible

Test #7:

score: 0
Accepted
time: 312ms
memory: 11480kb

input:

121
lax
tog
taj
fun
get
jar
fez
own
now
gut
gul
ark
fax
new
meg
fen
fog
log
lez
gum
kor
leg
not
rug
fug
lag
kit
urn
gal
nam
gar
jew
rex
rin
ant
gam
mun
jam
nil
gem
kir
ilk
jut
ern
man
mon
awn
mig
mix
wag
erg
gor
fig
run
nim
raj
fix
elk
nom
wig
gat
nor
jow
fag
jaw
kaf
rig
fin
kat
rag
mag
won
wog
wan
...

output:

rfmwlt xgjznk aueyio

result:

ok correct

Test #8:

score: 0
Accepted
time: 533ms
memory: 11500kb

input:

149
pic
twa
cub
wag
spa
til
two
pyx
pis
tew
vug
cig
pul
vig
pol
tow
tis
sub
pew
sty
eld
gas
pes
guv
bal
dol
lob
sot
sap
cob
ply
tic
taw
wit
bow
lad
gal
cup
cep
pax
lab
bys
sup
psi
pox
ops
tel
dex
veg
lop
vat
uts
ods
ups
wiz
lit
gox
wud
cad
sod
cud
dev
paw
pac
dow
wig
gul
zax
sob
set
lag
lip
doc
bos
...

output:

tpzgdb ayeiou wsxcvl

result:

ok correct

Test #9:

score: 0
Accepted
time: 923ms
memory: 11668kb

input:

97
fub
tav
seg
box
tas
ski
bin
six
syn
fas
sag
neb
sot
jog
gab
van
vug
zax
ban
fob
ons
ask
zit
jot
zin
jin
fiz
nob
jut
fez
beg
vet
sox
kos
gib
sit
sat
bun
bot
son
ifs
ens
but
fib
ins
bug
big
sen
vig
tab
sex
zig
ben
sin
efs
kas
kob
nos
zek
nab
qat
xis
gob
guv
set
its
bag
sun
veg
zag
uns
tis
sty
ska
n...

output:

xgtknf iyaoue vsqzbj

result:

ok correct

Test #10:

score: -100
Wrong Answer
time: 965ms
memory: 11460kb

input:

150
jug
nit
hen
ant
imp
men
ply
pam
pah
awn
jig
god
pal
pet
gan
put
jet
dol
zag
tap
ted
lip
dah
lez
tad
pom
dom
dig
pul
hup
mod
edh
poh
dow
lop
old
wan
hap
wed
gin
tup
paw
tod
wiz
nil
ton
nom
tan
hun
hin
apt
mop
daw
pol
ump
noh
pew
pot
wap
hid
nut
map
lap
gun
tun
nam
gip
won
nag
eng
wad
own
zit
mon
...

output:

0

result:

wrong answer ! got 0 for impossible, but there is a solution