#include <iostream> #include <algorithm> #include <string> #define MOD 1000000007 using namespace std; long long quick_pow(long long a, long long b, long long c){ ; a = a%c; ){ == ){ ans = (ans*a) % c; } b = b / ; a = (a*a) % c; } return…
题目大意:给出n,求1~n所有数的乘法逆元. 乘法逆元的概念是:如果b*rev(b)≡1 (mod p),p与b互质,则rev(b)就是b的模p乘法逆元.乘法逆元往往用于除法取模. 具体操作详见http://www.cnblogs.com/headboy2002/p/8845986.html #include <cstdio> using namespace std; int exgcd(int a, int b, int &x, int &y) { if (!b) { x =…
AC actual cost 实际成本 ACWP actual cost of work performed 已完工作实际成本 BAC budget at completion 完工预算 BCWP budgeted cost of work performed 已完工作预算成本 BCWS budgeted cost of work scheduled 计划工作预算成本 CCB change control board 变更控制委员会 COQ cost of quality 质量成本 CPAF c…