QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#214262#6556. Text Editorucup-team1120#0 0ms0kbC++206.6kb2023-10-14 18:16:382023-10-14 18:16:38

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 0
Wrong Answer on the first run

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
!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:

Second Run Input


Second Run Output


result:

wrong output format Extra information in the output file