<commit_before>class Solution {
public:
    int connectTwoGroups(vector<vector<int>>& cost) {
        constexpr int kInf = 1e9;
        const int m = cost.size();
        const int n = cost[0].size();
        // dp[i][s] := min cost to connect first i points in group1
        // and points (bitmask s) int group2.
        vector<vector<int>> dp(m + 1, vector<int>(1 << n, kInf));
        dp[0][0] = 0;
        for (int i = 0; i < m; ++i)
            for (int j = 0; j < n; ++j)
                for (int s = 0; s < 1 << n; ++ s)
                    dp[i + 1][s | (1 << j)] = min({dp[i + 1][s | (1 << j)],
                                                   dp[i + 1][s] + cost[i][j],
                                                   dp[i][s] + cost[i][j]});
        return dp[m].back();
    }
};<commit_msg>fix the comment typo of MinimumCosttoConnectTwoGroupsofPoints.cpp<commit_after>class Solution {
public:
    int connectTwoGroups(vector<vector<int>>& cost) {
        constexpr int kInf = 1e9;
        const int m = cost.size();
        const int n = cost[0].size();
        // dp[i][s] := min cost to connect first i points in group1
        // and points (bitmask s) in group2.
        vector<vector<int>> dp(m + 1, vector<int>(1 << n, kInf));
        dp[0][0] = 0;
        for (int i = 0; i < m; ++i)
            for (int j = 0; j < n; ++j)
                for (int s = 0; s < 1 << n; ++ s)
                    dp[i + 1][s | (1 << j)] = min({dp[i + 1][s | (1 << j)],
                                                   dp[i + 1][s] + cost[i][j],
                                                   dp[i][s] + cost[i][j]});
        return dp[m].back();
    }
};
{'fraction_non_alphanumeric': 0.17336532693461307, 'fraction_numerical': 0.022795440911817635, 'mean_word_length': 1.3794579172610557, 'pattern_counts': {'":': 0, '<': 35, '<?xml version=': 0, '>': 13, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 8, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3308577', 'n_tokens_mistral': 566, 'n_tokens_neox': 538, 'n_words': 163}