<commit_before><commit_msg>Create sol.js<commit_after>/**
 * @param {number} n
 * @return {number}
 */
var totalNQueens = function(n) {
    let ans = 0;
    function put (i, col, l, r) {
        if (i == n) return ans++;
        let f = 1;
        for (let p = 0; p < n; ++p) {
            if ((f & col) == 0 &&
                ((1 << (n - p - 1 + i)) & l) == 0 &&
                ((f << i) & r) == 0) {
                    put(
                        i + 1, 
                        col + f, 
                        (1 << (n - p - 1 + i)) + l,
                        (f << i) + r
                    );
                }
            f <<= 1;
        }
    }
    put(0, 0, 0, 0);
    return ans;
};
{'fraction_non_alphanumeric': 0.1768901569186876, 'fraction_numerical': 0.02282453637660485, 'mean_word_length': 0.828125, 'pattern_counts': {'":': 0, '<': 14, '<?xml version=': 0, '>': 3, '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': '6117006', 'n_tokens_mistral': 254, 'n_tokens_neox': 229, 'n_words': 71}