QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#503769#4066. Best Relay Teamxiaowuc1AC ✓19ms4100kbC++171.2kb2024-08-04 01:05:272024-08-04 01:05:29

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

6
ASHMEADE 9.90 8.85
BLAKE 9.69 8.72
BOLT 9.58 8.43
CARTER 9.78 8.93
FRATER 9.88 8.92
POWELL 9.72 8.61

output:

35.54
CARTER
BOLT
POWELL
BLAKE

result:

ok 

Test #2:

score: 0
Accepted
time: 0ms
memory: 3864kb

input:

9
AUSTRIN 15.60 14.92
DRANGE 15.14 14.19
DREGI 15.00 14.99
LAAKSONEN 16.39 14.97
LUNDSTROM 15.83 15.35
MARDELL 13.36 13.20
POLACEK 13.05 12.55
SANNEMO 15.23 14.74
SODERMAN 13.99 12.57

output:

52.67
MARDELL
POLACEK
SODERMAN
DRANGE

result:

ok 

Test #3:

score: 0
Accepted
time: 0ms
memory: 3804kb

input:

10
QXBINSJS 10.91 8.16
WKN 18.65 15.09
CPP 16.38 9.38
KDNLKJMYIWFSGYWY 12.53 11.18
KXS 19.64 13.63
OYCJANFTSGQTZMIJD 16.16 8.32
ZKGNNS 17.32 16.16
LDOYLWRXVXAJEVDOWXNF 13.02 12.58
IVONUZJE 11.52 10.37
KMEVNRHQSQPUYEYBP 18.71 9.63

output:

37.38
IVONUZJE
QXBINSJS
OYCJANFTSGQTZMIJD
CPP

result:

ok 

Test #4:

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

input:

50
NQRETWHNHPNFJRQX 17.75 14.17
XNOZAXMWJJVYIJ 18.82 14.33
LOIFYRETR 12.58 8.17
OBPGBRGCAHIFI 18.06 14.78
MLIHYPDMNSBTOGKURJKK 17.94 13.46
BJXXZK 17.70 17.06
YPMHQJRO 16.92 11.93
NZWUAYAJ 17.82 14.18
SPJO 18.44 16.54
WUY 11.46 9.58
GJFKKOVLCMMMYEGCPJD 14.42 9.77
ORASNRAFQJMVERIJ 18.41 8.58
NVFTASEGL...

output:

32.87
UKKGPARAM
KSYJKULHLMTYCIRCOHJ
LJQLAOEHVCOAZGGG
XEYT

result:

ok 

Test #5:

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

input:

100
EBGYHBGOKB 14.67 11.96
GCDKVSCSF 9.53 8.21
TQVEKJRDEFNMNIM 19.81 16.76
QDZBM 17.84 17.08
PBHIBZLDNNXYLR 18.98 13.56
MGSTGBABAFJO 16.65 10.55
CIMXPXXENKWJEI 18.92 8.23
GDLLERC 18.21 17.76
XXDL 17.18 17.12
WUBLIIWTMKAFMUKAZY 9.75 8.01
AUQLQHCIYFFERCJMY 17.87 15.99
FEN 16.19 14.50
MJYONMWZ 18.80 10...

output:

33.63
GCDKVSCSF
WUBLIIWTMKAFMUKAZY
YLDHPSXYDU
OZJIPETNJ

result:

ok 

Test #6:

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

input:

250
KHJQWP 17.68 17.33
USINKQLYCNBQFUFVWMPU 11.93 11.71
OPLCXC 17.76 16.07
MMFHERJRGSWA 19.34 17.71
PJKATBSUINBDXNSGYI 17.36 10.50
RQAUKKYLQJHVLTKOG 18.73 14.69
HFSHHSYLJ 18.13 15.30
PRNTYGVZVZWGYQBK 9.08 8.24
TAJSELXKE 15.54 10.89
ASLPFIUNBCLF 16.04 10.28
GXYEFQEKLENPMTVUVW 18.38 17.01
LHGQJYSTXSNL...

output:

