library
library copied to clipboard
拡張GCDのあといい感じの x, y を求めるやつ
for given a, b, c, enumerate (x, y) (x, y >= 0) such that ax + by = c が一般的?
7ペナ おめでとう https://atcoder.jp/contests/arc139/tasks/arc139_b