Equazione della retta

Un'equazione di una retta può essere rappresentata come . Poiché è piuttosto tedioso calcolare y per ogni singolo x, ti viene chiesto di scrivere un programma che faccia questo calcolo.

Screen Shot 2022-04-10 at 7.03.55 PM.png

Le prime 3 righe dell'input rappresentano k, x e b. Stampa il corrispondente y nell'output.

Input

Output

10
0
5

5

1
-5
-3

-8

Constraints

Time limit: 2 seconds

Memory limit: 512 MB

Output limit: 1 MB

To check your solution you need to sign in
Sign in to continue