牛客网Beautiful Trees Cutting(快速幂+逆元+费马小定理)||(快速幂+等比数列求和)

连接: https://www.nowcoder.com/acm/contest/106/B 来源:牛客网 时间限制:C/C++ 1秒,其余语言2秒 空间限制:C/C++ 32768K,其余语言65536K 64bit IO Format: %lld 题目描述 It’s universally acknowledged that there’re innumerable trees in the
相关文章
相关标签/搜索