QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#221136 | #6556. Text Editor | ucup-team1876 | 0 | 1ms | 4304kb | C++23 | 3.7kb | 2023-10-21 10:00:17 | 2023-10-21 10:00:18 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
Tip: Click on the bar to expand more detailed information
Test #1:
score: 100
Accepted
time: 0ms
memory: 3704kb
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 ,j,0,6,abcdef,erase,4,5,copy,0,3,paste,1,cut,2,4,undo,paste,6,redo,redo,
Second Run Input
2 deserialize ,j,0,6,abcdef,erase,4,5,copy,0,3,paste,1,cut,2,4,undo,paste,6,redo,redo, print 0 10
Second Run Output
aabcbcbcdf
result:
ok stage 2 is ok!
Test #2:
score: 100
Accepted
time: 0ms
memory: 3832kb
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: 0ms
memory: 3672kb
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
,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,
Second Run Input
31 deserialize ,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, 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 red...
Second Run Output
result:
ok stage 2 is ok!
Test #4:
score: 100
Accepted
time: 0ms
memory: 3740kb
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
,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,
Second Run Input
31 deserialize ,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, 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 und...
Second Run Output
result:
ok stage 2 is ok!
Test #5:
score: 100
Accepted
time: 0ms
memory: 3892kb
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
,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,
Second Run Input
31 deserialize ,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, 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 red...
Second Run Output
result:
ok stage 2 is ok!
Test #6:
score: 100
Accepted
time: 1ms
memory: 4304kb
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 ,j,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:,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...
Second Run Output
4/}4/u}4/ uuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuu uuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuu...
result:
ok stage 2 is ok!
Test #7:
score: 100
Accepted
time: 1ms
memory: 4024kb
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 ,j,0,89,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,c...
Second Run Input
1001 deserialize ,j,0,89,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,red...
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: 0
Wrong Answer
time: 1ms
memory: 4076kb
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)Yh]|9bm-!t2/$@gC)p&e&{+T$mtW4TnoG_J\yBE@#1X9;S6swU#qBX"./2uUjc*rP6]{ copy 0 237 paste 0 copy 0 474 paste 0 undo copy ...
First Run Output
{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{ {{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{...
Second Run Input
1001 deserialize ,j,0,237,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)Yh]|9bm-!t2/$@gC)p&e&{+T$mtW4TnoG_J\yBE@#1X9;S6swU#qBX"./2uUjc*rP6]{,copy,0,237,paste,0,copy,0,474,paste,...
Second Run Output
{{{{{{{{{{{{{{{{{{ {{{{{{{{{{{{{{{{{{{{{{{{{{ {{{{{{{{ {{{{{{{{{{{{{{{{{{{{{{{ {{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{ {{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{ {{{{{{{{{{{{{{{{{{{{{{{{{ {{{{{{{{{{{{{...
result:
wrong answer wrong answer on query 8 (in the first run)