QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#214397#6556. Text Editorucup-team1120#0 11ms66140kbC++209.0kb2023-10-14 19:20:372023-10-14 19:20:38

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 11ms
memory: 66140kb

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

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

aabcbcbcdf

result:

ok stage 2 is ok!

Test #2:

score: 100
Accepted
time: 9ms
memory: 66136kb

First Run Input

1
serialize

First Run Output

:

Second Run Input

1
deserialize :

Second Run Output


result:

ok stage 2 is ok!

Test #3:

score: 100
Accepted
time: 9ms
memory: 66116kb

First Run Input

31
undo
redo
redo
undo
undo
undo
redo
undo
redo
undo
undo
undo
undo
undo
redo
redo
undo
undo
redo
undo
redo
redo
redo
undo
undo
undo
redo
undo
redo
redo
serialize

First Run Output

:#u#n#d#o::#r#e#d#o::#r#e#d#o::#u#n#d#o::#u#n#d#o::#u#n#d#o::#r#e#d#o::#u#n#d#o::#r#e#d#o::#u#n#d#o::#u#n#d#o::#u#n#d#o::#u#n#d#o::#u#n#d#o::#r#e#d#o::#r#e#d#o::#u#n#d#o::#u#n#d#o::#r#e#d#o::#u#n#d#o::#r#e#d#o::#r#e#d#o::#r#e#d#o::#u#n#d#o::#u#n#d#o::#u#n#d#o::#r#e#d#o::#u#n#d#o::#r#e#d#o::#r#e#d#o::

Second Run Input

31
deserialize :#u#n#d#o::#r#e#d#o::#r#e#d#o::#u#n#d#o::#u#n#d#o::#u#n#d#o::#r#e#d#o::#u#n#d#o::#r#e#d#o::#u#n#d#o::#u#n#d#o::#u#n#d#o::#u#n#d#o::#u#n#d#o::#r#e#d#o::#r#e#d#o::#u#n#d#o::#u#n#d#o::#r#e#d#o::#u#n#d#o::#r#e#d#o::#r#e#d#o::#r#e#d#o::#u#n#d#o::#u#n#d#o::#u#n#d#o::#r#e#d#o::#u#n#d#o::#r#e...

Second Run Output


result:

ok stage 2 is ok!

Test #4:

score: 100
Accepted
time: 9ms
memory: 66112kb

First Run Input

31
undo
redo
redo
undo
undo
redo
redo
redo
undo
undo
undo
redo
redo
undo
redo
undo
redo
undo
redo
redo
redo
undo
redo
undo
redo
redo
undo
undo
redo
undo
serialize

First Run Output

:#u#n#d#o::#r#e#d#o::#r#e#d#o::#u#n#d#o::#u#n#d#o::#r#e#d#o::#r#e#d#o::#r#e#d#o::#u#n#d#o::#u#n#d#o::#u#n#d#o::#r#e#d#o::#r#e#d#o::#u#n#d#o::#r#e#d#o::#u#n#d#o::#r#e#d#o::#u#n#d#o::#r#e#d#o::#r#e#d#o::#r#e#d#o::#u#n#d#o::#r#e#d#o::#u#n#d#o::#r#e#d#o::#r#e#d#o::#u#n#d#o::#u#n#d#o::#r#e#d#o::#u#n#d#o::

Second Run Input

31
deserialize :#u#n#d#o::#r#e#d#o::#r#e#d#o::#u#n#d#o::#u#n#d#o::#r#e#d#o::#r#e#d#o::#r#e#d#o::#u#n#d#o::#u#n#d#o::#u#n#d#o::#r#e#d#o::#r#e#d#o::#u#n#d#o::#r#e#d#o::#u#n#d#o::#r#e#d#o::#u#n#d#o::#r#e#d#o::#r#e#d#o::#r#e#d#o::#u#n#d#o::#r#e#d#o::#u#n#d#o::#r#e#d#o::#r#e#d#o::#u#n#d#o::#u#n#d#o::#r#e...

Second Run Output


result:

ok stage 2 is ok!

Test #5:

score: 100
Accepted
time: 7ms
memory: 66076kb

First Run Input

31
undo
undo
undo
redo
redo
redo
redo
undo
undo
redo
redo
undo
undo
undo
redo
redo
redo
redo
undo
redo
redo
undo
undo
undo
redo
undo
undo
undo
undo
redo
serialize

First Run Output

:#u#n#d#o::#u#n#d#o::#u#n#d#o::#r#e#d#o::#r#e#d#o::#r#e#d#o::#r#e#d#o::#u#n#d#o::#u#n#d#o::#r#e#d#o::#r#e#d#o::#u#n#d#o::#u#n#d#o::#u#n#d#o::#r#e#d#o::#r#e#d#o::#r#e#d#o::#r#e#d#o::#u#n#d#o::#r#e#d#o::#r#e#d#o::#u#n#d#o::#u#n#d#o::#u#n#d#o::#r#e#d#o::#u#n#d#o::#u#n#d#o::#u#n#d#o::#u#n#d#o::#r#e#d#o::

Second Run Input

31
deserialize :#u#n#d#o::#u#n#d#o::#u#n#d#o::#r#e#d#o::#r#e#d#o::#r#e#d#o::#r#e#d#o::#u#n#d#o::#u#n#d#o::#r#e#d#o::#r#e#d#o::#u#n#d#o::#u#n#d#o::#u#n#d#o::#r#e#d#o::#r#e#d#o::#r#e#d#o::#r#e#d#o::#u#n#d#o::#r#e#d#o::#r#e#d#o::#u#n#d#o::#u#n#d#o::#u#n#d#o::#r#e#d#o::#u#n#d#o::#u#n#d#o::#u#n#d#o::#u#n...

Second Run Output


result:

ok stage 2 is ok!

Test #6:

score: 0
Stage 1: Program answer Runtime Error

First Run Input

1001
insert 0 u]^rGH]V+A3/VCu}4-dod,hyG&]WkL1)rg$W4\W0XL7sfyA[GNpfX2rx8Sc6$fmzW&x3E//Q0M\7=?Io7mupWV9Y4z6aY4E9ia$S{1KfioW29lST';?emw,Upk.b`^tl.O^btxvAx>:=&rC@6k`[GQCv;s[myKiSV1tp!Z)bj:
copy 0 170
paste 170
copy 0 340
paste 340
cut 415 652
copy 0 443
paste 443
cut 282 500
erase 0 576
copy 0 92
paste ...

First Run Output


Second Run Input


Second Run Output


result: