QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#34261#850. Edit Distance Yet Againlarryzhong#WA 36ms15580kbC++172.6kb2022-06-06 13:36:032022-06-06 13:36:05

詳細信息

Test #1:

score: 100
Accepted
time: 10ms
memory: 15552kb

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: 36ms
memory: 15580kb

input:

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

output:

YES
0
YES
16
DELETE 16
DELETE 15
DELETE 14
DELETE 13
DELETE 12
DELETE 11
DELETE 10
DELETE 9
DELETE 8
REPLACE 7 q
REPLACE 7 y
REPLACE 7 d
REPLACE 7 o
REPLACE 7 p
REPLACE 7 a
REPLACE 7 q
YES
28
REPLACE 28 o
REPLACE 28 s
REPLACE 28 k
REPLACE 29 m
REPLACE 29 l
REPLACE 30 j
REPLACE 30 t
REPLACE 30 u
REPL...

result:

wrong answer Test 1: final string is incorrect