根据题意 ax+by=cax + by = cax+by=c
问 是否可以列出
by≡c(mod a)by ≡ c (\mod a)by≡c(moda)
或者
ax≡c(mod b)ax ≡ c (\mod b)ax≡c(modb)
然后对不定方程进行求解(一个个试a或b的可能值,直到找到正确解)