Preparing NOJ

Indeterminate Equation

1000ms 65536K

Description:

Given A, B and C. Find X and Y so that A times X plus B times Y equals to C.

Input:

Three positive integer A, B, C (A, B, C <= 100).

Output:

Two integers X and Y.

Sample Input:

4 7 10

Sample Output:

-1 2

Info

NOIOPEN

Provider NOIOPEN

Origin 简单英文题

Code NOIOPJENGLISH22

Tags

Submitted 0

Passed 0

AC Rate 0%

Date 08/15/2021 18:56:23

Related

Nothing Yet