32.99
AHSGEEMSEMQBZFOHLE
DUW
ZXGHIGEBEQWTLQONDVGS
JQWBIYEUNAN

result:

ok 

Test #7:

score: 0
Accepted
time: 7ms
memory: 3984kb

input:

500
JNRNN 11.27 8.97
EZBL 17.56 14.56
MYJHOUG 13.49 9.83
KKFHMJSAPULLIRHAYYZ 16.59 13.07
RQF 16.36 13.32
LYRMU 15.56 11.05
YRUFWB 19.11 16.56
VZZZFIIGI 11.58 10.13
WLZWEZZMZRNRTOHNS 15.71 9.19
UIVACDOISDFU 12.85 9.00
LELDDYSXN 19.33 8.34
HCUJETOHTEDWFNPUT 12.49 9.03
JQDHCQH 19.69 15.31
WMILKOZFEDJYW...

output:

32.99
TEYNUVXXMNWJMMRUPGG
NUFTCYFISPUJYTS
LXDEECXTSHMORLJD
JXM

result:

ok 

Test #8:

score: 0
Accepted
time: 0ms
memory: 3804kb

input:

10
XTZKEF 14.60 13.24
ALCB 10.90 9.51
XKSJISLXFLM 18.37 17.93
IXFTLKZTQ 13.28 12.62
HWMWDMSBGXBCRVEM 18.15 17.64
BAMSIDFPE 19.10 17.93
MYYRTHBUCZFKWQMUWEMT 17.86 17.42
VQWRILWKYWKGTYGJY 11.34 10.85
EOTIULWMZBSWYJZFMVI 14.23 13.24
CCJZIMDCL 14.70 13.56

output:

46.71
VQWRILWKYWKGTYGJY
ALCB
IXFTLKZTQ
XTZKEF

result:

ok 

Test #9:

score: 0
Accepted
time: 0ms
memory: 3948kb

input:

50
JREIP 14.31 13.48
HCSQK 15.33 14.86
PFJPJSWAKLOCZZIEI 19.35 18.34
XPLNYLGMTLSYALE 19.83 18.95
HCT 15.51 14.91
ZLAUNKVZLDORHAZLR 15.22 14.73
NAAGSMRFVTTMJCLCDMQO 19.19 18.66
CFVUVFAFASIPRQLVFG 12.24 10.84
SAI 17.62 16.82
TFSNYKXVMKWJGXWV 13.39 13.37
AIOGLYFKSDAKLGVKAH 18.18 17.23
CKFZAMFGLPTFMEJPG...

output:

38.01
ERINX
OKKHJLK
DEIWOAY
KRWMNVSZ

result:

ok 

Test #10:

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

input:

100
EVCQJUXQTYZQ 19.78 19.03
KNY 9.72 8.36
MWLINRKKMYSGOHJ 10.49 9.33
TOKHKWRPSWJEPRHDQVVQ 15.61 14.44
VYGBUDZTGFMOSVAJ 12.29 11.82
MINYDSENEZDCJPFICX 16.08 15.09
SWAMWETUABYXVNO 10.42 10.10
ZSYMKFAPNNZTCOHDDZW 14.97 13.71
LCPGJDXEVYSHK 19.98 18.77
KPSIFLUHJGWUXKDRSJ 13.75 12.40
TREWJAQ 18.27 16.92
...

output:

34.84
CXFSWXDAUGPSWM
UREFRVOA
KNY
ACWYEYLEYXSHE

result:

ok 

Test #11:

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

input:

250
UMCDXRSLJN 18.55 18.08
RVPY 15.39 14.16
LNFLIPWFFYE 17.69 16.27
ZIIWHYGRHFMSC 18.58 18.44
IYBIZEESFXNKUTUBUTBU 11.10 9.60
CFXANCHYNTEGPMX 14.23 13.72
KTGOBPLGYPNRAANEVCV 13.12 11.72
CGFIHNDY 12.60 11.75
IKKDVDEHHAHHOEDFGOO 13.43 13.05
QDDOJIKMF 15.06 14.89
NMFSODZ 14.17 13.59
BQWJIKXPNAXK 10.23 ...

