<commit_before>class Solution {
public:
    vector<int> getRow(int rowIndex) {
        vector<int> ans;
        vector<int> *tmp;
        for(int i=0;i<=rowIndex;i++){
            for(int j=0;j<=i;j++){
                if(j==0 || j==i){
                    ans.push_back(1);
                }else{
                    ans.push_back(ans[j-1]+ans[j]);
                }
            }
            ans.erase(ans.begin(),ans.begin()+i);
        }
        return ans;
    }
};<commit_msg>Pascal's Triangle II<commit_after>class Solution {
public:
    vector<int> getRow(int rowIndex) {
        vector<int> ans;
        vector<int> *tmp;
        for(int i=0;i<=rowIndex;i++){
            for(int j=0;j<=i;j++){
                if(j==0 || j==i){
                    ans.push_back(1);
                }else{
                    ans.push_back(ans[j-1]+ans[j]);
                }
            }
            ans.erase(ans.begin(),ans.begin()+i);
        }
        return ans;
    }
}; 
{'fraction_non_alphanumeric': 0.16769547325102882, 'fraction_numerical': 0.0102880658436214, 'mean_word_length': 1.3277511961722488, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '266933', 'n_tokens_mistral': 333, 'n_tokens_neox': 322, 'n_words': 46}