QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#214391#6556. Text Editorucup-team1120#0 0ms0kbC++209.7kb2023-10-14 19:18:272023-10-14 19:18:27

详细

Test #1:

score: 0
Stage 2: Program answer Memory Limit Exceeded

First Run Input

16 1
insert 0 abcdef
print 0 6
erase 4 5
print 0 5
copy 0 3
paste 1
print 0 8
cut 2 4
print 0 6
undo
print 0 8
paste 6
print 0 10
redo
redo
print 0 10
print 0 10

First Run Output

abcdef
abcdf
aabcbcdf
aabcdf
aabcbcdf
aabcbcbcdf
aabcbcbcdf
:#i#n#s#e#r#t@@#0@@#a#b#c#d#e#f::#p#r#i#n#t@@#0@@#6::#e#r#a#s#e@@#4@@#5::#p#r#i#n#t@@#0@@#5::#c#o#p#y@@#0@@#3::#p#a#s#t#e@@#1::#p#r#i#n#t@@#0@@#8::#c#u#t@@#2@@#4::#p#r#i#n#t@@#0@@#6::#u#n#d#o::#p#r#i#n#t@@#0@@#8::#p#a#s#t#e@@#6::#p#r#i#n#t@...

Second Run Input

2
deserialize :#i#n#s#e#r#t@@#0@@#a#b#c#d#e#f::#p#r#i#n#t@@#0@@#6::#e#r#a#s#e@@#4@@#5::#p#r#i#n#t@@#0@@#5::#c#o#p#y@@#0@@#3::#p#a#s#t#e@@#1::#p#r#i#n#t@@#0@@#8::#c#u#t@@#2@@#4::#p#r#i#n#t@@#0@@#6::#u#n#d#o::#p#r#i#n#t@@#0@@#8::#p#a#s#t#e@@#6::#p#r#i#n#t@@#0@@#1#0::#r#e#d#o::#r#e#d#o::#p#r#i#n#t@@#0@...

Second Run Output


result: