Tor Hildrum wrote:
> I have this problem which I thought would be trivial, but I can't
> seem to figure out a decent way to do it.
>
> Say I have the following file:
> 10
> -100
> -108
> --1080
> 12
> 20
>
> In lack of a better explanation, here is how it works:
> A level in the tree follows t
I have this problem which I thought would be trivial, but I can't
seem to figure out a decent way to do it.
Say I have the following file:
10
-100
-101
-103
-108
--1080
---1080.10
---1080.11
12
-120
-125
20
30
-300
--3010
---3010.3
These numbers represents a tree-like structure.
In lack of a bet