output:

35.15
QPBKMLHSTESIPQ
QZTC
SEVEJNAWOZWIX
QYXYAKAE

result:

ok 

Test #12:

score: 0
Accepted
time: 11ms
memory: 4028kb

input:

500
ZAQQN 16.34 16.02
BCORTGLKSHRLGDIHZKSZ 16.94 15.71
JCTHLYIVDZPA 19.67 19.43
ZRPKDOQB 16.21 15.92
UNVGGQNHBJQYVP 10.92 9.83
ZXIMKKFIYHCKGUMT 16.11 15.68
BUPEH 15.72 14.56
OBQZTADDCWX 14.52 14.16
ZJDVWKAMDKGJRIF 16.90 16.70
QMGXYIBRRVKHSNEEUPP 15.08 15.07
VIRHXFRKNRTQDVRE 15.71 14.90
WODKCFSVYH 10...

output:

34.32
YRKFNQNWPESTHVS
OSXAQ
CQSYMHXWSPJ
KWIEXTZWFQ

result:

ok 

Test #13:

score: 0
Accepted
time: 8ms
memory: 3856kb

input:

500
VPRLINXJGWCE 8.00 8.00
RLAUHLAUMZWHKQH 8.01 8.01
MRFOBN 8.02 8.02
YBAWYRWHQVR 8.03 8.03
URSBBZK 8.04 8.04
MUMX 8.05 8.05
ISAQ 8.06 8.06
SUFDJHWLCQ 8.07 8.07
ZGSJHZPPFZFXOUBSDSAO 8.08 8.08
UTYETOP 8.09 8.09
MZGWALYCUGZLHRSBL 8.10 8.10
NSAOYSJQXZBMINDU 8.11 8.11
SMQRTU 8.12 8.12
HGDSMSPPUSKJF 8.13...

output:

32.06
VPRLINXJGWCE
RLAUHLAUMZWHKQH
MRFOBN
YBAWYRWHQVR

result:

ok 

Test #14:

score: 0
Accepted
time: 9ms
memory: 3892kb

input:

500
HVRRKGMVJVXSSVB 8.00 8.00
JYBMV 8.01 8.01
XRMWE 8.02 8.01
CFTIGCO 8.03 8.02
UCFGQGXWVZFQJVFFHL 8.04 8.02
MAJKG 8.05 8.03
HDYYKHUUPDLG 8.06 8.03
BRQELXVWZDPYJXHTP 8.07 8.04
FLNPIYOWCXAJDHJZRL 8.08 8.04
KOJJAWLDH 8.09 8.05
AHPHPUHYBJYJPZDRXLQQ 8.10 8.05
QESBMGWDQQ 8.11 8.06
ARYCAZLP 8.12 8.06
VETP...

output:

32.04
HVRRKGMVJVXSSVB
XRMWE
JYBMV
UCFGQGXWVZFQJVFFHL

result:

ok 

Test #15:

score: 0
Accepted
time: 9ms
memory: 4100kb

input:

500
ANAQKFGBNALOUURVISFX 9.00 8.00
VDCRAXZNAMHK 9.01 8.01
BPABMJWDXFDJJRPKPWH 9.02 8.01
LRVHIPQH 9.03 8.02
SUOIIZMMSUTP 9.04 8.02
OQUVBHOFKDQQFVGOQR 9.05 8.03
NNATCUAHJENW 9.06 8.03
XWNW 9.07 8.04
DVGXWYUSSMWSJAAIHVB 9.08 8.04
TGSCLSQQGGIV 9.09 8.05
SFULHBRAWFKSCICSH 9.10 8.05
RMXPWZXELVTZCIKLBA 9.1...

output:

33.04
ANAQKFGBNALOUURVISFX
VDCRAXZNAMHK
BPABMJWDXFDJJRPKPWH
SUOIIZMMSUTP

result:

ok 

Test #16:

score: 0
Accepted
time: 9ms
memory: 3856kb

input:

