text: Function to return the count of numbers which are divisible by both A and B in the range [ 1 , N ] in constant time
code: ll int countOfNum ( ll int n , ll int a , ll int b ) { ll int cnt_of_a , cnt_of_b , cnt_of_ab , sum ;