QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#464682#4525. Colorful Tribune / Colors on a StadiumZhangYiDeAC ✓4ms3576kbC++172.0kb2024-07-06 13:45:452024-07-06 13:45:45

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 4ms
memory: 3576kb

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