C. Tìm x đơn giản


Submit solution

Points: 50
Time limit: 1.0s
Memory limit: 256M

Problem type

ax + b = c

Tìm x nguyên.

Đầu vào:

  • Ba số nguyên a, b, c (a ≠ 0)

Đầu ra:

  • Một số nguyên x

Testcase:

Input Output Giải thích
2 3 11 4 2 × 4 + 3 = 11
5 0 20 4 5 × 4 = 20

Comments

There are no comments at the moment.