05 2018 档案

摘要:An Arc of Dream is a curve defined by following function: where a 0 = A0 a i = a i-1*AX+AY b 0 = B0 b i = b i-1*BX+BY What is the value of AoD(N) modu 阅读全文
posted @ 2018-05-03 20:59 TTTCoder 阅读(237) 评论(0) 推荐(0)
摘要:1 #include 2 #include 3 #include 4 #include 5 #define LL long long 6 using namespace std; 7 const int N = 10;//矩阵大小 8 int mod; 9 int k;//矩阵的幂 10 int a[15]; 11 12 struct Matrix 13 { 14 ... 阅读全文
posted @ 2018-05-02 15:35 TTTCoder 阅读(207) 评论(0) 推荐(0)