QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#464665#4525. Colorful Tribune / Colors on a StadiumHuangHanShengAC ✓15ms3736kbC++20869b2024-07-06 13:30:472024-07-06 13:30:47

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 15ms
memory: 3736kb

input:

3
AJB
BAX
XBA
4
ITQB
TQDI
QDIT
DITQ
5
ABSGE
GABES
SEGBA
BSRAG
EGASB
6
YVTZMR
ZTMVRY
VMRTYZ
MYZRVT
LZVYTM
TRYMZV
7
ETPJLRO
OJTERPL
TRLPEZJ
LEJOPTR
ROELTJP
JPRTOLE
PLORJET
8
FPGSWZAL
WAPZLFSG
PFZLAGWS
AWFGSPLZ
LSAFGWZP
ZGLAFSPW
GZSWTLFA
SLWPZAGF
9
NFWBICVHQ
CQHWNIFBV
HNQFWBIVC
QWNIUVBCH
FBICVQHNW
WIFV...

output:

1 2 X
1 4 D
4 3 E
5 1 R
3 6 O
7 5 P
4 5 F
3 5 K
5 11 D
6 7 G
13 6 T
5 14 X
5 5 S
8 12 Q
8 14 X
6 7 M
2 1 H
11 5 U
3 16 E
5 6 M
5 5 J
17 10 O
25 24 F
3 3 A
8 2 U
11 7 B
1 5 V
2 3 L
6 4 Y
12 14 M
2 7 Z
3 9 Y
1 3 Z
3 1 N
20 21 E
6 13 C
5 6 B
2 3 J
6 5 R
7 17 B
3 1 C
8 15 G
1 4 M
11 16 K
1 3 H
1 4 N
7 1...

result:

ok 326 lines