0_0_21997661_10849.cpp: In member function 'Node Seg::UP(Node, Node, Node)': 0_0_21997661_10849.cpp:105:40: error: request for member 'rev' in 'tr', which is of non-class type 'Node [400020]' Node tmp = Node(ls.L, rs.R, tr.rev, ls.m*rs.m); ^