For 2 arrays, subtract every element in one array from the position-matching element in the other For 2 arrays each with X elements, what is the SHORTEST code to subtract every element in the second from every element in the first, 1 to 1

so, for example:

A1 = [10,11,12]

A2 = [1,2,3]

A1 "-" A2 should == [9,9,9]
R, 3 chars
(following Chris' counting method that includes the variable names in the count)
a-b

a and b can be defined as follows:
a &lt;- c(10,11,12)
b &lt;- c(1,2,3)

(c is the array construction function in R)