For a positive integer n, let D(n) be the value obtained by, starting from the left, alternating between adding and subtracting the digits of n. For example, D(321)=3−2+1=2, while D(40)=4−0=4. Compute the value of the sum
n=1∑100D(n)=D(1)+D(2)+⋯+D(100).