500
VTQXPABHMG 19.99 8.00
COOGVYQTIZQLO 19.98 8.01
WGPVYTHKZTOW 19.97 8.02
GSMXNQMNXSW 19.96 8.03
IUFKGMTWQZARHDCHOHU 19.95 8.04
DCSDFABNRLEDWBC 19.94 8.05
ORVVHMQZNMMOPOSWQNPR 19.93 8.06
KIFUNYW 19.92 8.07
XDBFAVLCIEQZ 19.91 8.08
NYVWHPDNSLPOAP 19.90 8.09
VQSNHEXHRWAWMKDLVF 19.89 8.10
HPZGEGPFAODWC...

output:

39.03
DOBBRIQMDJLN
VTQXPABHMG
COOGVYQTIZQLO
WGPVYTHKZTOW

result:

ok 

Test #17:

score: 0
Accepted
time: 18ms
memory: 3960kb

input:

500
XLNHTDGLBWIAWJ 19.99 19.99
XYBP 19.98 19.98
FJTQOYJXTQPVDJSFZ 19.97 19.97
YYNF 19.96 19.96
XKCHPMEGAYLQ 19.95 19.95
QJTHWQDJAEUE 19.94 19.94
TSMDS 19.93 19.93
PUFRAWLTYBGUS 19.92 19.92
WSSRWUZ 19.91 19.91
ENQLOPGDNVKJ 19.90 19.90
FGTDJJQNWZDFCQFMVZEK 19.89 19.89
LKYGCPZI 19.88 19.88
OEQRZBLIRIS ...

output:

60.06
IOYBAEDMKSKO
GGURGO
NXZUEOA
BOHPBXMYSTFJUPUA

result:

ok 

Test #18:

score: 0
Accepted
time: 19ms
memory: 3868kb

input:

500
WGAV 19.99 19.99
OPXXDAOTIW 19.98 19.98
CGG 19.98 19.97
KJJBVXTCJURPASPNFWB 19.98 19.96
JUOMI 19.97 19.95
ZZGYPVHGKKSCITDQX 19.97 19.94
HBDHNKTIFXJCKS 19.96 19.93
WJAGVFYIFOAFFIYY 19.96 19.92
WNBZSBBGBZKJDDTJB 19.95 19.91
IYTLMMTPABWA 19.95 19.90
HCDPHUAV 19.94 19.89
DMTZSRAQWSTERXDSY 19.94 19.8...

output:

62.54
KPOGESXNFX
GLSPIDNWXVVFVJ
JFIIGKDTWYAOCF
VMMRLMHS

result:

ok 

Test #19:

score: 0
Accepted
time: 0ms
memory: 3776kb

input:

4
SHNFSI 17.18 10.56
JRCPIQRVRFXMUTHG 18.12 11.06
ZAFCONBNSPPTBVDE 18.64 18.35
YMGWYWPJPQZCJXZIJOJA 18.19 11.38

output:

51.64
ZAFCONBNSPPTBVDE
SHNFSI
JRCPIQRVRFXMUTHG
YMGWYWPJPQZCJXZIJOJA

result:

ok 

Test #20:

score: 0
Accepted
time: 0ms
memory: 4036kb

input:

8
BAKEAXJX 17.60 14.17
BGZVQXXJJBCUWCTOP 17.53 11.78
CNZFH 15.36 10.00
DXEYSRUJPVT 19.90 18.95
HJBWIDBHYCNIBVN 17.60 10.30
DBZNGSJPLDXHJWVZGIV 15.68 12.85
YPIFKGNDHNV 19.78 13.67
ZIRGFQEJZ 17.08 15.06

output:

47.76
DBZNGSJPLDXHJWVZGIV
CNZFH
HJBWIDBHYCNIBVN
BGZVQXXJJBCUWCTOP

result:

ok 

Test #21:

score: 0
Accepted
time: 0ms
memory: 3944kb

input:

5
DSMAOYGX 17.19 11.61
KZJXULERHDCAKAPTND 17.91 11.52
YKFNISEDRGHLJSEQDW 14.97 11.73
SVVPNJOTAKF 9.97 8.79
WQKYUMVAGEDEDLNN 19.97 11.76

