• UVA 10303 - How Many Trees?(数论 卡特兰数 高精度)

    时间:2022-05-23 13:58:34

    Problem DHow Many Trees?Input: standard inputOutput: standard outputMemory Limit: 32 MBA binary search tree is a binary tree with root k such that any...

  • 【BZOJ1876】[SDOI2009]SuperGCD(数论,高精度)

    时间:2022-05-05 21:17:27

    【BZOJ1876】[SDOI2009]SuperGCD(数论,高精度)题面BZOJ洛谷题解那些说数论只会\(gcd\)的人呢?我现在连\(gcd\)都不会,谁来教教我啊?显然\(gcd\)除了辗转相除之外还可以辗转相减,然而辗转相减对于这题而言显然还不够优秀。我们这样子来做。如果当前\(a,b\)...