Live2d Test Env
摘要: Queues and Priority Queues are data structures which are known to most computer scientists. The Queue occurs often in our daily life. There are many p 阅读全文
posted @ 2017-10-28 22:20 nimphy 阅读(187) 评论(0) 推荐(0) 编辑
摘要: A为一个方阵,则Tr A表示A的迹(就是主对角线上各项的和),现要求Tr(A^k)%9973。 Input数据的第一行是一个T,表示有T组数据。 每组数据的第一行有n(2 <= n <= 10)和k(2 <= k < 10^9)两个数据。接下来有n行,每行有n个数据,每个数据的范围是[0,9],表示 阅读全文
posted @ 2017-10-28 13:10 nimphy 阅读(257) 评论(0) 推荐(0) 编辑