0
Find the maximum of ax+b
You are given a list of (a,b), and a list of x. Compute the maximum ax+b for each x. You can assume a, b and x are non-negative integers.
Examples:
[[1 10] [2 8] [4 0] [3 3] [0 4]] [1 2 3 4 5]
Output:
[11 12 14 16 20]
This is code-golf. Shortest code wins. But you...