I hava an array of size at max 100000.
I need find all subarrays whose GCD is x .
How can I do it efficiently ? Please help ..
Just a Problem ...
I hava an array of size at max 100000.
I need find all subarrays whose GCD is x .
How can I do it efficiently ? Please help ..