A[2]:=y; A[1]:=x; A[3]:=z; c:=0; for x:=0 to 9 do for y:=0 to 9 do for z:=0 to 9 do if x+y+z=13 then inc(c); writeln(c)
Яндекс