Codeforces_327_C】的更多相关文章

http://codeforces.com/problemset/problem/327/C 等比求和相加,有mod的出现,所以要算逆元. #include<iostream> #include<cstring> #include<cstdio> #include<algorithm> #define LL long long #define MOD 1000000007 using namespace std; ]; int k; LL p_mod(LL…