Diff
Not logged in

Differences From Artifact [b7ca5af5f1eab32a]:

To Artifact [fb4d697dde7b0758]:


27 27 static Node Concat(const Node& l, const Node& r) 28 28 { 29 29 Node c = {l.sum + r.sum}; 30 30 return c; 31 31 } 32 32 static Node Repeat(const Node& n, int k) 33 33 { 34 - if(k==0) return Zero(); 35 34 Node c = {n.sum * k}; 36 35 return c; 37 36 } 38 37 39 38 bool lazy; 40 39 }; 41 40