
AMDG Mitch Besser wrote:
I would like to take the following Sequence of Tuples:
((A, 1)) ((B, 1)) ((C, 1)) ((D, 2)) ((E, 4))
and create a summation as follows:
((A, 0)) ((B, 1)) ((C, 2)) ((D, 3)) ((E, 5))
#include
AMDG Mitch Besser wrote:
I would like to take the following Sequence of Tuples:
((A, 1)) ((B, 1)) ((C, 1)) ((D, 2)) ((E, 4))
and create a summation as follows:
((A, 0)) ((B, 1)) ((C, 2)) ((D, 3)) ((E, 5))
#include