output:

44.83
SVVPNJOTAKF
KZJXULERHDCAKAPTND
DSMAOYGX
YKFNISEDRGHLJSEQDW

result:

ok 

Test #22:

score: 0
Accepted
time: 0ms
memory: 3804kb

input:

5
PQWPHNBEF 13.31 13.10
ZCZAZGGCKIYRGQOQH 15.60 11.08
LXFHUJZDAMXTDQVF 19.73 17.84
SQXZT 9.49 8.67
JNCVJS 16.31 11.08

output:

44.14
PQWPHNBEF
SQXZT
ZCZAZGGCKIYRGQOQH
JNCVJS

result:

ok 

Test #23:

score: 0
Accepted
time: 0ms
memory: 3904kb

input:

6
LUPUZSWG 12.31 9.15
TWSMDBFOQ 16.85 16.28
RFZOVKJYV 18.47 8.57
XSNJXKLXUILWZ 16.30 10.84
JKHIFFCBLTSKRUG 16.61 12.97
ICRYQEDQDDJK 15.42 13.88

output:

43.98
ICRYQEDQDDJK
RFZOVKJYV
LUPUZSWG
XSNJXKLXUILWZ

result:

ok 

Test #24:

score: 0
Accepted
time: 0ms
memory: 3900kb

input:

4
PICKUAKDSZMIIMSF 15.10 12.20
BIFREMDTVXDSVSJW 14.76 10.23
ZDWYIKSQUBXXBI 18.88 16.04
GRQYOHYQVYFNAEMBLMD 12.23 9.16

output:

50.47
ZDWYIKSQUBXXBI
GRQYOHYQVYFNAEMBLMD
BIFREMDTVXDSVSJW
PICKUAKDSZMIIMSF

result:

ok 

Test #25:

score: 0
Accepted
time: 0ms
memory: 3832kb

input:

7
WGZTXPRDJXDXFIOKN 12.52 8.03
AFSSEPYKGPOUXEANABB 17.01 11.02
WFUBCGKUVHMJRGJDZ 14.91 10.24
HUZBCERDAOAMOKPJH 17.83 8.24
CDKKETOYVBTAYQYJ 17.53 15.50
FRTDNKLAKYFAISXSZB 12.49 11.51
TDSJRMH 16.89 11.85

output:

39.00
FRTDNKLAKYFAISXSZB
WGZTXPRDJXDXFIOKN
HUZBCERDAOAMOKPJH
WFUBCGKUVHMJRGJDZ

result:

ok 

Test #26:

score: 0
Accepted
time: 0ms
memory: 3752kb

input:

6
GKXGCALTCNUYHKLNMYIS 12.49 11.90
ASKLTCVBPNS 19.55 10.03
GDXPPJDSJZQJ 18.95 18.59
TSKZZCKALEKAOBHDVD 18.62 10.63
EEXOCWQRDJ 16.29 12.20
ETKSIDWDD 12.54 9.41

output:

42.56
GKXGCALTCNUYHKLNMYIS
ETKSIDWDD
ASKLTCVBPNS
TSKZZCKALEKAOBHDVD

result:

ok 

Test #27:

score: 0
Accepted
time: 12ms
memory: 3880kb

input:

500
BEST 8.01 8.00
SECONDBEST 14.00 14.00
JMBCIRVTIHVRKRZZTXSD 19.98 14.99
QQYBKUPSWYKJCUODUSMA 19.98 15.00
RJZMGLUWHOJBLQGIUWZD 19.97 15.00
SDXSREPINWTZWKISTRZX 19.97 15.01
PARRKIWDYWPWBRAYSZHX 19.96 15.01
WWNUNRIKWIOPRDKSEAMR 19.96 15.02
SCRLHRYKRKHKFZMQOAJA 19.95 15.02
RBRRPNIUSNXFMUDUNNNN 19.95 ...

output:

51.99
SECONDBEST
BEST
JMBCIRVTIHVRKRZZTXSD
RJZMGLUWHOJBLQGIUWZD

result:

ok