fea(cf938): fix g tle

This commit is contained in:
Barrett Ruth 2025-02-16 19:45:57 -05:00
parent 90c9c70260
commit 3985e732d4
2 changed files with 2 additions and 1 deletions

View file

@ -193,6 +193,7 @@ void solve() {
auto DP = [&](int factor) -> bool {
for (int i = 0; i < sz<int>(dp); ++i)
dp[i].assign(m, false);
dp[0][0] = grid[0][0] % factor == 0;
for (int i = 0; i < n; ++i) {

View file

@ -3,4 +3,4 @@
1
[code]: 0
[time]: 11.7426 ms
[time]: 11.7965 ms