Is there a direct proportion or inverse proportion between the cost of the attack and each of the following factors?

a. Key length of the cipher
b. The slowness of the cipher algorithm
c. Parallelism
d. Memory
e. Precomputation
f. Number of targets