We know, 10^8 operations takes 1 sec, The time complexity of the given code is O(n^3). And since, here n = 1000, time taken would be 1000^3 = (10^3)^3 = 10^9 >10^8. Therefore, it will take slightly more than 1 sec but less than 1 min. Thus, the ans is option (ii)
Is my explanation somewhat right ??