QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#213861#6556. Text Editorucup-team572#0 0ms3632kbC++206.9kb2023-10-14 16:25:102023-10-14 16:25:10

详细

Test #1:

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

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
n1n5n#ninnnsnenrntssn0ssnanbncndnenfn9n#npnrninnntssn0ssn6n9n#nenrnansnessn4ssn5n9n#npnrninnntssn0ssn5n8n#ncnonpnyssn0ssn3n7n#npnansntnessn1n9n#npnrninnntssn0ssn8n7n#ncnuntssn2ssn4n9n#npnrninnntssn0ssn6n4n#nunnndnon9n#npnrninnntssn0ssn8n7n#...

Second Run Input

2
deserialize n1n5n#ninnnsnenrntssn0ssnanbncndnenfn9n#npnrninnntssn0ssn6n9n#nenrnansnessn4ssn5n9n#npnrninnntssn0ssn5n8n#ncnonpnyssn0ssn3n7n#npnansntnessn1n9n#npnrninnntssn0ssn8n7n#ncnuntssn2ssn4n9n#npnrninnntssn0ssn6n4n#nunnndnon9n#npnrninnntssn0ssn8n7n#npnansntnessn6n1n0n#npnrninnntssn0ssn1n0n4n#nr...

Second Run Output

aabcbcbcdf

result:

ok stage 2 is ok!

Test #2:

score: 0
Wrong Answer on the first run

First Run Input

1
serialize

First Run Output



Second Run Input


Second Run Output


result:

wrong output format Unexpected end of file - token expected