Indeterminate Equation
https://acs.jxnu.edu.cn/problem/NOIOPJENGLISH22
1000ms 65536K
描述:
Given A, B and C. Find X and Y so that A times X plus B times Y equals to C.
给出a,b,c,找到x和y使得a次x相加b次y等于c
输入:
Three positive integer A, B, C (A, B, C <= 100).
三个正整数a,b,c
输出:
Two integers X and Y.
两个整数x和y
样例输入:
4 7 10
样例输出:
-1 2