QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#214409#6556. Text Editorucup-team1120#0 0ms0kbC++209.2kb2023-10-14 19:26:312023-10-14 19:26:31

详细

Test #1:

score: 0
Stage 1: Program answer Memory Limit Exceeded

First Run Input

17
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
serialize

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


Second Run Output


result: