跳到正文

题解

题目 P3421

存档题解 1 篇按获赞排序

在洛谷打开

题解

  1. 0 赞

    P3421 题解

    因为LATEX挂了,所以重新交一遍 分析 我们设原向量为(a_1, b_1),(a_2, b_2)。 设新向量为(a_3, b_3),(0, a_4) therefore a_3=gcd(a_1,a_2) therefore a_1x + a_2y = a_3 therefore…