直線の方程式

直線の方程式は、 という形で表すことができます。毎回 x に対して y を計算するのは面倒なので、その計算を行うプログラムを書くことを求められています。

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

入力の最初の3行は kxb を表します。出力には、それに対応する y を表示します。

入力

出力

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