Like finding sum of each possible subarray, Finding sum of max of each subarray, Finding sum of product of each possible pair in the array, etc.↵
↵
They usually involve using modulo as well. Thanks in advance for the help!↵
↵
So far I've just been googling "codeforces over all subarrays"
↵
They usually involve using modulo as well. Thanks in advance for the help!↵
↵
So far I've just been googling "codeforces over all subarrays"