摘要:
忙碌的一天~ 突然发现校园的景色挺美,洋溢着夏天的气息,一片生机盎然~ 想念翠园的葡萄了~ 阅读全文
摘要:
题意:A为一个方阵,则Tr A表示A的迹(就是主对角线上各项的和),现要求Tr(A^k)%9973。思路:基础矩阵题。题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=1575View Code 1 #include <cstdio> 2 #include <cstring> 3 #include <cmath> 4 #include <string> 5 #include <algorithm> 6 #include <iostream> 7 using namespace s 阅读全文