Ensure that you are logged in and have the required permissions to access the test.
A server error has occurred. Please refresh the page or try after some time.
An error has occurred. Please refresh the page or try after some time.
3.4
An array B is called balanced if parity(sum(B))=parity(lcm(B)). Given an array A of size N, find the count of balanced sub-arrays of A.
As of friendly reminder,
Input Format:
Output Format:
Constraints:
A password reset link will be sent to the following email id
?