<commit_before>package leetcode;

/**
 * https://leetcode.com/problems/count-number-of-nice-subarrays/
 */
public class Problem1248 {
    public int numberOfSubarrays(int[] nums, int k) {
        // TODO
        return 0;
    }

    public static void main(String[] args) {
        Problem1248 prob = new Problem1248();
        System.out.println(prob.numberOfSubarrays(new int[]{1,1,2,1,1}, 3)); // 2
        System.out.println(prob.numberOfSubarrays(new int[]{2,4,6}, 1)); // 0
        System.out.println(prob.numberOfSubarrays(new int[]{2,2,2,1,2,2,1,2,2,2}, 2)); // 16
        System.out.println(prob.numberOfSubarrays(new int[]{2,2,2,1,2,2,1,2,2,2,1,2,2}, 2)); // 25
    }
}<commit_msg>Update problem 1248<commit_after>package leetcode;

/**
 * https://leetcode.com/problems/count-number-of-nice-subarrays/
 */
public class Problem1248 {
    public int numberOfSubarrays(int[] nums, int k) {
        // TODO
        return 0;
    }

    public static void main(String[] args) {
        Problem1248 prob = new Problem1248();
        System.out.println(prob.numberOfSubarrays(new int[]{1,1,2,1,1}, 3)); // 2
        System.out.println(prob.numberOfSubarrays(new int[]{2,4,6}, 1)); // 0
        System.out.println(prob.numberOfSubarrays(new int[]{2,2,2,1,2,2,1,2,2,2}, 2)); // 16
        System.out.println(prob.numberOfSubarrays(new int[]{2,2,2,1,2,2,1,2,2,2,1,2,2}, 2)); // 25
        System.out.println(prob.numberOfSubarrays(new int[]{2,2,2,1,2,2,1,2,2,2,1,2,2,2}, 2)); // 28
    }
}
{'fraction_non_alphanumeric': 0.19341840161182, 'fraction_numerical': 0.08663532572196105, 'mean_word_length': 3.2693409742120343, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '6331325', 'n_tokens_mistral': 627, 'n_tokens_neox': 568, 'n_words': 86}