Răspuns :

D:I=C, +R
R<I  =>R={0,1,2,3,4,5,6,7,8}

S=0+1+2+....+8

S=(1+8)*8/2
S=9*4
S=36