1 line
4.2 KiB
XML
1 line
4.2 KiB
XML
<xml version="Mixly 3.0 rc0" board="Python 3 Online@Python 3 Online" shown="block"><block type="variables_set" id="otn94-@p`V|Q5tU-lgN7" x="-616" y="-48"><field name="VAR">start_time</field><value name="VALUE"><block type="controls_millis" id="5/~DspnhOeb|7.ioK4e$"></block></value><next><block type="variables_set" id="$;YvKZ3?fOBgNG.fD]*N"><field name="VAR">i</field><value name="VALUE"><block type="math_number" id="E^J9^sNQ[qqF|M0ESFM5"><field name="NUM">1</field></block></value><next><block type="variables_set" id="bIrmS}.8nN~+ph!mU8uo"><field name="VAR">sum</field><value name="VALUE"><block type="math_number" id="N3Om@h47qg.Q(A[8?]TD"><field name="NUM">0</field></block></value><next><block type="controls_whileUntil" id="et`p6JUHh65srC?mA2:?"><field name="MODE">WHILE</field><value name="BOOL"><shadow type="logic_boolean" id="N=L2AbnfWIO0IC|0!Y9w"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="#AcO=vefC2y_UpR@B7V1"><field name="OP">LTE</field><value name="A"><block type="variables_get" id="s_q#@OS/.0UkO!7QEkvo"><field name="VAR">i</field></block></value><value name="B"><block type="math_number" id="oFP.kXGh}^EiQw_w~Lt:"><field name="NUM">1000000</field></block></value></block></value><statement name="DO"><block type="variables_set" id="wy$]X_oGPrI9Kq#$2Rs3"><field name="VAR">sum</field><value name="VALUE"><block type="math_arithmetic" id="N|lDRBTyMXajVe+z:,$D"><field name="OP">ADD</field><value name="A"><shadow type="math_number" id="2ee:r;yy_X/v!+rv{y[6"><field name="NUM">1</field></shadow><block type="variables_get" id="6=1K|licE*_*d=iw,D?h"><field name="VAR">sum</field></block></value><value name="B"><shadow type="math_number" id="u]kF;Z5=$$^Vtf(Hf3c~"><field name="NUM">1</field></shadow><block type="variables_get" id="z;R7X.?s~(:uiOie,LoF"><field name="VAR">i</field></block></value></block></value><next><block type="variables_set" id="=_O}w+*siC;m^GF57pRi"><field name="VAR">i</field><value name="VALUE"><block type="math_arithmetic" id="W9MP-^!#oPoItOfg0?J@"><field name="OP">ADD</field><value name="A"><shadow type="math_number" id="2ee:r;yy_X/v!+rv{y[6"><field name="NUM">1</field></shadow><block type="variables_get" id="JwagDWCY$5,Hk{7y+etF"><field name="VAR">i</field></block></value><value name="B"><shadow type="math_number" id="y1hSPdjK;o~gt(o9mq!I"><field name="NUM">1</field></shadow></value></block></value></block></next></block></statement><next><block type="inout_print_many" id="$T/=F?mj_6xG3K{3,qF5"><mutation items="2"></mutation><value name="ADD0"><block type="text" id="oY]BS|o7.ISAg@[n6|SD"><field name="TEXT">1+2+……+1000000=</field></block></value><value name="ADD1"><block type="variables_get" id="8j_-EfMMe.XIO7@#S/e$"><field name="VAR">sum</field></block></value><next><block type="variables_set" id="qujcF)U*(^)__pZ$4I2L"><field name="VAR">end_time</field><value name="VALUE"><block type="controls_millis" id="(vuDPyuEva*rs!#o/H3v"></block></value><next><block type="inout_print_many" id="tffMhEIyj!tjXe5z3FJw"><mutation items="3"></mutation><value name="ADD0"><block type="text" id="yJk$D`)j#X$c4fa7PkPu"><field name="TEXT">累加1~1000000所花时间为</field></block></value><value name="ADD1"><block type="math_arithmetic" id="{](M4JMywR0J=;TEdXK5"><field name="OP">MINUS</field><value name="A"><shadow type="math_number" id="Ti3Bqy!}fvRrgqSsrdG@"><field name="NUM">1</field></shadow><block type="variables_get" id="Cf)cAM/Ow1=k.`@z3GIt"><field name="VAR">end_time</field></block></value><value name="B"><shadow type="math_number" id="$mj|G2+)]qZnaYej;sxl"><field name="NUM">1</field></shadow><block type="variables_get" id="YBlB=ZJHPmC)VkW/`2;d"><field name="VAR">start_time</field></block></value></block></value><value name="ADD2"><block type="text" id="KIbKrh].=_$b}EygPE-E"><field name="TEXT">秒</field></block></value></block></next></block></next></block></next></block></next></block></next></block></next></block></xml><config>{}</config><code>aW1wb3J0IHRpbWUKCgpzdGFydF90aW1lID0gdGltZS50aW1lKCkKaSA9IDEKc3VtMiA9IDAKd2hpbGUgaSA8PSAxMDAwMDAwOgogICAgc3VtMiA9IHN1bTIgKyBpCiAgICBpID0gaSArIDEKcHJpbnQoJzErMivigKbigKYrMTAwMDAwMD0nLCBzdW0yKQplbmRfdGltZSA9IHRpbWUudGltZSgpCnByaW50KCfntK/liqAxfjEwMDAwMDDmiYDoirHml7bpl7TkuLonLCBlbmRfdGltZSAtIHN0YXJ0X3RpbWUsICfnp5InKQo=</code> |