QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#270845#850. Edit Distance Yet Againucup-team864WA 61ms13980kbC++143.3kb2023-12-01 16:27:122023-12-01 16:27:13

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 5ms
memory: 12948kb

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: 61ms
memory: 13980kb

input:

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

output:

YES
0
YES
16
DELETE 1
DELETE 2
DELETE 3
DELETE 4
DELETE 5
DELETE 6
DELETE 7
DELETE 8
DELETE 9
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
DELETE 2
DELETE 3
DELETE 4
REPLACE 5 o
REPLACE 6 s
REPLACE 7 k
REPLACE 9 m
REPLACE 10 l
REPLACE 12 ...

result:

wrong answer Test 1: incorrect operation