Help me in solving TIMEMCQ3 problem

My issue

how to analyze time complexity

Learning course: Time complexity using C++
Problem Link: CodeChef: Practical coding for everyone

@sairamdurga290
first loop will run from 1 to n/10 which can be written as n.
and inside loop will run from 1 to 2*m which can be written as m .
so both loops are linear.
so the time complexity O(nm).