Skip to content

Instantly share code, notes, and snippets.

@popey456963
Created October 25, 2015 16:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save popey456963/244b1410c57e887e3791 to your computer and use it in GitHub Desktop.
Save popey456963/244b1410c57e887e3791 to your computer and use it in GitHub Desktop.
Bilinear Functions
a, b = [int(i) for i in input().split()]
n = int(input())
for i in range(n):
x = int(input())
print(a * x + b)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment