QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#612316#5970. Typewriter Monkeylmq260520030 0ms0kbC++202.7kb2024-10-05 10:28:122024-10-05 10:28:16

Details

Tip: Click on the bar to expand more detailed information

Subtask #1:

score: 0
Runtime Error

Test #1:

score: 0
Runtime Error

input:

100
6 1 2
TBQYOO
T
6 3 7
MNFBXW
MBM
7 3 4
WWWOWWW
WWW
1 3 3
V
VVV
7 1 5
YYYERYW
Y
4 5 7
AECC
ACCAC
1 1 2
C
C
1 3 3
P
PPP
1 1 1
M
M
7 7 7
IIIIIII
IIIIIII
1 2 3
L
LL
6 1 2
GGNGNN
G
6 1 5
PGZAFW
P
6 1 5
YTJXCV
V
7 4 5
SUOYEQM
OESM
4 2 3
FPGD
FP
1 6 7
X
XXXXXX
3 3 5
MRX
XRX
7 4 4
JAKNKFE
JKNF
3 2 7
OVU
...

output:


result:


Subtask #2:

score: 0
Runtime Error

Test #2:

score: 0
Runtime Error

input:

100
100 8 31
RRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRXRRRRRRRRRRRRRRR
RRRRRRRR
99 1 34
HABAGPCLUOJSXXKTSIFRBAZNKMFEKTWBJTNXKRWNDBDPYEKBHGASUIXXWQHUIZXHWCHJXSRTMHDTJKFZFAIGHBVLTQBVHUKIBCD
S
49 32 78
VRBRTHNEQAPPDVIHLPBOFAJGRJHTIJLKHHWAOOMKCPOYCCZSP
OBMIKOYQ...

output:


result: