QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#270844#850. Edit Distance Yet Againucup-team864WA 68ms13732kbC++143.2kb2023-12-01 16:26:022023-12-01 16:26:03

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

2
3 4 3
kot
plot
5 7 3
zycie
porazka

output:

YES
2
REPLACE 1 p
INSERT 2 l
NO

result:

ok OK!

Test #2:

score: -100
Wrong Answer
time: 68ms
memory: 13732kb

input:

100
100 100 0
mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm
mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm
16 7 100
vvvvvvvvvvvvvvvv
qydopaq
37 33 43
ggggggggggggggggggggggggggggggggggggg
osk...

output:

YES
0
YES
16
DELETE 1 \x08
DELETE 2 \x08
DELETE 3 \x08
DELETE 4 \x08
DELETE 5 \x08
DELETE 6 \x08
DELETE 7 \x08
DELETE 8 \x08
DELETE 9 \x08
REPLACE 10 q
REPLACE 11 y
REPLACE 12 d
REPLACE 13 o
REPLACE 14 p
REPLACE 15 a
REPLACE 16 q
YES
28
DELETE 1 \x08
DELETE 2 \x08
DELETE 3 \x08
DELETE 4 \x08
REPLACE 5 o
REPLACE 6 s
REPLACE 7 k
REPLACE 9 ...

result:

wrong answer Test 1: incorrect operation in output