QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#213890#6556. Text Editorucup-team572#0 1ms3612kbC++206.9kb2023-10-14 16:30:422023-10-14 16:30:42

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 1ms
memory: 3612kb

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