From 21a358845c166d5a7de2bd909ba6499654c862c3 Mon Sep 17 00:00:00 2001 From: hanyixuanten <105723997+hanyixuanten@users.noreply.github.com> Date: Tue, 13 Oct 2026 19:05:57 +0800 Subject: [PATCH] modified: P1962.cpp --- P1962.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/P1962.cpp b/P1962.cpp index f001145..31522d8 100644 --- a/P1962.cpp +++ b/P1962.cpp @@ -6,11 +6,9 @@ const long long MOD = 1000000007LL; struct Mat { long long a[105][105]; int n, m; - Mat(int _n = 0, int _m = 0) : n(_n), m(_m) { memset(a, 0, sizeof(a)); } - void operator*=(const Mat &b) { if (m != b.n) { cerr << "矩阵维度不匹配" << endl; @@ -56,7 +54,6 @@ int main() { } Mat base1(1, 2), base2(2, 2); - base1.a[1][1] = 1; base1.a[1][2] = 1; base2.a[1][1] = 1;