Driver Code
if __name__ == ' _ _ main _ _ ' : NEW_LINE INDENT arr = [ 2 , 4 , 5 , 6 , 9 ] NEW_LINE N = len ( arr ) NEW_LINE Q = 3 NEW_LINE Query = [ [ 0 , 2 ] , [ 1 , 3 ] , [ 1 , 4 ] ] NEW_LINE OddDivisorsSum ( N , Q , arr , Query ) NEW_LINE DEDENT