QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#214678 | #6556. Text Editor | ucup-team1133# | 0 | 2ms | 6312kb | C++20 | 8.9kb | 2023-10-14 22:58:13 | 2023-10-14 22:58:13 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
详细
Test #1:
score: 100
Accepted
time: 1ms
memory: 4328kb
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 0;0;6;abcdef;2;0;6;1;4;5;2;0;5;3;0;3;5;1;2;0;8;4;2;4;2;0;6;6;2;0;8;5;6;2;0;10;7;7;2;0;10;0;0;0;;8;
Second Run Input
2 deserialize 0;0;6;abcdef;2;0;6;1;4;5;2;0;5;3;0;3;5;1;2;0;8;4;2;4;2;0;6;6;2;0;8;5;6;2;0;10;7;7;2;0;10;0;0;0;;8; print 0 10
Second Run Output
aabcbcbcdf
result:
ok stage 2 is ok!
Test #2:
score: 100
Accepted
time: 1ms
memory: 4304kb
First Run Input
1 serialize
First Run Output
0;0;0;;8;
Second Run Input
1 deserialize 0;0;0;;8;
Second Run Output
result:
ok stage 2 is ok!
Test #3:
score: 100
Accepted
time: 1ms
memory: 4264kb
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
6;7;7;6;6;6;7;6;7;6;6;6;6;6;7;7;6;6;7;6;7;7;7;6;6;6;7;6;7;7;0;0;0;;8;
Second Run Input
31 deserialize 6;7;7;6;6;6;7;6;7;6;6;6;6;6;7;7;6;6;7;6;7;7;7;6;6;6;7;6;7;7;0;0;0;;8; redo undo redo redo redo redo redo undo undo undo redo redo undo redo undo redo undo redo undo redo undo undo undo undo redo redo redo undo redo redo
Second Run Output
result:
ok stage 2 is ok!
Test #4:
score: 100
Accepted
time: 1ms
memory: 4208kb
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
6;7;7;6;6;7;7;7;6;6;6;7;7;6;7;6;7;6;7;7;7;6;7;6;7;7;6;6;7;6;0;0;0;;8;
Second Run Input
31 deserialize 6;7;7;6;6;7;7;7;6;6;6;7;7;6;7;6;7;6;7;7;7;6;7;6;7;7;6;6;7;6;0;0;0;;8; undo redo undo redo redo redo undo undo undo redo undo redo undo redo undo undo redo undo undo undo undo undo undo redo undo redo undo redo redo redo
Second Run Output
result:
ok stage 2 is ok!
Test #5:
score: 100
Accepted
time: 1ms
memory: 4476kb
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
6;6;6;7;7;7;7;6;6;7;7;6;6;6;7;7;7;7;6;7;7;6;6;6;7;6;6;6;6;7;0;0;0;;8;
Second Run Input
31 deserialize 6;6;6;7;7;7;7;6;6;7;7;6;6;6;7;7;7;7;6;7;7;6;6;6;7;6;6;6;6;7;0;0;0;;8; redo redo undo undo undo redo redo redo redo redo redo redo redo redo undo undo redo undo redo redo undo redo redo redo redo redo redo undo redo undo
Second Run Output
result:
ok stage 2 is ok!
Test #6:
score: 100
Accepted
time: 2ms
memory: 6132kb
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
/VCu}4-dod,hyG&]WkL1)rg)bj:/VCu}4-dyKlPm}+uRG&]WkL1)rg)bj:/V)bj:/VCu})bj:/)rg)bj:/VCG&]WkL1)rg)bj:/VCu}4-dyKlPm}+uRG&]WkL1)rg)bj:/V) /VCu}4/VCu}4 4/VCu}4/VCu}4/VCu}4/VCu}4/VCu}4/4/VCu}4/VCu}4/VCu}4/VCu}4/VCu}4/VCu}4/VCu}4/VCu}4/VCu}4/VCu} Cu4//VCuCu}4//VCu}4/Cu}4//VCu}4/VCu}CuCu}4/u}4//VCu}4/VCu}CuC...
Second Run Input
1001 deserialize 0;0;170;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:;3;0;170;5;170;3;0;340;5;340;4;415;652;3;0;443;5;443;4;282;500;1;0;576;3;0;92;5;92;3;0;184;5;184;3;0;368;...
Second Run Output
4/}4/u}4/ uuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuu uuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuu...
result:
ok stage 2 is ok!
Test #7:
score: 100
Accepted
time: 1ms
memory: 4684kb
First Run Input
1001 insert 0 w,[bkd4hhpQ'MmMc:IK6O#ZVGwy`{iW,dmR]!Zo)u{|F*Y_"SI9dsR.a@Y@5YU[vEAya3.Y<C~U+JY66Co-HfJ*WN undo redo erase 75 84 cut 3 78 paste 2 undo erase 1 3 redo erase 1 3 copy 0 1 cut 0 1 redo redo redo undo copy 0 1 paste 1 redo undo copy 0 1 undo undo copy 0 4 cut 1 5 undo cut 0 5 redo redo undo...
First Run Output
w,[,[WNWN bb{b{ NNNN * * * AERER ERRKRR 0;0;89;w,[bkd4hhpQ'MmMc:IK6O#ZVGwy`{iW,dmR]!Zo)u{|F*Y_"SI9dsR.a@Y@5YU[vEAya3.Y<C~U+JY66Co-HfJ*WN;6;7;1;75;84;4;3;78;5;2;6;1;1;3;7;1;1;3;3;0;1;4;0;1;7;7;7;6;3;0;1;5;1;7;6;3;0;1;6;6;3;0;4;4;1;5;6;4;0;5;7;7;6;3;0;5;7;6;6;7;5;0;6;3;1;5;1;0;4;6;5;3;3;0;8;7;2;0;9;3;...
Second Run Input
1001 deserialize 0;0;89;w,[bkd4hhpQ'MmMc:IK6O#ZVGwy`{iW,dmR]!Zo)u{|F*Y_"SI9dsR.a@Y@5YU[vEAya3.Y<C~U+JY66Co-HfJ*WN;6;7;1;75;84;4;3;78;5;2;6;1;1;3;7;1;1;3;3;0;1;4;0;1;7;7;7;6;3;0;1;5;1;7;6;3;0;1;6;6;3;0;4;4;1;5;6;4;0;5;7;7;6;3;0;5;7;6;6;7;5;0;6;3;1;5;1;0;4;6;5;3;3;0;8;7;2;0;9;3;4;8;7;4;0;5;5;4;4;0;6;7...
Second Run Output
\HKrk`Qy`e6Jpyc/>5Kw}A,syx1^4Ej[] p pppp pp p R[Gam_HY~-PG
result:
ok stage 2 is ok!
Test #8:
score: 100
Accepted
time: 2ms
memory: 6216kb
First Run Input
1001 insert 0 R9cgb7*%)7^_EA4jD9J^u<P0QmI/lYpy4J/L"?KY?_<-""SZH]`e)D=8'XLd5XF3l/BPwfQ6Pqd6x{[U``+lywj-r0AiLtCyIOw_(}rPBcgVg2,T\2YB0v#J)'Q2A$ZF@-t$.vKp~Z\c9rQY?js|<\Fl"um?oLARgQ`]q+Ci)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test #9:
score: 100
Accepted
time: 2ms
memory: 6312kb
First Run Input
1001 insert 0 j#L3^;DU'OLTqzqjUI7#AK@2p~sohf~P~p\J1 copy 0 37 paste 37 copy 0 74 paste 74 copy 0 148 paste 148 copy 0 296 paste 296 paste 277 copy 157 175 cut 31 867 copy 0 52 paste 52 copy 0 104 paste 104 copy 0 208 paste 208 copy 0 416 paste 416 erase 439 824 copy 0 447 paste 447 undo copy 0 447 p...
First Run Output
UI7#AK ~PJ1J1j#TqzqjUI7#AK@2p~sK@2f~PJ1j#Lj#L3UI7#AK@2p~sohf~UI7#AK@2p~sohf~PJ1j#TqzqjUI7#AK@2p~sK~sohf~PJ1j#TqzqjUI #PJ1ohf~UI7#PJ1j#TqzqjUI7#AK@2p~sK@2j#hPJ@7#AK@2p~sK@AK@2hf~AK@2AK@2p~sohf~UI7#PJ1ohf~UI7#PJ 2j#hJ1ohf~UI7#PJ1j#T7#PJ J1j#j#T7#PJ1jJ1j#j#T7#7#,esh-0szl7t6XCx9j#j#T7#PJ1jJ1j#j#T7#7#PJ1...
Second Run Input
1001 deserialize 0;0;37;j#L3^;DU'OLTqzqjUI7#AK@2p~sohf~P~p\J1;3;0;37;5;37;3;0;74;5;74;3;0;148;5;148;3;0;296;5;296;5;277;3;157;175;4;31;867;3;0;52;5;52;3;0;104;5;104;3;0;208;5;208;3;0;416;5;416;1;439;824;3;0;447;5;447;6;3;0;447;5;447;1;268;644;3;171;333;5;198;7;6;4;47;516;3;0;49;5;49;3;0;98;5;98;3;0;...
Second Run Output
J17## 1J1J17##PJj17##PJJ1#jJ11J1J17##PJJJ1#jJ11J1J17##PJJ1#jJ1J1J1J17##PJj17##PJJ1#jJ11J1J17##PJJ1#j J1J1J1J17##PJj17##jJ1J1J1J17##PJj17##jJ1J1J1J17##PJj17##jJ1J1J1J17##P1J1J17##PJj17##jJ1J1J1J17##PJj17##jJ1J1J1J17##PJj17##jJ1J1J1J17##PJj17##jJ1J1J1J17##PJj17##jJ1J1J1J17##PJj17##jJ1J1J1J17##PJj17##j...
result:
ok stage 2 is ok!
Test #10:
score: 0
Wrong Answer
time: 1ms
memory: 4716kb
First Run Input
1001 insert 0 U]_hFNe]96`ZG~m{f6KZ1%84w$UnC)nTUP`aVw,2hP^ cut 3 24 copy 9 16 undo erase 5 35 paste 8 erase 2 20 erase 0 2 undo erase 0 1 redo redo cut 0 1 undo redo redo redo redo undo erase 0 1 redo undo redo redo redo redo redo redo redo redo undo redo undo cut 0 1 redo undo copy 0 1 paste 1 inser...
First Run Output
FFAkBNZvaU+gniVAnxa?b$xp?UIXJ'qx|%VAnxa?b$xp?UIXJ d d dd PIP PP PPPPPP h5k%S=hV9}tHY/d2!]eR$)e6s@'Nhs'BwT9m+2)0$rAr(Qe)9}e|,h+KT[VMH.-.(,nNf-_sRln@m$GCB?hV=q9Y<c9nG.] 0;0;43;U]_hFNe]96`ZG~m{f6KZ1%84w$UnC)nTUP`aVw,2hP^;4;3;24;3;9;16;6;1;5;35;5;8;1;2;20;1;0;2;6;1;0;1;7;7;4;0;1;6;7;7;7;7;6;1;0;1;7;6;7;...
Second Run Input
1001 deserialize 0;0;43;U]_hFNe]96`ZG~m{f6KZ1%84w$UnC)nTUP`aVw,2hP^;4;3;24;3;9;16;6;1;5;35;5;8;1;2;20;1;0;2;6;1;0;1;7;7;4;0;1;6;7;7;7;7;6;1;0;1;7;6;7;7;7;7;7;7;7;7;6;7;6;4;0;1;7;6;3;0;1;5;1;0;0;146;~XfpNkrrHqwv#P*{p}62Pw=$X@kVAnxa?b$xp?UIXJ'qx|%Zd=2dV='!{,_L>:){NS}YsB1"iE3c!2zF3rVL<m;-IOU=$ryf#ER8PO...
Second Run Output
EEEEXE X E 4
result:
wrong answer wrong answer on query 9 (in the first run)