fork download
  1. type
  2. Node = ref NodeObj
  3. NodeObj = object
  4. le, ri: Node
  5. data: int
  6. var
  7. n: Node
  8. new(n)
  9. n.data = 9
  10. # n[].dataと書く必要はない。じつはn[].dataというのは強く非推奨である
  11.  
Success #stdin #stdout 0s 4544KB
stdin
Standard input is empty
stdout
Standard output is empty