func_code_string: #include <bits/stdc++.h>   using namespace std;   const long long N = 2e3 + 5, mod = 998244353, inf = 1e18 + 7;   long long dp[N][N];   signed main() {     ios_base::sync_with_stdio(0);     cin.tie(0);     cout.tie(0);     long long n, m, k;     cin >> n >> m >> k;     for (long long i = 0; i <= n; i++) {       dp[i][0] = m;     }     for (long long i = 2; i <= n; i++) {       for (long long j = 1; j <= k; j++) {         dp[i][j] = (dp[i - 1][j - 1] * (m - 1)) % mod;         dp[i][j] = (dp[i][j] + dp[i - 1][j]) % mod;       }     }     cout << dp[n][k];   }   