How to pass Listaccum<vertex> to a tuple?

I have a list of list of type listaccum<Listaccum> @@total_path. I want to store each of the list from this along with their distance in a tuple. How to do it?

Example: my @@total_path has [[a,b,c],[a,b],[c,b]]
i want to store each of these lists with their distances in a user defined tuple
([a,b,c],110)
([a,b],20)
([c,b],100)

Hi Team

Anyone who can help me with this?